Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001022, allocations: 171.6 kB / 14.1 MB, free: 1.219 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.2 MB / 219.8 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007373/0.0007373, allocations: 82.72 kB / 268 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.88e-05/3.882e-05, allocations: 8 kB / 322.6 MB, free: 17.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0861/0.08616, allocations: 47.57 MB / 370.1 MB, free: 1.59 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3482/0.4344, allocations: 130.7 MB / 0.4891 GB, free: 11.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/0.4347, allocations: 103.9 kB / 0.4892 GB, free: 11.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543/1.978, allocations: 379.5 MB / 0.8598 GB, free: 32.86 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.384e-06/1.978, allocations: 0 / 0.8598 GB, free: 32.86 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0008029/1.979, allocations: 241.2 kB / 0.86 GB, free: 32.86 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.03823/2.017, allocations: 10.27 MB / 0.8701 GB, free: 30.57 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/2.017, allocations: 11.31 kB / 0.8701 GB, free: 30.57 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006557/2.024, allocations: 1.804 MB / 0.8718 GB, free: 30.43 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03534/2.059, allocations: 6.284 MB / 0.878 GB, free: 29.82 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0206/2.08, allocations: 8.747 MB / 0.8865 GB, free: 28.79 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009687/2.081, allocations: 0.8031 MB / 0.8873 GB, free: 28.76 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004683/2.085, allocations: 1.032 MB / 0.8883 GB, free: 28.75 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03974/2.125, allocations: 19.02 MB / 0.9069 GB, free: 27.48 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002984/2.125, allocations: 16.25 kB / 0.9069 GB, free: 27.48 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001969/2.127, allocations: 455 kB / 0.9073 GB, free: 27.48 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007213/2.128, allocations: 0.8201 MB / 0.9081 GB, free: 27.46 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03612/2.164, allocations: 17.83 MB / 0.9255 GB, free: 27.36 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1068/2.271, allocations: 61.28 MB / 0.9854 GB, free: 0.7891 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04249/2.314, allocations: 26.29 MB / 1.011 GB, free: 13.08 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01416/2.328, allocations: 8.321 MB / 1.019 GB, free: 5.469 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.327/2.655, allocations: 26.58 MB / 1.045 GB, free: 62.26 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.253e-05/2.655, allocations: 113 kB / 1.045 GB, free: 62.21 MB / 474.8 MB Notification: Performance of pre-optimization done (n=832): time 8.807e-06/2.655, allocations: 1.312 kB / 1.045 GB, free: 62.21 MB / 474.8 MB Notification: Performance of matching and sorting (n=838): time 0.05123/2.706, allocations: 27.89 MB / 1.072 GB, free: 60.46 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/2.706, allocations: 123.1 kB / 1.073 GB, free: 60.39 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005256/2.712, allocations: 2.671 MB / 1.075 GB, free: 60.14 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001654/2.713, allocations: 133.2 kB / 1.075 GB, free: 60.11 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002266/2.716, allocations: 3.868 MB / 1.079 GB, free: 58.3 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003363/2.719, allocations: 2.755 MB / 1.082 GB, free: 56.51 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006382/2.72, allocations: 140.9 kB / 1.082 GB, free: 56.51 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0005423/2.72, allocations: 0.6371 MB / 1.083 GB, free: 56.19 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007926/2.728, allocations: 5.489 MB / 1.088 GB, free: 56.17 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009585/2.738, allocations: 6.946 MB / 1.095 GB, free: 54.71 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009812/2.748, allocations: 6.654 MB / 1.101 GB, free: 53.54 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.869e-05/2.748, allocations: 7.688 kB / 1.101 GB, free: 53.54 MB / 474.8 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.03222/2.78, allocations: 16.08 MB / 1.117 GB, free: 47.13 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.523e-05/2.78, allocations: 21.78 kB / 1.117 GB, free: 47.13 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001024/2.78, allocations: 39.16 kB / 1.117 GB, free: 47.13 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008138/2.788, allocations: 4.989 MB / 1.122 GB, free: 45.72 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005917/2.794, allocations: 1.339 MB / 1.123 GB, free: 45.68 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/2.806, allocations: 12.33 MB / 1.135 GB, free: 38.6 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006799/2.813, allocations: 432.1 kB / 1.136 GB, free: 38.48 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001863/2.815, allocations: 318 kB / 1.136 GB, free: 38.41 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (704): * Single equations (assignments): 638 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,18 115} Notification: Performance of prepare postOptimizeDAE: time 0.001483/2.816, allocations: 495.7 kB / 1.136 GB, free: 38.07 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001627/2.818, allocations: 0.4942 MB / 1.137 GB, free: 37.81 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02438/2.842, allocations: 15.92 MB / 1.152 GB, free: 27.87 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02086/2.863, allocations: 14.11 MB / 1.166 GB, free: 15.43 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.945e-05/2.863, allocations: 3.953 kB / 1.166 GB, free: 15.42 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-05/2.863, allocations: 45.64 kB / 1.166 GB, free: 15.42 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.369/3.232, allocations: 31.51 MB / 1.197 GB, free: 72.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.276e-05/3.232, allocations: 3.891 kB / 1.197 GB, free: 72.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005528/3.238, allocations: 1.019 MB / 1.198 GB, free: 72.4 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01143/3.249, allocations: 4.801 MB / 1.203 GB, free: 72.32 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002226/3.252, allocations: 180.2 kB / 1.203 GB, free: 72.32 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01458/3.266, allocations: 12.15 MB / 1.215 GB, free: 69.17 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/3.266, allocations: 1.156 kB / 1.215 GB, free: 69.17 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03738/3.304, allocations: 23.54 MB / 1.238 GB, free: 68.65 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006352/3.31, allocations: 1.801 MB / 1.239 GB, free: 68.55 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003192/3.313, allocations: 118.1 kB / 1.24 GB, free: 68.55 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005582/3.319, allocations: 374.9 kB / 1.24 GB, free: 68.55 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001875/3.321, allocations: 0.5887 MB / 1.241 GB, free: 68.55 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006396/3.322, allocations: 226.9 kB / 1.241 GB, free: 68.55 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.00347/3.325, allocations: 2.02 MB / 1.243 GB, free: 68.39 MB / 490.8 MB Notification: Performance of sort global known variables: time 3e-07/3.325, allocations: 0 / 1.243 GB, free: 68.39 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.009122/3.334, allocations: 1.99 MB / 1.245 GB, free: 68.39 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (538): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,17 116} Notification: Performance of Backend phase and start with SimCode phase: time 0.03806/3.372, allocations: 24.72 MB / 1.269 GB, free: 67.24 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02352/3.396, allocations: 13.42 MB / 1.282 GB, free: 62.88 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/3.396, allocations: 0 / 1.282 GB, free: 62.88 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01383/3.41, allocations: 6.985 MB / 1.289 GB, free: 60.16 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007187/3.417, allocations: 0.9697 MB / 1.29 GB, free: 59.88 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06453/3.482, allocations: 24.24 MB / 1.313 GB, free: 47.36 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01357/3.495, allocations: 7.375 MB / 1.321 GB, free: 41.82 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.008429/3.504, allocations: 1.845 MB / 1.322 GB, free: 40.58 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008782/3.512, allocations: 3.896 MB / 1.326 GB, free: 36.96 MB / 490.8 MB Notification: Performance of SimCode: time 1.353e-06/3.512, allocations: 0.7656 kB / 1.326 GB, free: 36.96 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5919/4.104, allocations: 198.1 MB / 1.52 GB, free: 9.977 MB / 490.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/4.105, allocations: 243.1 kB / 1.52 GB, free: 9.641 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.064/10.17, allocations: 3.953 kB / 1.52 GB, free: 9.637 MB / 490.8 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat does not exist to compare? outputFormat=mat