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.001126/0.001126, allocations: 184.1 kB / 18.04 MB, free: 3.781 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.279/1.279, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.000724/0.000724, allocations: 89.66 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003214, allocations: 11.98 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2176, allocations: 47.57 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1174/0.3351, allocations: 111.3 MB / 488.3 MB, free: 1.172 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.3354, allocations: 95.94 kB / 488.4 MB, free: 1.078 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2881/0.6236, allocations: 53.15 MB / 0.5289 GB, free: 90.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.6236, allocations: 0 / 0.5289 GB, free: 90.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000118/0.6237, allocations: 67.86 kB / 0.529 GB, free: 90.68 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.00575/0.6295, allocations: 2.577 MB / 0.5315 GB, free: 88.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.6295, allocations: 12.03 kB / 0.5315 GB, free: 88.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005514/0.6301, allocations: 277.7 kB / 0.5318 GB, free: 87.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.6321, allocations: 1.405 MB / 0.5331 GB, free: 86.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.6323, allocations: 245.5 kB / 0.5334 GB, free: 86.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004441/0.6327, allocations: 244.2 kB / 0.5336 GB, free: 85.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003359/0.6361, allocations: 2.191 MB / 0.5357 GB, free: 83.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.719e-05/0.6362, allocations: 4 kB / 0.5357 GB, free: 83.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/0.6363, allocations: 84 kB / 0.5358 GB, free: 83.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.6364, allocations: 48 kB / 0.5359 GB, free: 83.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003561/0.6399, allocations: 1.92 MB / 0.5377 GB, free: 81.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01043/0.6504, allocations: 7.907 MB / 0.5455 GB, free: 73.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002953/0.6534, allocations: 2.109 MB / 0.5475 GB, free: 71.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002203/0.6556, allocations: 1.429 MB / 0.5489 GB, free: 69.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.246e-05/0.6557, allocations: 33.97 kB / 0.5489 GB, free: 69.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.6557, allocations: 68.44 kB / 0.549 GB, free: 69.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=208): time 3.957e-06/0.6558, allocations: 3.938 kB / 0.549 GB, free: 69.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=250): time 0.04831/0.7041, allocations: 14.54 MB / 0.5632 GB, free: 54.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.872e-05/0.7042, allocations: 397.8 kB / 0.5636 GB, free: 54.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.7062, allocations: 1.494 MB / 0.5651 GB, free: 52.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003763/0.7065, allocations: 73.7 kB / 0.5651 GB, free: 52.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003817/0.7069, allocations: 0.8003 MB / 0.5659 GB, free: 52.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005745/0.7075, allocations: 0.8392 MB / 0.5667 GB, free: 51.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.7077, allocations: 44 kB / 0.5668 GB, free: 51.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.7078, allocations: 402.6 kB / 0.5671 GB, free: 50.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.7096, allocations: 1.012 MB / 0.5681 GB, free: 49.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/0.7116, allocations: 1.261 MB / 0.5694 GB, free: 48.46 MB / 378.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.02865/0.7403, allocations: 8.532 MB / 0.5777 GB, free: 39.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.7404, allocations: 4 kB / 0.5777 GB, free: 39.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.005396/0.7458, allocations: 2.979 MB / 0.5806 GB, free: 36.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.7458, allocations: 8 kB / 0.5806 GB, free: 36.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/0.7458, allocations: 7.984 kB / 0.5806 GB, free: 36.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008931/0.7467, allocations: 368.8 kB / 0.581 GB, free: 36.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002485/0.7492, allocations: 0.5579 MB / 0.5815 GB, free: 35.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006465/0.7557, allocations: 10 MB / 0.5913 GB, free: 25.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/0.7583, allocations: 140 kB / 0.5914 GB, free: 24.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002143/0.7585, allocations: 83.95 kB / 0.5915 GB, free: 24.81 MB / 378.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.winding23.i = transformer.I2Start[1] transformer.winding21.i = transformer.I2Start[1]. 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 242 * 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: 6 * 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: 3 {2 7,2 7,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.001083/0.7596, allocations: 466 kB / 0.5919 GB, free: 24.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003873/0.76, allocations: 209.5 kB / 0.5921 GB, free: 24.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007511/0.7675, allocations: 3.524 MB / 0.5956 GB, free: 20.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.7676, allocations: 31.94 kB / 0.5956 GB, free: 20.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.7676, allocations: 7.938 kB / 0.5956 GB, free: 20.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-05/0.7676, allocations: 15.89 kB / 0.5956 GB, free: 20.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/0.7793, allocations: 6.383 MB / 0.6019 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.7794, allocations: 8 kB / 0.6019 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/0.7812, allocations: 419.5 kB / 0.6023 GB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005592/0.7868, allocations: 1.268 MB / 0.6035 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002456/0.7871, allocations: 75.84 kB / 0.6036 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01751/0.8046, allocations: 17.4 MB / 0.6206 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8046, allocations: 480 / 0.6206 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01177/0.8164, allocations: 5.17 MB / 0.6256 GB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.8176, allocations: 0.5294 MB / 0.6262 GB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003192/0.818, allocations: 56 kB / 0.6262 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001926/0.8199, allocations: 163.8 kB / 0.6264 GB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005018/0.8204, allocations: 205.7 kB / 0.6266 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.8206, allocations: 67.98 kB / 0.6266 GB, free: 3.211 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001483/0.8221, allocations: 1.037 MB / 0.6276 GB, free: 2.176 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8221, allocations: 0 / 0.6276 GB, free: 2.176 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002741/0.8248, allocations: 0.7147 MB / 0.6283 GB, free: 1.461 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (transformer.core1.Hstat,transformer.core1.B,transformer.core2.Hstat,transformer.core2.B,transformer.core3.Hstat,transformer.core3.B,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 () * Number of clocked 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.0006072/0.8254, allocations: 281.9 kB / 0.6286 GB, free: 1.172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006172/0.8316, allocations: 3.423 MB / 0.6319 GB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/0.8317, allocations: 3.938 kB / 0.632 GB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00413/0.8358, allocations: 2.644 MB / 0.6345 GB, free: 10.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/0.8383, allocations: 361.5 kB / 0.6349 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009423/0.8478, allocations: 6.429 MB / 0.6412 GB, free: 4.016 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/0.8489, allocations: 1.561 MB / 0.6427 GB, free: 2.418 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001711/0.8506, allocations: 283.7 kB / 0.643 GB, free: 2.137 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000626/0.8513, allocations: 167.3 kB / 0.6431 GB, free: 1.973 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.8513, allocations: 0 / 0.6431 GB, free: 1.973 MB / 410.7 MB Notification: Performance of Templates: time 0.2304/1.082, allocations: 36.36 MB / 0.6786 GB, free: 103 MB / 410.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/jenkins1/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