Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001474/0.001474, allocations: 195.2 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 225.5 MB / 234.4 MB, free: 3.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009687/0.0009688, allocations: 94.53 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.135e-06/8.155e-06, allocations: 4 kB / 343.1 MB, free: 8.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 51.48 MB / 394.6 MB, free: 5.203 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3773/0.4803, allocations: 114.7 MB / 0.4974 GB, free: 10.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/0.4807, allocations: 84.08 kB / 0.4974 GB, free: 10.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.1563/0.637, allocations: 53.55 MB / 0.5497 GB, free: 10.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002357/0.6373, allocations: 55.98 kB / 0.5498 GB, free: 10.3 MB / 426.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.007186/0.6445, allocations: 2.296 MB / 0.552 GB, free: 7.953 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.6445, allocations: 11.97 kB / 0.552 GB, free: 7.941 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.6461, allocations: 320.7 kB / 0.5524 GB, free: 7.625 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003505/0.6496, allocations: 1.354 MB / 0.5537 GB, free: 6.219 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002617/0.6499, allocations: 173 kB / 0.5538 GB, free: 6.031 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009443/0.6509, allocations: 167.8 kB / 0.554 GB, free: 5.867 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004123/0.655, allocations: 1.628 MB / 0.5556 GB, free: 4.238 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004816/0.6599, allocations: 1.794 MB / 0.5573 GB, free: 2.355 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.601e-05/0.6599, allocations: 7.984 kB / 0.5573 GB, free: 2.348 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002768/0.6602, allocations: 5.25 kB / 0.5574 GB, free: 2.344 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-05/0.6603, allocations: 51.98 kB / 0.5574 GB, free: 2.293 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01773/0.678, allocations: 7.574 MB / 0.5648 GB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.6804, allocations: 1.17 MB / 0.5659 GB, free: 9.301 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00254/0.683, allocations: 1.304 MB / 0.5672 GB, free: 7.988 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.6832, allocations: 29.98 kB / 0.5672 GB, free: 7.957 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.537e-05/0.6833, allocations: 68.5 kB / 0.5673 GB, free: 7.883 MB / 442.7 MB Notification: Performance of pre-optimization done (n=208): time 4.719e-06/0.6833, allocations: 0 / 0.5673 GB, free: 7.883 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.2214/0.9047, allocations: 9.119 MB / 0.5762 GB, free: 71.87 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.576e-05/0.9048, allocations: 388.8 kB / 0.5766 GB, free: 71.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/0.9067, allocations: 1.187 MB / 0.5777 GB, free: 71.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004461/0.9072, allocations: 28.8 kB / 0.5778 GB, free: 71.26 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.9074, allocations: 0.574 MB / 0.5783 GB, free: 71.17 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006031/0.908, allocations: 0.8057 MB / 0.5791 GB, free: 70.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.9082, allocations: 6.234 kB / 0.5791 GB, free: 70.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.9083, allocations: 392.8 kB / 0.5795 GB, free: 70.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.9097, allocations: 0.8743 MB / 0.5804 GB, free: 70.51 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.9112, allocations: 1.091 MB / 0.5814 GB, free: 70.36 MB / 442.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.02729/0.9385, allocations: 6.998 MB / 0.5883 GB, free: 70.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.9385, allocations: 10.38 kB / 0.5883 GB, free: 70.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.02091/0.9594, allocations: 5.726 MB / 0.5939 GB, free: 69.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.9595, allocations: 7.25 kB / 0.5939 GB, free: 69.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.823e-05/0.9595, allocations: 11.16 kB / 0.5939 GB, free: 69.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01902/0.9786, allocations: 3.607 MB / 0.5974 GB, free: 69.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.9805, allocations: 389.5 kB / 0.5978 GB, free: 69.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03681/1.017, allocations: 23.34 MB / 0.6206 GB, free: 57.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/1.02, allocations: 103.4 kB / 0.6207 GB, free: 57.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003357/1.02, allocations: 83.36 kB / 0.6207 GB, free: 57.85 MB / 442.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.0005214/1.021, allocations: 159.6 kB / 0.6209 GB, free: 57.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004652/1.021, allocations: 198.6 kB / 0.6211 GB, free: 57.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006779/1.028, allocations: 3.004 MB / 0.624 GB, free: 57.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.113e-05/1.028, allocations: 25.78 kB / 0.624 GB, free: 57.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.566e-05/1.028, allocations: 4.5 kB / 0.624 GB, free: 57.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-05/1.028, allocations: 17.94 kB / 0.6241 GB, free: 57.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01353/1.042, allocations: 5.674 MB / 0.6296 GB, free: 55.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/1.042, allocations: 1.125 kB / 0.6296 GB, free: 55.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002386/1.044, allocations: 446.7 kB / 0.63 GB, free: 55.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005812/1.05, allocations: 1.181 MB / 0.6312 GB, free: 55.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004152/1.051, allocations: 29.89 kB / 0.6312 GB, free: 55.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01685/1.067, allocations: 15.87 MB / 0.6467 GB, free: 41.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.067, allocations: 1.312 kB / 0.6467 GB, free: 41.5 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01159/1.079, allocations: 4.593 MB / 0.6512 GB, free: 39.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/1.081, allocations: 0.5264 MB / 0.6517 GB, free: 38.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007595/1.081, allocations: 16.47 kB / 0.6517 GB, free: 38.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002538/1.084, allocations: 117.8 kB / 0.6518 GB, free: 38.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004282/1.084, allocations: 146.4 kB / 0.652 GB, free: 38.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002778/1.085, allocations: 74.42 kB / 0.652 GB, free: 38.87 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.002242/1.087, allocations: 0.8873 MB / 0.6529 GB, free: 38.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004409/1.091, allocations: 0.6691 MB / 0.6536 GB, free: 38.46 MB / 442.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.0009294/1.092, allocations: 252.1 kB / 0.6538 GB, free: 38.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005522/1.098, allocations: 3.339 MB / 0.6571 GB, free: 36.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/1.098, allocations: 9.219 kB / 0.6571 GB, free: 36.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003134/1.101, allocations: 2.215 MB / 0.6592 GB, free: 35 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/1.103, allocations: 230 kB / 0.6595 GB, free: 34.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/1.114, allocations: 4.384 MB / 0.6637 GB, free: 32.92 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002401/1.117, allocations: 1.741 MB / 0.6654 GB, free: 32.12 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/1.117, allocations: 0 / 0.6654 GB, free: 32.12 MB / 442.7 MB Notification: Performance of Templates: time 0.06322/1.18, allocations: 41.91 MB / 0.7064 GB, free: 19.93 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches