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: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009896/0.0009897, 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.343/1.343, 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.0008473/0.0008473, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.19e-05/2.191e-05, allocations: 4 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08176/0.08179, allocations: 47.58 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3051/0.3869, allocations: 103.9 MB / 473.9 MB, free: 5.688 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.3872, allocations: 90.66 kB / 474 MB, free: 5.641 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1105/0.4977, allocations: 41.39 MB / 0.5033 GB, free: 13.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4977, allocations: 4 kB / 0.5033 GB, free: 13.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001282/0.4978, allocations: 47.94 kB / 0.5034 GB, free: 13.16 MB / 394.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.003532/0.5014, allocations: 1.977 MB / 0.5053 GB, free: 11.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.5014, allocations: 16.02 kB / 0.5053 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000677/0.5021, allocations: 269.1 kB / 0.5056 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.5045, allocations: 1.368 MB / 0.5069 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.941e-05/0.5046, allocations: 147.8 kB / 0.507 GB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.5049, allocations: 199.9 kB / 0.5072 GB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003582/0.5084, allocations: 2.366 MB / 0.5095 GB, free: 6.629 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.66e-05/0.5085, allocations: 12 kB / 0.5096 GB, free: 6.617 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001821/0.5087, allocations: 83.98 kB / 0.5096 GB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.503e-05/0.5088, allocations: 79.69 kB / 0.5097 GB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002933/0.5117, allocations: 1.842 MB / 0.5115 GB, free: 4.613 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01181/0.5235, allocations: 7.831 MB / 0.5192 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.5254, allocations: 1.365 MB / 0.5205 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/0.5268, allocations: 0.9032 MB / 0.5214 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002748/0.527, allocations: 138 kB / 0.5215 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.5271, allocations: 51.52 kB / 0.5216 GB, free: 10.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=111): time 3.146e-06/0.5271, allocations: 0 / 0.5216 GB, free: 10.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=127): time 0.01066/0.5378, allocations: 5.118 MB / 0.5265 GB, free: 4.836 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.5379, allocations: 72.72 kB / 0.5266 GB, free: 4.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.5395, allocations: 1.081 MB / 0.5277 GB, free: 3.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.557e-05/0.5396, allocations: 45.7 kB / 0.5277 GB, free: 3.609 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005571/0.5401, allocations: 0.8815 MB / 0.5286 GB, free: 2.715 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003049/0.5404, allocations: 441.6 kB / 0.529 GB, free: 2.277 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.38e-05/0.5405, allocations: 28 kB / 0.529 GB, free: 2.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5407, allocations: 365.9 kB / 0.5294 GB, free: 1.887 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009734/0.5417, allocations: 0.6482 MB / 0.53 GB, free: 1.238 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.5428, allocations: 0.9689 MB / 0.531 GB, free: 148 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1953/0.7381, allocations: 0.8001 MB / 0.5317 GB, free: 105.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.7382, allocations: 9.312 kB / 0.5317 GB, free: 105.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004115/0.7423, allocations: 2.279 MB / 0.534 GB, free: 105.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.7423, allocations: 11.25 kB / 0.534 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/0.7424, allocations: 9.031 kB / 0.534 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.7436, allocations: 0.4923 MB / 0.5345 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.7448, allocations: 329.7 kB / 0.5348 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005934/0.7508, allocations: 6.639 MB / 0.5413 GB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.7521, allocations: 83.23 kB / 0.5413 GB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.7522, allocations: 59.36 kB / 0.5414 GB, free: 101.9 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000261/0.7525, allocations: 192.8 kB / 0.5416 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/0.7527, allocations: 146.8 kB / 0.5417 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003542/0.7563, allocations: 2.09 MB / 0.5438 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.7563, allocations: 12.38 kB / 0.5438 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.7563, allocations: 5.5 kB / 0.5438 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.7563, allocations: 7.5 kB / 0.5438 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00726/0.7636, allocations: 4.304 MB / 0.548 GB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.7636, allocations: 2.547 kB / 0.548 GB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.7646, allocations: 228.4 kB / 0.5482 GB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001358/0.766, allocations: 0.5466 MB / 0.5488 GB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-05/0.7661, allocations: 35.55 kB / 0.5488 GB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006315/0.7724, allocations: 8.19 MB / 0.5568 GB, free: 95.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.7725, allocations: 5.031 kB / 0.5568 GB, free: 95.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003906/0.7764, allocations: 3.155 MB / 0.5599 GB, free: 94.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007716/0.7772, allocations: 374.1 kB / 0.5602 GB, free: 93.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/0.7774, allocations: 29.34 kB / 0.5603 GB, free: 93.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008498/0.7783, allocations: 80.06 kB / 0.5603 GB, free: 93.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/0.7785, allocations: 101 kB / 0.5604 GB, free: 93.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.421e-05/0.7786, allocations: 39.16 kB / 0.5605 GB, free: 93.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001095/0.7797, allocations: 0.8345 MB / 0.5613 GB, free: 93.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7797, allocations: 0 / 0.5613 GB, free: 93.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001491/0.7812, allocations: 487 kB / 0.5617 GB, free: 93.42 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(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.0005074/0.7818, allocations: 311.7 kB / 0.562 GB, free: 93.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.7846, allocations: 2.308 MB / 0.5643 GB, free: 92.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.7846, allocations: 0 / 0.5643 GB, free: 92.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001843/0.7864, allocations: 1.56 MB / 0.5658 GB, free: 91.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.7883, allocations: 378 kB / 0.5662 GB, free: 91.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004853/0.7932, allocations: 3.479 MB / 0.5696 GB, free: 89.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.7943, allocations: 1.694 MB / 0.5712 GB, free: 88.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001149/0.7954, allocations: 330.9 kB / 0.5715 GB, free: 88.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.7957, allocations: 98.17 kB / 0.5716 GB, free: 88.72 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7957, allocations: 0 / 0.5716 GB, free: 88.72 MB / 410.7 MB Notification: Performance of Templates: time 0.03471/0.8304, allocations: 25.39 MB / 0.5964 GB, free: 82.66 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches