Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") [: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.0009021/0.0009021, allocations: 179.2 kB / 8.474 MB, free: 1.867 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.294/1.294, allocations: 205.2 MB / 214.1 MB, free: 5.246 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.0008975/0.0008975, allocations: 90.25 kB / 262.1 MB, free: 5.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.694e-06/7.715e-06, allocations: 4 kB / 315 MB, free: 41.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07722/0.07724, allocations: 47.58 MB / 362.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2773/0.3545, allocations: 110.3 MB / 472.8 MB, free: 14.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.3548, allocations: 85.58 kB / 472.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.147/0.5019, allocations: 52.49 MB / 0.5131 GB, free: 1.734 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001391/0.502, allocations: 59.88 kB / 0.5132 GB, free: 1.676 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.005815/0.5079, allocations: 2.282 MB / 0.5154 GB, free: 15.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/0.5079, allocations: 12.03 kB / 0.5154 GB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009202/0.5089, allocations: 280.7 kB / 0.5157 GB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003322/0.5122, allocations: 1.358 MB / 0.517 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.5124, allocations: 173 kB / 0.5172 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005461/0.513, allocations: 163.8 kB / 0.5173 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003116/0.5161, allocations: 1.628 MB / 0.5189 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002991/0.5191, allocations: 1.798 MB / 0.5207 GB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.444e-05/0.5192, allocations: 7.984 kB / 0.5207 GB, free: 9.766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/0.5193, allocations: 4 kB / 0.5207 GB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.791e-05/0.5194, allocations: 44 kB / 0.5207 GB, free: 9.719 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01289/0.5323, allocations: 7.586 MB / 0.5281 GB, free: 1.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.5343, allocations: 1.168 MB / 0.5293 GB, free: 0.707 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.5365, allocations: 1.304 MB / 0.5305 GB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.5366, allocations: 30 kB / 0.5306 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.7e-05/0.5367, allocations: 64.56 kB / 0.5306 GB, free: 15.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=208): time 5.34e-06/0.5367, allocations: 0 / 0.5306 GB, free: 15.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=250): time 0.03235/0.569, allocations: 9.126 MB / 0.5395 GB, free: 6.082 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002806/0.5694, allocations: 393.8 kB / 0.5399 GB, free: 5.613 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/0.5714, allocations: 1.178 MB / 0.5411 GB, free: 4.426 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003905/0.5719, allocations: 29.7 kB / 0.5411 GB, free: 4.391 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.5722, allocations: 0.5692 MB / 0.5416 GB, free: 3.812 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009151/0.5732, allocations: 0.8081 MB / 0.5424 GB, free: 2.992 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.5733, allocations: 0 / 0.5424 GB, free: 2.992 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.5735, allocations: 398.6 kB / 0.5428 GB, free: 2.598 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.5752, allocations: 0.8759 MB / 0.5437 GB, free: 1.719 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.5768, allocations: 1.094 MB / 0.5447 GB, free: 0.5703 MB / 394.7 MB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.03047/0.6073, allocations: 7.015 MB / 0.5516 GB, free: 9.484 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.6073, allocations: 4 kB / 0.5516 GB, free: 9.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.02502/0.6323, allocations: 5.737 MB / 0.5572 GB, free: 3.672 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.6324, allocations: 5.719 kB / 0.5572 GB, free: 3.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.204e-05/0.6325, allocations: 4 kB / 0.5572 GB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02041/0.6529, allocations: 3.603 MB / 0.5607 GB, free: 36 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/0.655, allocations: 383.5 kB / 0.5611 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1872/0.8423, allocations: 23.36 MB / 0.5839 GB, free: 155.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003032/0.8454, allocations: 99.23 kB / 0.584 GB, free: 155.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003548/0.8457, allocations: 84.12 kB / 0.5841 GB, free: 155.3 MB / 426.7 MB Warning: Assuming redundant initial conditions for the following 2 initial equations: transformer.H[1] = $START.transformer.H[1] transformer.H[3] = $START.transformer.H[3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transformer.core2.Hstat:VARIABLE(unit = "A/m" ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transformer.core1.Hstat:VARIABLE(unit = "A/m" ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transformer.core3.Hstat:VARIABLE(unit = "A/m" ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 (transformer.core1.asc,transformer.core2.asc,transformer.core3.asc,diode1.off,diode2.off,diode3.off,diode4.off,diode5.off,diode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 180 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 6 {1 19,1 20,1 20,2 7,2 7,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005848/0.8463, allocations: 148.5 kB / 0.5842 GB, free: 155.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004779/0.8468, allocations: 193.5 kB / 0.5844 GB, free: 155.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006444/0.8533, allocations: 3.011 MB / 0.5873 GB, free: 154.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-05/0.8533, allocations: 24.69 kB / 0.5874 GB, free: 154.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.8534, allocations: 5.719 kB / 0.5874 GB, free: 154.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.563e-05/0.8534, allocations: 18.62 kB / 0.5874 GB, free: 154.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.865, allocations: 5.665 MB / 0.5929 GB, free: 154.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/0.8651, allocations: 0 / 0.5929 GB, free: 154.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002427/0.8675, allocations: 441.8 kB / 0.5933 GB, free: 154.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005836/0.8734, allocations: 1.171 MB / 0.5945 GB, free: 154.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000545/0.874, allocations: 32.69 kB / 0.5945 GB, free: 154.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01646/0.8904, allocations: 15.87 MB / 0.61 GB, free: 143.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.8905, allocations: 7.359 kB / 0.61 GB, free: 143.3 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01088/0.9014, allocations: 4.59 MB / 0.6145 GB, free: 141.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/0.9028, allocations: 0.5247 MB / 0.615 GB, free: 141.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007385/0.9036, allocations: 14.45 kB / 0.615 GB, free: 141.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002449/0.906, allocations: 126.6 kB / 0.6152 GB, free: 141.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004198/0.9065, allocations: 149.3 kB / 0.6153 GB, free: 141.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002317/0.9067, allocations: 68.86 kB / 0.6154 GB, free: 141.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001429/0.9082, allocations: 0.889 MB / 0.6162 GB, free: 141.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003536/0.9117, allocations: 0.6621 MB / 0.6169 GB, free: 141.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (transformer.Phi[1],transformer.Phi[2],transformer.Phi[3],transformer.core1.Hstat,transformer.core2.Hstat,transformer.core3.Hstat,transformer.winding11.i,transformer.winding12.i,transformer.winding13.i,transformer.winding21.i,transformer.winding22.i,transformer.winding23.i,capacitor1.v,capacitor2.v,pdissStatAvg.x[1],pdissStatAvg.x[2],pdissEddyAvg.x[1],pdissEddyAvg.x[2],pdissCopAvg.x[1],pdissCopAvg.x[2],transformer.core3.MagRel,transformer.core2.MagRel,transformer.core1.MagRel) * Number of discrete variables: 9 (transformer.core1.asc,transformer.core2.asc,transformer.core3.asc,diode1.off,diode2.off,diode3.off,diode4.off,diode5.off,diode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 194 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 6 {1 8,1 8,1 8,2 7,2 7,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007763/0.9125, allocations: 246.8 kB / 0.6171 GB, free: 141 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005627/0.9182, allocations: 3.343 MB / 0.6204 GB, free: 139.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/0.9182, allocations: 3.375 kB / 0.6204 GB, free: 139.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003425/0.9216, allocations: 2.221 MB / 0.6225 GB, free: 137.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/0.9239, allocations: 221.6 kB / 0.6228 GB, free: 137.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.9355, allocations: 4.395 MB / 0.6271 GB, free: 136 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002658/0.9382, allocations: 1.734 MB / 0.6287 GB, free: 135.2 MB / 426.7 MB Notification: Performance of SimCode: time 8.02e-07/0.9382, allocations: 1.219 kB / 0.6287 GB, free: 135.2 MB / 426.7 MB Notification: Performance of Templates: time 0.06471/1.003, allocations: 41.92 MB / 0.6697 GB, free: 110.2 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches