Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",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.001475/0.001475, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.594/1.594, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008929/0.0008929, allocations: 90.59 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002368/0.0002368, allocations: 8 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2145, allocations: 47.57 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1064/0.3209, allocations: 104 MB / 479.9 MB, free: 8.617 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.3212, allocations: 95.95 kB / 480 MB, free: 8.523 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2772/0.5984, allocations: 41.32 MB / 0.5091 GB, free: 96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5985, allocations: 0 / 0.5091 GB, free: 96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001323/0.5986, allocations: 54.31 kB / 0.5092 GB, free: 95.98 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.004492/0.6031, allocations: 2.207 MB / 0.5113 GB, free: 94.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.6032, allocations: 7.844 kB / 0.5113 GB, free: 94.93 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004544/0.6036, allocations: 284 kB / 0.5116 GB, free: 94.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006627/0.6043, allocations: 269.7 kB / 0.5118 GB, free: 94.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/0.6066, allocations: 1.375 MB / 0.5132 GB, free: 94.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.6067, allocations: 147.1 kB / 0.5133 GB, free: 94.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002516/0.607, allocations: 195.2 kB / 0.5135 GB, free: 94.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003383/0.6104, allocations: 2.41 MB / 0.5159 GB, free: 92.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.477e-05/0.6104, allocations: 15.3 kB / 0.5159 GB, free: 92.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.6106, allocations: 79.53 kB / 0.516 GB, free: 92.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.95e-05/0.6107, allocations: 78.95 kB / 0.516 GB, free: 92.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002731/0.6134, allocations: 1.906 MB / 0.5179 GB, free: 92.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.6243, allocations: 7.837 MB / 0.5255 GB, free: 87.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.626, allocations: 1.403 MB / 0.5269 GB, free: 87.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002623/0.6263, allocations: 131.3 kB / 0.527 GB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.6263, allocations: 62.16 kB / 0.5271 GB, free: 87.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=111): time 4.037e-06/0.6264, allocations: 0 / 0.5271 GB, free: 87.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.01191/0.6383, allocations: 6.294 MB / 0.5332 GB, free: 81.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.6383, allocations: 64.72 kB / 0.5333 GB, free: 81.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.6397, allocations: 1.103 MB / 0.5344 GB, free: 80.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.721e-05/0.6398, allocations: 49.7 kB / 0.5344 GB, free: 80.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004014/0.6402, allocations: 0.8813 MB / 0.5353 GB, free: 79.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.6404, allocations: 440.8 kB / 0.5357 GB, free: 79.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.6405, allocations: 28 kB / 0.5357 GB, free: 79.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.13e-05/0.6406, allocations: 369.8 kB / 0.5361 GB, free: 78.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008384/0.6414, allocations: 0.6754 MB / 0.5368 GB, free: 78.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009668/0.6424, allocations: 0.9961 MB / 0.5377 GB, free: 77.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009996/0.6434, allocations: 0.8223 MB / 0.5385 GB, free: 76.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.6434, allocations: 7.938 kB / 0.5385 GB, free: 76.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003309/0.6468, allocations: 2.386 MB / 0.5409 GB, free: 73.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.6468, allocations: 15.94 kB / 0.5409 GB, free: 73.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.6468, allocations: 8 kB / 0.5409 GB, free: 73.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.648, allocations: 0.5596 MB / 0.5414 GB, free: 73.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.6491, allocations: 307.5 kB / 0.5417 GB, free: 72.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006688/0.6558, allocations: 8.597 MB / 0.5501 GB, free: 63.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.6572, allocations: 99.83 kB / 0.5502 GB, free: 63.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.6573, allocations: 59.94 kB / 0.5503 GB, free: 63.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 138 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001087/0.6584, allocations: 0.5958 MB / 0.5509 GB, free: 63.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000274/0.6587, allocations: 146.3 kB / 0.551 GB, free: 62.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003159/0.6618, allocations: 2.204 MB / 0.5532 GB, free: 60.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.6619, allocations: 12 kB / 0.5532 GB, free: 60.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.6619, allocations: 8 kB / 0.5532 GB, free: 60.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.6619, allocations: 11.97 kB / 0.5532 GB, free: 60.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00632/0.6682, allocations: 4.376 MB / 0.5575 GB, free: 56.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.6683, allocations: 4 kB / 0.5575 GB, free: 56.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008119/0.6691, allocations: 196 kB / 0.5576 GB, free: 56.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001423/0.6705, allocations: 0.6315 MB / 0.5583 GB, free: 55.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.874e-05/0.6706, allocations: 35.98 kB / 0.5583 GB, free: 55.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007779/0.6784, allocations: 10.15 MB / 0.5682 GB, free: 44.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6785, allocations: 0 / 0.5682 GB, free: 44.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004615/0.6831, allocations: 3.29 MB / 0.5714 GB, free: 41.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.6841, allocations: 371.2 kB / 0.5718 GB, free: 40.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.6843, allocations: 35.98 kB / 0.5718 GB, free: 40.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007546/0.6851, allocations: 75.92 kB / 0.5719 GB, free: 40.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002749/0.6854, allocations: 112.8 kB / 0.572 GB, free: 40.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.632e-05/0.6854, allocations: 32 kB / 0.572 GB, free: 40.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001175/0.6866, allocations: 0.8443 MB / 0.5728 GB, free: 39.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6866, allocations: 0 / 0.5728 GB, free: 39.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001735/0.6884, allocations: 0.4883 MB / 0.5733 GB, free: 39.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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: 5 * 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: 5 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004731/0.6931, allocations: 4.661 MB / 0.5779 GB, free: 34.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003192/0.6963, allocations: 2.507 MB / 0.5803 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.6963, allocations: 0 / 0.5803 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002033/0.6984, allocations: 1.748 MB / 0.582 GB, free: 29.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.7002, allocations: 387.9 kB / 0.5824 GB, free: 29.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01788/0.7181, allocations: 18.5 MB / 0.6005 GB, free: 10.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/0.7196, allocations: 1.698 MB / 0.6021 GB, free: 8.816 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001219/0.7208, allocations: 321 kB / 0.6024 GB, free: 8.496 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009788/0.7218, allocations: 0.7141 MB / 0.6031 GB, free: 7.781 MB / 378.7 MB Notification: Performance of SimCode: time 1.503e-06/0.7219, allocations: 0 / 0.6031 GB, free: 7.781 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2774/0.9993, allocations: 41.26 MB / 0.6434 GB, free: 108.4 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/0.9995, allocations: 238 kB / 0.6436 GB, free: 108.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.033/4.032, allocations: 0 / 0.6436 GB, free: 108.1 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat does not exist to compare? outputFormat=mat