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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001365/0.001365, allocations: 173 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008913/0.0008915, allocations: 82.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.454e-05/2.456e-05, allocations: 0 / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0911/0.09114, allocations: 47.58 MB / 370 MB, free: 1.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3522/0.4434, allocations: 111 MB / 481.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.4437, allocations: 83.33 kB / 481.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1506/0.5943, allocations: 53.22 MB / 0.5218 GB, free: 10.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.5943, allocations: 0 / 0.5218 GB, free: 10.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001867/0.5945, allocations: 51.94 kB / 0.5219 GB, free: 10.21 MB / 410.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.006146/0.6007, allocations: 2.235 MB / 0.5241 GB, free: 7.914 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.6007, allocations: 8.031 kB / 0.5241 GB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.6018, allocations: 272.8 kB / 0.5243 GB, free: 7.637 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/0.6044, allocations: 1.362 MB / 0.5257 GB, free: 6.223 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/0.6046, allocations: 233 kB / 0.5259 GB, free: 5.977 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005977/0.6053, allocations: 247.6 kB / 0.5261 GB, free: 5.734 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003729/0.609, allocations: 2.075 MB / 0.5281 GB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.371e-05/0.6091, allocations: 3.938 kB / 0.5281 GB, free: 3.566 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001867/0.6093, allocations: 84 kB / 0.5282 GB, free: 3.484 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.927e-05/0.6093, allocations: 48 kB / 0.5283 GB, free: 3.438 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003207/0.6125, allocations: 1.748 MB / 0.53 GB, free: 1.688 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2081/0.8207, allocations: 7.902 MB / 0.5377 GB, free: 98.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00267/0.8234, allocations: 1.95 MB / 0.5396 GB, free: 98.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002105/0.8255, allocations: 1.348 MB / 0.5409 GB, free: 98.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.8257, allocations: 29.45 kB / 0.5409 GB, free: 98.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.8257, allocations: 72.06 kB / 0.541 GB, free: 98.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=208): time 4.648e-06/0.8257, allocations: 0 / 0.541 GB, free: 98.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=250): time 0.04444/0.8702, allocations: 12.64 MB / 0.5534 GB, free: 97.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.8703, allocations: 399.6 kB / 0.5537 GB, free: 96.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/0.8721, allocations: 1.316 MB / 0.555 GB, free: 96.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000301/0.8724, allocations: 70.55 kB / 0.5551 GB, free: 96.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000407/0.8728, allocations: 0.8003 MB / 0.5559 GB, free: 96.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000563/0.8734, allocations: 0.8348 MB / 0.5567 GB, free: 95.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.8735, allocations: 47.59 kB / 0.5567 GB, free: 95.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.636e-05/0.8736, allocations: 396.8 kB / 0.5571 GB, free: 95.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.875, allocations: 0.9063 MB / 0.558 GB, free: 95.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.8765, allocations: 1.148 MB / 0.5591 GB, free: 94.45 MB / 410.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.0257/0.9022, allocations: 7.102 MB / 0.566 GB, free: 92.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.9022, allocations: 3.281 kB / 0.5661 GB, free: 92.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.02013/0.9224, allocations: 5.859 MB / 0.5718 GB, free: 90.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.9224, allocations: 7.781 kB / 0.5718 GB, free: 90.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-05/0.9225, allocations: 7.734 kB / 0.5718 GB, free: 90.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01764/0.9401, allocations: 3.608 MB / 0.5753 GB, free: 89.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/0.9421, allocations: 376.8 kB / 0.5757 GB, free: 89.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03602/0.9781, allocations: 24.6 MB / 0.5997 GB, free: 69.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002697/0.9809, allocations: 142.1 kB / 0.5998 GB, free: 69.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003302/0.9812, allocations: 89.61 kB / 0.5999 GB, free: 69.39 MB / 410.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: transformer.H[1] = $START.transformer.H[1] transformer.H[3] = $START.transformer.H[3]. 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.0005221/0.9817, allocations: 242.4 kB / 0.6002 GB, free: 69.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004909/0.9822, allocations: 205.6 kB / 0.6003 GB, free: 68.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006457/0.9887, allocations: 3.225 MB / 0.6035 GB, free: 66.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/0.9888, allocations: 24 kB / 0.6035 GB, free: 66.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.9888, allocations: 8 kB / 0.6035 GB, free: 66.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.798e-05/0.9888, allocations: 18.67 kB / 0.6035 GB, free: 66.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/1.001, allocations: 6.089 MB / 0.6095 GB, free: 61.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/1.001, allocations: 11.95 kB / 0.6095 GB, free: 61.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002123/1.003, allocations: 428.6 kB / 0.6099 GB, free: 60.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005028/1.008, allocations: 1.199 MB / 0.6111 GB, free: 59.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004422/1.008, allocations: 63.69 kB / 0.6111 GB, free: 59.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01509/1.024, allocations: 16.94 MB / 0.6277 GB, free: 42.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/1.024, allocations: 0 / 0.6277 GB, free: 42.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00945/1.033, allocations: 4.779 MB / 0.6324 GB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/1.034, allocations: 0.5279 MB / 0.6329 GB, free: 37.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004298/1.035, allocations: 59.56 kB / 0.6329 GB, free: 37.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002041/1.037, allocations: 163 kB / 0.6331 GB, free: 37.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006098/1.038, allocations: 200.1 kB / 0.6333 GB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/1.038, allocations: 71.84 kB / 0.6333 GB, free: 36.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001477/1.039, allocations: 1.012 MB / 0.6343 GB, free: 36.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.039, allocations: 0 / 0.6343 GB, free: 36.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003251/1.043, allocations: 0.7739 MB / 0.6351 GB, free: 35.29 MB / 410.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.0006313/1.043, allocations: 292.9 kB / 0.6354 GB, free: 35.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005344/1.049, allocations: 3.744 MB / 0.639 GB, free: 31.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.049, allocations: 4 kB / 0.639 GB, free: 31.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00332/1.052, allocations: 2.491 MB / 0.6415 GB, free: 28.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/1.054, allocations: 320.3 kB / 0.6418 GB, free: 28.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007062/1.061, allocations: 4.421 MB / 0.6461 GB, free: 24.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009639/1.062, allocations: 1.647 MB / 0.6477 GB, free: 23.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001476/1.064, allocations: 262 kB / 0.6479 GB, free: 23.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005193/1.064, allocations: 134.1 kB / 0.6481 GB, free: 22.94 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/1.064, allocations: 0 / 0.6481 GB, free: 22.94 MB / 410.7 MB Notification: Performance of Templates: time 0.0636/1.128, allocations: 43.5 MB / 0.6905 GB, free: 120 kB / 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