Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009557/0.0009557, allocations: 175.1 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 221.4 MB / 235.5 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000911/0.0009112, allocations: 84 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.676e-05/2.678e-05, allocations: 4 kB / 343.9 MB, free: 4.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09459/0.09463, allocations: 50.42 MB / 394.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3521/0.4468, allocations: 110.6 MB / 0.4931 GB, free: 8.785 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.4471, allocations: 83.95 kB / 0.4932 GB, free: 8.703 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4093/0.8564, allocations: 65.57 MB / 0.5573 GB, free: 97.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.8565, allocations: 0 / 0.5573 GB, free: 97.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004186/0.8569, allocations: 88.2 kB / 0.5573 GB, free: 97.56 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009733/0.8667, allocations: 3.276 MB / 0.5605 GB, free: 96.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.8667, allocations: 10.06 kB / 0.5606 GB, free: 96.38 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009713/0.8677, allocations: 436.7 kB / 0.561 GB, free: 96.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.8693, allocations: 441.7 kB / 0.5614 GB, free: 96.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005369/0.8747, allocations: 2.378 MB / 0.5637 GB, free: 95.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.8749, allocations: 229.5 kB / 0.5639 GB, free: 95.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005785/0.8755, allocations: 310.2 kB / 0.5642 GB, free: 95.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007752/0.8833, allocations: 4.24 MB / 0.5684 GB, free: 95.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.73e-05/0.8834, allocations: 11.78 kB / 0.5684 GB, free: 95.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003318/0.8837, allocations: 130.2 kB / 0.5685 GB, free: 95.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001529/0.8839, allocations: 125.3 kB / 0.5686 GB, free: 95.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006332/0.8902, allocations: 3.468 MB / 0.572 GB, free: 95.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02471/0.9149, allocations: 13.59 MB / 0.5853 GB, free: 89.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003881/0.9189, allocations: 2.886 MB / 0.5881 GB, free: 87.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002417/0.9213, allocations: 1.587 MB / 0.5897 GB, free: 87.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004223/0.9218, allocations: 141.9 kB / 0.5898 GB, free: 87.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/0.9218, allocations: 54.12 kB / 0.5898 GB, free: 86.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=167): time 4.829e-06/0.9219, allocations: 4 kB / 0.5898 GB, free: 86.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=183): time 0.0195/0.9414, allocations: 7.295 MB / 0.597 GB, free: 84.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.9415, allocations: 74.45 kB / 0.597 GB, free: 84.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004102/0.9456, allocations: 2.039 MB / 0.599 GB, free: 83.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002886/0.9459, allocations: 57.08 kB / 0.5991 GB, free: 83.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009891/0.9469, allocations: 1.465 MB / 0.6005 GB, free: 82.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005437/0.9474, allocations: 0.6081 MB / 0.6011 GB, free: 81.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.9475, allocations: 38.66 kB / 0.6011 GB, free: 81.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.9477, allocations: 388.7 kB / 0.6015 GB, free: 81.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.9493, allocations: 1.079 MB / 0.6026 GB, free: 80.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.9508, allocations: 1.486 MB / 0.604 GB, free: 79.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.9524, allocations: 1.291 MB / 0.6053 GB, free: 79.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.9524, allocations: 3.469 kB / 0.6053 GB, free: 79.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.00532/0.9577, allocations: 3.484 MB / 0.6087 GB, free: 78.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.9578, allocations: 7.312 kB / 0.6087 GB, free: 78.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.9578, allocations: 17.75 kB / 0.6087 GB, free: 78.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001832/0.9596, allocations: 0.8003 MB / 0.6095 GB, free: 77.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/0.9614, allocations: 463.2 kB / 0.6099 GB, free: 77.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007749/0.9692, allocations: 10.26 MB / 0.62 GB, free: 69.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002493/0.9717, allocations: 130.8 kB / 0.6201 GB, free: 69.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000449/0.9722, allocations: 77.62 kB / 0.6202 GB, free: 69.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007329/0.9729, allocations: 229.9 kB / 0.6204 GB, free: 69.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008748/0.9738, allocations: 243.6 kB / 0.6206 GB, free: 69.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005421/0.9792, allocations: 3.256 MB / 0.6238 GB, free: 68.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.9793, allocations: 22.28 kB / 0.6238 GB, free: 68.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.9793, allocations: 7.094 kB / 0.6238 GB, free: 68.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.9793, allocations: 6.375 kB / 0.6238 GB, free: 68.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/0.9917, allocations: 6.809 MB / 0.6305 GB, free: 63.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.9917, allocations: 6.531 kB / 0.6305 GB, free: 63.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.993, allocations: 317.4 kB / 0.6308 GB, free: 63.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002139/0.9952, allocations: 0.9165 MB / 0.6317 GB, free: 62.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/0.9953, allocations: 43.52 kB / 0.6317 GB, free: 62.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009497/1.005, allocations: 13.47 MB / 0.6449 GB, free: 48.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.005, allocations: 4 kB / 0.6449 GB, free: 48.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007155/1.012, allocations: 4.982 MB / 0.6497 GB, free: 44.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002009/1.014, allocations: 0.578 MB / 0.6503 GB, free: 43.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/1.015, allocations: 39.52 kB / 0.6503 GB, free: 43.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001972/1.017, allocations: 131.9 kB / 0.6505 GB, free: 43.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004355/1.018, allocations: 159.5 kB / 0.6506 GB, free: 43.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/1.018, allocations: 53.48 kB / 0.6507 GB, free: 43.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002657/1.02, allocations: 1.571 MB / 0.6522 GB, free: 42.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-07/1.02, allocations: 4 kB / 0.6522 GB, free: 42.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002833/1.023, allocations: 0.7419 MB / 0.6529 GB, free: 41.44 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006977/1.03, allocations: 6.388 MB / 0.6592 GB, free: 35.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004421/1.035, allocations: 3.511 MB / 0.6626 GB, free: 32.33 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.035, allocations: 0 / 0.6626 GB, free: 32.33 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00291/1.038, allocations: 2.49 MB / 0.665 GB, free: 29.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003757/1.041, allocations: 0.6768 MB / 0.6657 GB, free: 29.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/1.054, allocations: 6.553 MB / 0.6721 GB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001884/1.056, allocations: 2.582 MB / 0.6746 GB, free: 21.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001867/1.058, allocations: 0.585 MB / 0.6752 GB, free: 21.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/1.059, allocations: 1.241 MB / 0.6764 GB, free: 19.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/1.059, allocations: 0 / 0.6764 GB, free: 19.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3472/1.407, allocations: 67.83 MB / 0.7426 GB, free: 100.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/1.407, allocations: 188.7 kB / 0.7428 GB, free: 100.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.599/5.005, allocations: 0 / 0.7428 GB, free: 100.5 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat does not exist to compare? outputFormat=mat