Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001054/0.001055, allocations: 184.8 kB / 8.133 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 221.4 MB / 229.9 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009477/0.0009477, allocations: 96.05 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.185e-06/8.215e-06, allocations: 0 / 336.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2067, allocations: 50.39 MB / 386.9 MB, free: 38.14 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.3257, allocations: 113.9 MB / 0.489 GB, free: 4.914 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.326, allocations: 91.88 kB / 0.4891 GB, free: 4.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.3124/0.6384, allocations: 53.47 MB / 0.5413 GB, free: 69.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001037/0.6385, allocations: 55.92 kB / 0.5414 GB, free: 69.14 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.004388/0.6429, allocations: 2.29 MB / 0.5436 GB, free: 66.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.643, allocations: 8.031 kB / 0.5436 GB, free: 66.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004216/0.6434, allocations: 276.7 kB / 0.5439 GB, free: 66.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.6454, allocations: 1.362 MB / 0.5452 GB, free: 65.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.6456, allocations: 172.9 kB / 0.5454 GB, free: 64.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004749/0.6461, allocations: 171.8 kB / 0.5455 GB, free: 64.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002617/0.6487, allocations: 1.628 MB / 0.5471 GB, free: 63.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/0.6513, allocations: 1.794 MB / 0.5489 GB, free: 61.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.157e-05/0.6513, allocations: 3.938 kB / 0.5489 GB, free: 61.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/0.6515, allocations: 4 kB / 0.5489 GB, free: 61.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.6515, allocations: 48 kB / 0.5489 GB, free: 61.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009865/0.6614, allocations: 7.586 MB / 0.5564 GB, free: 53.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.6629, allocations: 1.173 MB / 0.5575 GB, free: 52.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.6646, allocations: 1.296 MB / 0.5588 GB, free: 50.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.707e-05/0.6647, allocations: 29.92 kB / 0.5588 GB, free: 50.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.6647, allocations: 64.5 kB / 0.5589 GB, free: 50.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=208): time 3.697e-06/0.6647, allocations: 0 / 0.5589 GB, free: 50.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=250): time 0.02907/0.6938, allocations: 9.133 MB / 0.5678 GB, free: 41.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.6939, allocations: 393.8 kB / 0.5681 GB, free: 41.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.6955, allocations: 1.182 MB / 0.5693 GB, free: 39.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002124/0.6957, allocations: 25.7 kB / 0.5693 GB, free: 39.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.6959, allocations: 0.5731 MB / 0.5699 GB, free: 39.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004951/0.6964, allocations: 0.8003 MB / 0.5707 GB, free: 38.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.6965, allocations: 11.92 kB / 0.5707 GB, free: 38.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.6966, allocations: 394.6 kB / 0.5711 GB, free: 38.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.698, allocations: 0.8678 MB / 0.5719 GB, free: 37.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.6994, allocations: 1.096 MB / 0.573 GB, free: 36.04 MB / 378.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.02708/0.7264, allocations: 7.005 MB / 0.5798 GB, free: 28.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.7265, allocations: 0 / 0.5798 GB, free: 28.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.02105/0.7475, allocations: 5.737 MB / 0.5854 GB, free: 23.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.7476, allocations: 4 kB / 0.5854 GB, free: 23.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.698e-05/0.7476, allocations: 11.98 kB / 0.5854 GB, free: 23.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01921/0.7668, allocations: 3.601 MB / 0.589 GB, free: 19.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/0.7688, allocations: 383.5 kB / 0.5893 GB, free: 19.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03859/0.8074, allocations: 23.36 MB / 0.6121 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/0.8099, allocations: 99.98 kB / 0.6122 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002468/0.8101, allocations: 88.25 kB / 0.6123 GB, free: 10.54 MB / 394.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.0005014/0.8106, allocations: 154.8 kB / 0.6125 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004341/0.8111, allocations: 205.6 kB / 0.6126 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007144/0.8182, allocations: 2.996 MB / 0.6156 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/0.8183, allocations: 31.91 kB / 0.6156 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.8183, allocations: 8.062 kB / 0.6156 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.072e-05/0.8183, allocations: 15.94 kB / 0.6156 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/0.831, allocations: 5.658 MB / 0.6212 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.8311, allocations: 7.906 kB / 0.6212 GB, free: 1.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002364/0.8334, allocations: 443.4 kB / 0.6216 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005901/0.8393, allocations: 1.178 MB / 0.6227 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002513/0.8396, allocations: 27.97 kB / 0.6228 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01859/0.8582, allocations: 15.87 MB / 0.6383 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.8583, allocations: 0 / 0.6383 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01032/0.8686, allocations: 4.603 MB / 0.6428 GB, free: 9.926 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/0.8698, allocations: 0.514 MB / 0.6433 GB, free: 9.391 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003878/0.8702, allocations: 15.98 kB / 0.6433 GB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002018/0.8722, allocations: 123.9 kB / 0.6434 GB, free: 9.254 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00037/0.8726, allocations: 149.8 kB / 0.6435 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/0.8728, allocations: 67.98 kB / 0.6436 GB, free: 9.039 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001291/0.8741, allocations: 0.89 MB / 0.6445 GB, free: 8.148 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002685/0.8767, allocations: 0.6717 MB / 0.6451 GB, free: 7.477 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.0006193/0.8774, allocations: 252.6 kB / 0.6454 GB, free: 7.219 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005401/0.8828, allocations: 3.343 MB / 0.6486 GB, free: 3.738 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.8828, allocations: 0 / 0.6486 GB, free: 3.738 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003241/0.8861, allocations: 2.222 MB / 0.6508 GB, free: 1.426 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.8877, allocations: 221.1 kB / 0.651 GB, free: 1.207 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1189/1.007, allocations: 4.374 MB / 0.6553 GB, free: 142.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001523/1.008, allocations: 1.736 MB / 0.657 GB, free: 142 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/1.008, allocations: 6.5 kB / 0.657 GB, free: 142 MB / 426.7 MB Notification: Performance of Templates: time 0.05797/1.066, allocations: 41.92 MB / 0.6979 GB, free: 137.5 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches