Running Isight build 5.22.1 date 2021-09-08 20:51:54[win64] Microsoft Windows 8 (build 9200), 64-bit
<2022-08-12 21:14:27.847>stderr: running the command: (193) %1 不是有效的 Win32 应用程序。
<2022-08-12 21:14:27.852>stderr:
<2022-08-12 21:14:27.853>stderr: F:\jiaoben\week4\week4script.py
<2022-08-12 21:14:27.854>Component "Optimization1.Simcode" failed execution.
There was output to the error file and "Fail on output to error file" was checked.
com.engineous.sdk.runtime.RtException: There was output to the error file and "Fail on output to error file" was checked.
at com.engineous.component.oscommand.OSCommand.execute(OSCommand.java:437)
at com.engineous.component.simcode.SimcodeWrapper.execute(SimcodeWrapper.java:106)
at com.engineous.system.station.CompRunner.executeComponent(CompRunner.java:2908)
at com.engineous.system.station.CompRunner.run(CompRunner.java:1381)
<2022-08-12 21:14:27.988>stderr: running the command: (193) %1 不是有效的 Win32 应用程序。
<2022-08-12 21:14:27.99>stderr:
<2022-08-12 21:14:27.991>stderr: F:\jiaoben\week4\week4script.py
<2022-08-12 21:14:28.003>Component "Optimization1.Simcode" failed execution.
There was output to the error file and "Fail on output to error file" was checked.
com.engineous.sdk.runtime.RtException: There was output to the error file and "Fail on output to error file" was checked.
at com.engineous.component.oscommand.OSCommand.execute(OSCommand.java:437)
at com.engineous.component.simcode.SimcodeWrapper.execute(SimcodeWrapper.java:106)
at com.engineous.system.station.CompRunner.executeComponent(CompRunner.java:2908)
at com.engineous.system.station.CompRunner.run(CompRunner.java:1381)
<2022-08-12 21:14:28.113>stderr: running the command: (193) %1 不是有效的 Win32 应用程序。
<2022-08-12 21:14:28.114>stderr:
<2022-08-12 21:14:28.115>stderr: F:\jiaoben\week4\week4script.py
<2022-08-12 21:14:28.127>Component "Optimization1.Simcode" failed execution.
There was output to the error file and "Fail on output to error file" was checked.
com.engineous.sdk.runtime.RtException: There was output to the error file and "Fail on output to error file" was checked.
at com.engineous.component.oscommand.OSCommand.execute(OSCommand.java:437)
at com.engineous.component.simcode.SimcodeWrapper.execute(SimcodeWrapper.java:106)
at com.engineous.system.station.CompRunner.executeComponent(CompRunner.java:2908)
at com.engineous.system.station.CompRunner.run(CompRunner.java:1381)
<2022-08-12 21:14:28.193>stderr: running the command: (193) %1 不是有效的 Win32 应用程序。
<2022-08-12 21:14:28.194>stderr:
<2022-08-12 21:14:28.195>stderr: F:\jiaoben\week4\week4script.py
<2022-08-12 21:14:28.207>Component "Optimization1.Simcode" failed execution.
There was output to the error file and "Fail on output to error file" was checked.
com.engineous.sdk.runtime.RtException: There was output to the error file and "Fail on output to error file" was checked.
at com.engineous.component.oscommand.OSCommand.execute(OSCommand.java:437)
at com.engineous.component.simcode.SimcodeWrapper.execute(SimcodeWrapper.java:106)
at com.engineous.system.station.CompRunner.executeComponent(CompRunner.java:2908)
at com.engineous.system.station.CompRunner.run(CompRunner.java:1381)
<2022-08-12 21:14:28.281>stderr: running the command: (193) %1 不是有效的 Win32 应用程序。
<2022-08-12 21:14:28.283>stderr:
<2022-08-12 21:14:28.284>stderr: F:\jiaoben\week4\week4script.py
<2022-08-12 21:14:28.293>Component "Optimization1.Simcode" failed execution.
There was output to the error file and "Fail on output to error file" was checked.
com.engineous.sdk.runtime.RtException: There was output to the error file and "Fail on output to error file" was checked.
at com.engineous.component.oscommand.OSCommand.execute(OSCommand.java:437)
at com.engineous.component.simcode.SimcodeWrapper.execute(SimcodeWrapper.java:106)
at com.engineous.system.station.CompRunner.executeComponent(CompRunner.java:2908)
at com.engineous.system.station.CompRunner.run(CompRunner.java:1381)
<2022-08-12 21:14:28.357>stderr: running the command: (193) %1 不是有效的 Win32 应用程序。
<2022-08-12 21:14:28.358>stderr:
<2022-08-12 21:14:28.359>stderr: F:\jiaoben\week4\week4script.py
<2022-08-12 21:14:28.369>Component "Optimization1.Simcode" failed execution.
There was output to the error file and "Fail on output to error file" was checked.
com.engineous.sdk.runtime.RtException: There was output to the error file and "Fail on output to error file" was checked.
at com.engineous.component.oscommand.OSCommand.execute(OSCommand.java:437)
at com.engineous.component.simcode.SimcodeWrapper.execute(SimcodeWrapper.java:106)
at com.engineous.system.station.CompRunner.executeComponent(CompRunner.java:2908)
at com.engineous.system.station.CompRunner.run(CompRunner.java:1381)
<2022-08-12 21:14:28.435>stderr: running the command: (193) %1 不是有效的 Win32 应用程序。
<2022-08-12 21:14:28.436>stderr:
<2022-08-12 21:14:28.437>stderr: F:\jiaoben\week4\week4script.py
<2022-08-12 21:14:28.448>Component "Optimization1.Simcode" failed execution.
There was output to the error file and "Fail on output to error file" was checked.
com.engineous.sdk.runtime.RtException: There was output to the error file and "Fail on output to error file" was checked.
at com.engineous.component.oscommand.OSCommand.execute(OSCommand.java:437)
at com.engineous.component.simcode.SimcodeWrapper.execute(SimcodeWrapper.java:106)
at com.engineous.system.station.CompRunner.executeComponent(CompRunner.java:2908)
at com.engineous.system.station.CompRunner.run(CompRunner.java:1381)
<2022-08-12 21:14:28.46>Component "Optimization1" failed execution.
Number of failed design evaluations exceeded specified maximum of 5
com.engineous.sdk.runtime.RtSubflowFailedException: Number of failed design evaluations exceeded specified maximum of 5
at com.engineous.frameworks.designdriver.plan.AbstractPlan.evaluateDesignPointSet(AbstractPlan.java:6130)
at com.engineous.frameworks.designdriver.plan.AbstractPlan.evaluateDesignPointSet(AbstractPlan.java:5976)
at com.engineous.frameworks.designdriver.plan.AbstractPlan.evaluateDesignPointSet(AbstractPlan.java:5935)
at com.engineous.frameworks.designdriver.utils.OptApi.evaluateDesignPointSet(OptApi.java:115)
at com.engineous.sdk.designdriver.techniques.AbstractOptimizationTechnique.evaluateDesignPointSet(AbstractOptimizationTechnique.java:2179)
at com.engineous.plugin.optimization.miga.MIGA.evaluateGeneration(MIGA.java:178)
at com.engineous.plugin.optimization.miga.MIGA.executeMIGA(Native Method)
at com.engineous.plugin.optimization.miga.MIGA.executeTechnique(MIGA.java:145)
at com.engineous.sdk.designdriver.techniques.AbstractOptimizationTechnique.execute(AbstractOptimizationTechnique.java:794)
at com.engineous.frameworks.designdriver.plan.OptimizationPlanImpl.executePlan(OptimizationPlanImpl.java:567)
at com.engineous.frameworks.designdriver.component.AbstractExecutor.execute(AbstractExecutor.java:210)
at com.engineous.component.optimization.OptimizationExecutor.execute(OptimizationExecutor.java:169)
at com.engineous.system.station.CompRunner.executeComponent(CompRunner.java:2908)
at com.engineous.system.station.CompRunner.run(CompRunner.java:1381)
原因:很可能是使用兼容性模式运行的缘故。后来换了个电脑就好了
原因:关掉create new folder后就可以了
需要
1.勾选允许创建子文件夹,并删空runtime dir(这个是在左侧有一个图标完成的)
2.在Optimization双击勾选批量计算的框
3.在Optimization右键找到属性,修改max batch
脚本中需要注意的是os.getcwd就是返回当前工作目录,即子文件夹,按照这个思路理解脚本,就能明白1.为何需要复制cae文件到子文件下,即加上os.getcwd的前缀,2.为何计算结果文件路径也要加上os.getcwd的前缀。