Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.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.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001428/0.001428, allocations: 183.7 kB / 8.479 MB, free: 1.797 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.075/1.075, allocations: 205.2 MB / 214.1 MB, free: 13.86 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.000816/0.0008159, allocations: 93.53 kB / 262.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.326e-06/8.366e-06, allocations: 0 / 315 MB, free: 8.656 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1777, allocations: 47.56 MB / 362.5 MB, free: 45.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.2833, allocations: 104.6 MB / 467.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.2836, allocations: 91.94 kB / 467.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2276/0.5112, allocations: 45.29 MB / 0.5006 GB, free: 97.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001759/0.5114, allocations: 60.7 kB / 0.5006 GB, free: 97.59 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.004551/0.516, allocations: 2.244 MB / 0.5028 GB, free: 97.04 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.516, allocations: 10.12 kB / 0.5028 GB, free: 97.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009331/0.517, allocations: 295.7 kB / 0.5031 GB, free: 96.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002816/0.5198, allocations: 1.61 MB / 0.5047 GB, free: 96.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.5199, allocations: 70.75 kB / 0.5047 GB, free: 96.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002454/0.5201, allocations: 135.7 kB / 0.5049 GB, free: 96.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002781/0.5229, allocations: 2.039 MB / 0.5069 GB, free: 96.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003099/0.526, allocations: 2.438 MB / 0.5092 GB, free: 96.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.385e-05/0.5261, allocations: 3.906 kB / 0.5092 GB, free: 96.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.5263, allocations: 3.844 kB / 0.5092 GB, free: 96.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.679e-05/0.5263, allocations: 100.5 kB / 0.5093 GB, free: 96.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/0.5365, allocations: 8.26 MB / 0.5174 GB, free: 94.15 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.5378, allocations: 0.8389 MB / 0.5182 GB, free: 94.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.5389, allocations: 0.8431 MB / 0.5191 GB, free: 94.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002708/0.5392, allocations: 218.7 kB / 0.5193 GB, free: 93.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.5392, allocations: 44.81 kB / 0.5193 GB, free: 93.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=106): time 2.966e-06/0.5392, allocations: 0 / 0.5193 GB, free: 93.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=127): time 0.007777/0.547, allocations: 4.793 MB / 0.524 GB, free: 92.58 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.547, allocations: 64.31 kB / 0.524 GB, free: 92.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.5482, allocations: 1.032 MB / 0.5251 GB, free: 92.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.397e-05/0.5483, allocations: 29.23 kB / 0.5251 GB, free: 92.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.5485, allocations: 0.8255 MB / 0.5259 GB, free: 91.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.5488, allocations: 426.2 kB / 0.5263 GB, free: 91.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.258e-05/0.5488, allocations: 0 / 0.5263 GB, free: 91.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.958e-05/0.5489, allocations: 366.1 kB / 0.5266 GB, free: 90.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008009/0.5497, allocations: 0.6951 MB / 0.5273 GB, free: 90.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009331/0.5507, allocations: 1.059 MB / 0.5284 GB, free: 89.83 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.5517, allocations: 0.8829 MB / 0.5292 GB, free: 89.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.5517, allocations: 3.938 kB / 0.5292 GB, free: 89.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003279/0.555, allocations: 2.397 MB / 0.5316 GB, free: 88.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.555, allocations: 7.781 kB / 0.5316 GB, free: 88.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.555, allocations: 7.812 kB / 0.5316 GB, free: 88.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/0.5563, allocations: 0.576 MB / 0.5321 GB, free: 88.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.5576, allocations: 329.4 kB / 0.5325 GB, free: 88.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005603/0.5632, allocations: 5.785 MB / 0.5381 GB, free: 84.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.5643, allocations: 67.92 kB / 0.5382 GB, free: 84.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.5645, allocations: 61.25 kB / 0.5382 GB, free: 84.87 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 156 * 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: 2 * 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: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002311/0.5647, allocations: 140.2 kB / 0.5384 GB, free: 84.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/0.5649, allocations: 151.7 kB / 0.5385 GB, free: 84.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003735/0.5687, allocations: 2.2 MB / 0.5407 GB, free: 83.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.5687, allocations: 13.75 kB / 0.5407 GB, free: 83.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.5687, allocations: 9.562 kB / 0.5407 GB, free: 83.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.5687, allocations: 16.03 kB / 0.5407 GB, free: 83.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006652/0.5754, allocations: 4.338 MB / 0.5449 GB, free: 82.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.5754, allocations: 2.406 kB / 0.5449 GB, free: 82.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.5765, allocations: 209.9 kB / 0.5451 GB, free: 82.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001631/0.5782, allocations: 0.6387 MB / 0.5458 GB, free: 82.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.13e-05/0.5783, allocations: 16.44 kB / 0.5458 GB, free: 82.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007437/0.5857, allocations: 7.414 MB / 0.553 GB, free: 76.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.5858, allocations: 1.844 kB / 0.553 GB, free: 76.97 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004605/0.5904, allocations: 3.395 MB / 0.5563 GB, free: 75.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006911/0.5911, allocations: 388 kB / 0.5567 GB, free: 75.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/0.5913, allocations: 10.34 kB / 0.5567 GB, free: 75.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000889/0.5922, allocations: 64.27 kB / 0.5568 GB, free: 75.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.5924, allocations: 70.89 kB / 0.5568 GB, free: 75.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.624e-05/0.5925, allocations: 45.73 kB / 0.5569 GB, free: 75.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000951/0.5935, allocations: 0.7691 MB / 0.5576 GB, free: 74.63 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001373/0.5948, allocations: 453.9 kB / 0.5581 GB, free: 74.19 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00041/0.5953, allocations: 297.9 kB / 0.5583 GB, free: 73.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002648/0.5979, allocations: 2.153 MB / 0.5604 GB, free: 71.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.5979, allocations: 4.375 kB / 0.5605 GB, free: 71.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.5998, allocations: 1.344 MB / 0.5618 GB, free: 70.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.6011, allocations: 293.2 kB / 0.562 GB, free: 70.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005542/0.6066, allocations: 3.688 MB / 0.5656 GB, free: 67.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/0.608, allocations: 1.951 MB / 0.5676 GB, free: 65.55 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.608, allocations: 0 / 0.5676 GB, free: 65.55 MB / 394.7 MB Notification: Performance of Templates: time 0.03122/0.6393, allocations: 22.66 MB / 0.5897 GB, free: 47.36 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_Inverter/SMR_Inverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches