Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",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.001112/0.001112, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.486/1.486, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008467/0.0008466, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.766e-05, allocations: 4 kB / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 47.57 MB / 370.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3675/0.4733, allocations: 110.1 MB / 480.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.4736, allocations: 84.88 kB / 480.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4029/0.8765, allocations: 65.19 MB / 0.5327 GB, free: 91.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.8766, allocations: 1.969 kB / 0.5327 GB, free: 91.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004884/0.8771, allocations: 86.91 kB / 0.5328 GB, free: 91.41 MB / 410.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.01066/0.8878, allocations: 3.255 MB / 0.536 GB, free: 90.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.8878, allocations: 9.312 kB / 0.536 GB, free: 90.51 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001317/0.8892, allocations: 442.2 kB / 0.5364 GB, free: 90.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.8909, allocations: 447.2 kB / 0.5368 GB, free: 90.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005689/0.8966, allocations: 2.381 MB / 0.5392 GB, free: 89.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002522/0.8968, allocations: 228.1 kB / 0.5394 GB, free: 89.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005603/0.8974, allocations: 304.7 kB / 0.5397 GB, free: 89.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008185/0.9056, allocations: 4.238 MB / 0.5438 GB, free: 89.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-05/0.9057, allocations: 16.47 kB / 0.5438 GB, free: 89.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003596/0.9061, allocations: 131 kB / 0.544 GB, free: 89.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001611/0.9062, allocations: 126.2 kB / 0.5441 GB, free: 89.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006646/0.9129, allocations: 3.482 MB / 0.5475 GB, free: 89.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0213/0.9342, allocations: 13.6 MB / 0.5608 GB, free: 85.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/0.9371, allocations: 2.896 MB / 0.5636 GB, free: 84.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002046/0.9392, allocations: 1.579 MB / 0.5651 GB, free: 83.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003168/0.9395, allocations: 146.4 kB / 0.5653 GB, free: 83.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.9395, allocations: 59.88 kB / 0.5653 GB, free: 83.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=167): time 3.406e-06/0.9396, allocations: 0 / 0.5653 GB, free: 83.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=183): time 0.01431/0.9539, allocations: 7.307 MB / 0.5725 GB, free: 80.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.9539, allocations: 72.34 kB / 0.5725 GB, free: 80.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003182/0.9571, allocations: 2.049 MB / 0.5745 GB, free: 79.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002096/0.9574, allocations: 57.61 kB / 0.5746 GB, free: 79.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008465/0.9582, allocations: 1.46 MB / 0.576 GB, free: 78.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004385/0.9587, allocations: 0.6042 MB / 0.5766 GB, free: 78.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.9588, allocations: 38.81 kB / 0.5766 GB, free: 78.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.9589, allocations: 382.1 kB / 0.577 GB, free: 77.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.9603, allocations: 1.089 MB / 0.5781 GB, free: 77.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.9618, allocations: 1.481 MB / 0.5795 GB, free: 76.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.9634, allocations: 1.293 MB / 0.5808 GB, free: 76.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.9634, allocations: 3.656 kB / 0.5808 GB, free: 76.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.005053/0.9685, allocations: 3.503 MB / 0.5842 GB, free: 74.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.9685, allocations: 16.72 kB / 0.5842 GB, free: 74.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.9685, allocations: 12.53 kB / 0.5842 GB, free: 74.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001769/0.9703, allocations: 0.8183 MB / 0.585 GB, free: 74.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/0.972, allocations: 458.8 kB / 0.5855 GB, free: 74.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008623/0.9807, allocations: 10.82 MB / 0.596 GB, free: 66.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/0.9831, allocations: 129 kB / 0.5962 GB, free: 66.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/0.9834, allocations: 77.45 kB / 0.5962 GB, free: 66.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (214): * Single equations (assignments): 207 * 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%) 5,(2,100.0%) 5,(2,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004174/0.9838, allocations: 225.6 kB / 0.5964 GB, free: 65.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004035/0.9842, allocations: 244.7 kB / 0.5967 GB, free: 65.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004934/0.9891, allocations: 3.281 MB / 0.5999 GB, free: 64.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.9892, allocations: 22.55 kB / 0.5999 GB, free: 64.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.9892, allocations: 6.406 kB / 0.5999 GB, free: 64.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.9892, allocations: 6.703 kB / 0.5999 GB, free: 64.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/1, allocations: 6.955 MB / 0.6067 GB, free: 61.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/1, allocations: 3.844 kB / 0.6067 GB, free: 61.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/1.001, allocations: 311.2 kB / 0.607 GB, free: 61.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002212/1.004, allocations: 0.9192 MB / 0.6079 GB, free: 61.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/1.004, allocations: 40.84 kB / 0.6079 GB, free: 61.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/1.014, allocations: 13.47 MB / 0.6211 GB, free: 47.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.014, allocations: 7.969 kB / 0.6211 GB, free: 47.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007358/1.022, allocations: 4.996 MB / 0.626 GB, free: 43.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001806/1.023, allocations: 0.5718 MB / 0.6265 GB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008473/1.024, allocations: 42.41 kB / 0.6266 GB, free: 42.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001912/1.026, allocations: 126.6 kB / 0.6267 GB, free: 42.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004477/1.027, allocations: 168.5 kB / 0.6269 GB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/1.027, allocations: 51.23 kB / 0.6269 GB, free: 42.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002888/1.03, allocations: 1.575 MB / 0.6285 GB, free: 41.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.03, allocations: 0 / 0.6285 GB, free: 41.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003366/1.033, allocations: 0.7423 MB / 0.6292 GB, free: 40.47 MB / 410.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.007722/1.041, allocations: 6.384 MB / 0.6354 GB, free: 34.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004692/1.046, allocations: 3.529 MB / 0.6389 GB, free: 31.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.046, allocations: 0 / 0.6389 GB, free: 31.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003046/1.049, allocations: 2.489 MB / 0.6413 GB, free: 29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003948/1.053, allocations: 0.681 MB / 0.642 GB, free: 28.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/1.069, allocations: 6.554 MB / 0.6484 GB, free: 22.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002795/1.072, allocations: 2.584 MB / 0.6509 GB, free: 20.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002272/1.074, allocations: 0.5729 MB / 0.6514 GB, free: 20.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001659/1.076, allocations: 1.242 MB / 0.6527 GB, free: 19.23 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/1.076, allocations: 0 / 0.6527 GB, free: 19.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3186/1.395, allocations: 67.96 MB / 0.719 GB, free: 94.33 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/1.395, allocations: 207.3 kB / 0.7192 GB, free: 94.11 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.891/5.286, allocations: 0 / 0.7192 GB, free: 94.11 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat does not exist to compare? outputFormat=mat