Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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.AIMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",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.001437/0.001436, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.3 MB / 214.4 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009413/0.0009415, allocations: 94.22 kB / 262.4 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.964e-05/1.968e-05, allocations: 4 kB / 315.6 MB, free: 22.6 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.09561, allocations: 47.58 MB / 363.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3483/0.444, allocations: 103.2 MB / 466.4 MB, free: 8.441 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.4443, allocations: 86.02 kB / 466.5 MB, free: 8.398 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1152/0.5595, allocations: 43.97 MB / 0.4985 GB, free: 1.918 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5596, allocations: 0 / 0.4985 GB, free: 1.918 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001775/0.5598, allocations: 55.94 kB / 0.4986 GB, free: 1.863 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005385/0.5652, allocations: 2.189 MB / 0.5007 GB, free: 15.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.5652, allocations: 8.031 kB / 0.5007 GB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.5663, allocations: 288.9 kB / 0.501 GB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003005/0.5693, allocations: 1.542 MB / 0.5025 GB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.242e-05/0.5694, allocations: 64 kB / 0.5025 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002737/0.5697, allocations: 127.9 kB / 0.5027 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003625/0.5733, allocations: 2.019 MB / 0.5046 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004061/0.5774, allocations: 2.356 MB / 0.5069 GB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-05/0.5775, allocations: 3.984 kB / 0.5069 GB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/0.5777, allocations: 4 kB / 0.5069 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.5778, allocations: 87.94 kB / 0.507 GB, free: 8.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/0.5912, allocations: 8.065 MB / 0.5149 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.5933, allocations: 1.718 MB / 0.5166 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.5945, allocations: 0.86 MB / 0.5174 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002981/0.5948, allocations: 135.1 kB / 0.5175 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.5949, allocations: 47.88 kB / 0.5176 GB, free: 13.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 5.31e-06/0.5949, allocations: 3.938 kB / 0.5176 GB, free: 13.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=123): time 0.00815/0.6031, allocations: 4.361 MB / 0.5219 GB, free: 9.316 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.292e-05/0.6032, allocations: 68.72 kB / 0.5219 GB, free: 9.238 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.6049, allocations: 1.092 MB / 0.523 GB, free: 8.141 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-05/0.605, allocations: 25.7 kB / 0.523 GB, free: 8.109 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006972/0.6057, allocations: 0.9825 MB / 0.524 GB, free: 7.113 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003485/0.606, allocations: 417.8 kB / 0.5244 GB, free: 6.699 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.6061, allocations: 0 / 0.5244 GB, free: 6.699 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6062, allocations: 353.9 kB / 0.5247 GB, free: 6.348 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009371/0.6072, allocations: 0.6755 MB / 0.5254 GB, free: 5.672 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.6083, allocations: 0.9642 MB / 0.5263 GB, free: 4.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.6095, allocations: 0.8221 MB / 0.5271 GB, free: 3.766 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.6095, allocations: 0 / 0.5271 GB, free: 3.766 MB / 410.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00346/0.613, allocations: 2.131 MB / 0.5292 GB, free: 1.613 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.613, allocations: 8.344 kB / 0.5292 GB, free: 1.605 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.613, allocations: 12 kB / 0.5292 GB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009533/0.614, allocations: 407.1 kB / 0.5296 GB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.6154, allocations: 343.5 kB / 0.5299 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2287/0.8441, allocations: 4.41 MB / 0.5342 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.8456, allocations: 63.73 kB / 0.5343 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002756/0.8459, allocations: 53.89 kB / 0.5343 GB, free: 104.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003684/0.8462, allocations: 138.4 kB / 0.5345 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00472/0.851, allocations: 1.873 MB / 0.5363 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006427/0.8517, allocations: 150.8 kB / 0.5365 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004073/0.8557, allocations: 1.989 MB / 0.5384 GB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.8558, allocations: 17.08 kB / 0.5384 GB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.041e-05/0.8558, allocations: 6.688 kB / 0.5384 GB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.8558, allocations: 8.203 kB / 0.5384 GB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.8666, allocations: 4.152 MB / 0.5425 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.188e-06/0.8666, allocations: 3.406 kB / 0.5425 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.8677, allocations: 234.8 kB / 0.5427 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/0.8692, allocations: 460.1 kB / 0.5431 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.875e-05/0.8693, allocations: 18.58 kB / 0.5432 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005585/0.8749, allocations: 5.904 MB / 0.5489 GB, free: 99.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.178e-06/0.8749, allocations: 2.844 kB / 0.5489 GB, free: 99.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004614/0.8795, allocations: 3.159 MB / 0.552 GB, free: 99.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008343/0.8804, allocations: 382.1 kB / 0.5524 GB, free: 99.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.8806, allocations: 14.11 kB / 0.5524 GB, free: 99.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000783/0.8814, allocations: 63.19 kB / 0.5525 GB, free: 99.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/0.8817, allocations: 112.2 kB / 0.5526 GB, free: 99.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.873e-05/0.8817, allocations: 36.69 kB / 0.5526 GB, free: 99.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001126/0.8829, allocations: 0.8276 MB / 0.5534 GB, free: 98.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8829, allocations: 3.469 kB / 0.5534 GB, free: 98.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001507/0.8844, allocations: 421.8 kB / 0.5538 GB, free: 98.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004128/0.8885, allocations: 4.484 MB / 0.5582 GB, free: 97.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002786/0.8913, allocations: 2.122 MB / 0.5603 GB, free: 96.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.8914, allocations: 2.812 kB / 0.5603 GB, free: 96.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.8932, allocations: 1.421 MB / 0.5617 GB, free: 96.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/0.8954, allocations: 325.4 kB / 0.562 GB, free: 95.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008766/0.9042, allocations: 4.146 MB / 0.566 GB, free: 94.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/0.9055, allocations: 1.862 MB / 0.5678 GB, free: 93.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001238/0.9067, allocations: 374.7 kB / 0.5682 GB, free: 93.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008964/0.9077, allocations: 0.7849 MB / 0.569 GB, free: 92.82 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.9077, allocations: 6.344 kB / 0.569 GB, free: 92.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09513/1.003, allocations: 36.24 MB / 0.6044 GB, free: 77.14 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/1.003, allocations: 169.5 kB / 0.6045 GB, free: 76.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.974/3.977, allocations: 6.062 kB / 0.6045 GB, free: 76.95 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat does not exist to compare? outputFormat=mat