Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") [: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 trunk/package.mo): time 0.001665/0.001665, allocations: 203.2 kB / 8.541 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 225.5 MB / 234.4 MB, free: 3.324 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008555/0.0008558, allocations: 86.78 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.662e-06/6.692e-06, allocations: 0 / 343.2 MB, free: 8.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08708/0.08711, allocations: 51.48 MB / 394.6 MB, free: 5.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2814/0.3686, allocations: 111.9 MB / 0.4947 GB, free: 13.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/0.369, allocations: 96.25 kB / 0.4948 GB, free: 13.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.4019/0.7709, allocations: 94.71 MB / 0.5873 GB, free: 71.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002979/0.7712, allocations: 101.6 kB / 0.5874 GB, free: 71.93 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1011 * Number of variables: 1011 Notification: Performance of Generate backend data structure: time 0.009922/0.7811, allocations: 3.99 MB / 0.5913 GB, free: 70.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.7812, allocations: 7.188 kB / 0.5913 GB, free: 70.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004516/0.7857, allocations: 0.8736 MB / 0.5921 GB, free: 70.31 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007838/0.7936, allocations: 3.856 MB / 0.5959 GB, free: 69.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.7937, allocations: 133.8 kB / 0.596 GB, free: 69.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006375/0.7944, allocations: 236.3 kB / 0.5962 GB, free: 69.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006866/0.8012, allocations: 4.196 MB / 0.6003 GB, free: 69.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00733/0.8086, allocations: 4.691 MB / 0.6049 GB, free: 69.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.041e-05/0.8087, allocations: 12.38 kB / 0.6049 GB, free: 69.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003235/0.809, allocations: 3.25 kB / 0.6049 GB, free: 69.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/0.8092, allocations: 165.3 kB / 0.6051 GB, free: 69.24 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02397/0.8332, allocations: 16.41 MB / 0.6211 GB, free: 65.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.835, allocations: 1.475 MB / 0.6226 GB, free: 64.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002124/0.8372, allocations: 1.873 MB / 0.6244 GB, free: 63.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006539/0.8437, allocations: 4.61 MB / 0.6289 GB, free: 61.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001628/0.8454, allocations: 1.44 MB / 0.6303 GB, free: 60.63 MB / 442.7 MB Notification: Performance of pre-optimization done (n=223): time 3.757e-06/0.8454, allocations: 0 / 0.6303 GB, free: 60.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=226): time 0.01061/0.856, allocations: 6.515 MB / 0.6367 GB, free: 57.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.8561, allocations: 233.8 kB / 0.6369 GB, free: 57.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/0.8585, allocations: 1.734 MB / 0.6386 GB, free: 56.63 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001436/0.8586, allocations: 25.7 kB / 0.6386 GB, free: 56.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.8597, allocations: 1.344 MB / 0.6399 GB, free: 55.65 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004761/0.8602, allocations: 0.7043 MB / 0.6406 GB, free: 55.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.8603, allocations: 3.562 kB / 0.6406 GB, free: 55.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.8604, allocations: 405.4 kB / 0.641 GB, free: 54.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.8617, allocations: 1.101 MB / 0.6421 GB, free: 54.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.8632, allocations: 1.656 MB / 0.6437 GB, free: 53.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/0.8653, allocations: 1.392 MB / 0.645 GB, free: 52.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.8653, allocations: 9.812 kB / 0.6451 GB, free: 52.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006065/0.8714, allocations: 3.647 MB / 0.6486 GB, free: 51.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.8714, allocations: 9.375 kB / 0.6486 GB, free: 51.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/0.8715, allocations: 13.81 kB / 0.6486 GB, free: 51.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001766/0.8733, allocations: 0.7593 MB / 0.6494 GB, free: 51.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/0.8752, allocations: 443.3 kB / 0.6498 GB, free: 51.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009635/0.8848, allocations: 10.21 MB / 0.6598 GB, free: 43.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/0.8873, allocations: 95.94 kB / 0.6599 GB, free: 43.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002642/0.8876, allocations: 94.28 kB / 0.66 GB, free: 43.74 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[3].tSwitch,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * 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 {(1,100.0%) 8,(9,33.3%) 25,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004636/0.888, allocations: 175.5 kB / 0.6601 GB, free: 43.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003845/0.8884, allocations: 237.1 kB / 0.6603 GB, free: 43.49 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006058/0.8945, allocations: 3.565 MB / 0.6638 GB, free: 42.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.67e-05/0.8945, allocations: 21.59 kB / 0.6639 GB, free: 42.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.976e-05/0.8946, allocations: 10.53 kB / 0.6639 GB, free: 42.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/0.8946, allocations: 11.67 kB / 0.6639 GB, free: 42.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01186/0.9064, allocations: 7.293 MB / 0.671 GB, free: 38.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.9065, allocations: 3.156 kB / 0.671 GB, free: 38.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.9076, allocations: 245.2 kB / 0.6712 GB, free: 38.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002177/0.9098, allocations: 0.9353 MB / 0.6721 GB, free: 38.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/0.91, allocations: 20.83 kB / 0.6722 GB, free: 38.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/0.9224, allocations: 14.32 MB / 0.6861 GB, free: 27.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.9225, allocations: 3.188 kB / 0.6861 GB, free: 27.77 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007651/0.9301, allocations: 5.338 MB / 0.6914 GB, free: 25.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/0.9317, allocations: 0.5884 MB / 0.6919 GB, free: 24.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004311/0.9321, allocations: 10.91 kB / 0.6919 GB, free: 24.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.9333, allocations: 85.33 kB / 0.692 GB, free: 24.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003434/0.9337, allocations: 163.4 kB / 0.6922 GB, free: 24.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/0.9338, allocations: 58.58 kB / 0.6922 GB, free: 24.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001825/0.9356, allocations: 1.292 MB / 0.6935 GB, free: 24.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00287/0.9385, allocations: 0.7314 MB / 0.6942 GB, free: 24.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 21 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (150): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 8,(9,33.3%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006765/0.9392, allocations: 374.3 kB / 0.6946 GB, free: 24.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004671/0.9439, allocations: 3.35 MB / 0.6978 GB, free: 22.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.9439, allocations: 0 / 0.6978 GB, free: 22.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003182/0.9471, allocations: 2.32 MB / 0.7001 GB, free: 21.33 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/0.95, allocations: 0.4953 MB / 0.7006 GB, free: 21.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/0.9632, allocations: 6.204 MB / 0.7067 GB, free: 17.24 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003022/0.9663, allocations: 3.052 MB / 0.7096 GB, free: 14.84 MB / 442.7 MB Notification: Performance of SimCode: time 7.51e-07/0.9663, allocations: 4 kB / 0.7096 GB, free: 14.84 MB / 442.7 MB Notification: Performance of Templates: time 0.2228/1.189, allocations: 40.13 MB / 0.7488 GB, free: 110 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD/IMC_YD.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches