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.001601/0.001601, allocations: 181.2 kB / 17.01 MB, free: 5.125 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.653/1.653, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0009282/0.0009283, allocations: 88.17 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002884/0.0002883, allocations: 4 kB / 328.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2905, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1397/0.4303, allocations: 111.1 MB / 486.9 MB, free: 1.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.4306, allocations: 87.95 kB / 487 MB, free: 1.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3467/0.7773, allocations: 53.22 MB / 0.5276 GB, free: 90.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.7773, allocations: 0 / 0.5276 GB, free: 90.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001168/0.7774, allocations: 59.88 kB / 0.5276 GB, free: 90.92 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.006629/0.7841, allocations: 2.608 MB / 0.5302 GB, free: 88.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.7841, allocations: 12.03 kB / 0.5302 GB, free: 88.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.7853, allocations: 272.8 kB / 0.5305 GB, free: 87.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002714/0.788, allocations: 1.366 MB / 0.5318 GB, free: 86.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.7882, allocations: 240.9 kB / 0.532 GB, free: 86.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006051/0.7888, allocations: 231.9 kB / 0.5322 GB, free: 86.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003628/0.7924, allocations: 2.172 MB / 0.5344 GB, free: 83.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.359e-05/0.7925, allocations: 7.891 kB / 0.5344 GB, free: 83.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001747/0.7927, allocations: 84 kB / 0.5345 GB, free: 83.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.7927, allocations: 48 kB / 0.5345 GB, free: 83.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003561/0.7963, allocations: 1.931 MB / 0.5364 GB, free: 81.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01171/0.808, allocations: 7.911 MB / 0.5441 GB, free: 73.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003154/0.8112, allocations: 2.096 MB / 0.5462 GB, free: 71.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.8114, allocations: 29.98 kB / 0.5462 GB, free: 71.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.8114, allocations: 64.5 kB / 0.5463 GB, free: 71.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=208): time 4.058e-06/0.8114, allocations: 0 / 0.5463 GB, free: 71.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=250): time 0.05271/0.8641, allocations: 14.4 MB / 0.5603 GB, free: 56.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001635/0.8644, allocations: 397.8 kB / 0.5607 GB, free: 56.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00282/0.8672, allocations: 1.335 MB / 0.562 GB, free: 55.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006119/0.8678, allocations: 73.7 kB / 0.5621 GB, free: 54.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/0.8683, allocations: 0.8004 MB / 0.5628 GB, free: 54.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007688/0.8691, allocations: 0.8315 MB / 0.5637 GB, free: 53.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.8692, allocations: 51.98 kB / 0.5637 GB, free: 53.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.8694, allocations: 398.7 kB / 0.5641 GB, free: 52.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/0.8714, allocations: 1.004 MB / 0.5651 GB, free: 51.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001966/0.8733, allocations: 1.242 MB / 0.5663 GB, free: 50.53 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.03082/0.9042, allocations: 7.441 MB / 0.5736 GB, free: 43.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.9042, allocations: 0 / 0.5736 GB, free: 43.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.005599/0.9098, allocations: 2.944 MB / 0.5764 GB, free: 40.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.9099, allocations: 8 kB / 0.5764 GB, free: 40 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.29e-05/0.9099, allocations: 7.984 kB / 0.5764 GB, free: 40 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008832/0.9108, allocations: 356.8 kB / 0.5768 GB, free: 39.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002835/0.9137, allocations: 0.5422 MB / 0.5773 GB, free: 39.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006759/0.9204, allocations: 10.11 MB / 0.5872 GB, free: 28.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002902/0.9234, allocations: 143.9 kB / 0.5873 GB, free: 28.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003766/0.9238, allocations: 83.95 kB / 0.5874 GB, free: 27.94 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.H[1] = transformer.HStart[1] transformer.H[3] = transformer.HStart[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (253): * Single equations (assignments): 241 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.001246/0.9251, allocations: 470 kB / 0.5879 GB, free: 27.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005626/0.9256, allocations: 209.5 kB / 0.5881 GB, free: 27.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007631/0.9333, allocations: 3.443 MB / 0.5914 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.451e-05/0.9333, allocations: 28 kB / 0.5914 GB, free: 23.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.9334, allocations: 4 kB / 0.5914 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.884e-05/0.9334, allocations: 15.91 kB / 0.5915 GB, free: 23.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/0.9469, allocations: 6.329 MB / 0.5976 GB, free: 17.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/0.947, allocations: 3.938 kB / 0.5976 GB, free: 17.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002281/0.9493, allocations: 431.4 kB / 0.5981 GB, free: 16.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006347/0.9556, allocations: 1.256 MB / 0.5993 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000519/0.9562, allocations: 59.97 kB / 0.5993 GB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01852/0.9747, allocations: 17.67 MB / 0.6166 GB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.9748, allocations: 8.094 kB / 0.6166 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/0.9882, allocations: 5.143 MB / 0.6216 GB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/0.9901, allocations: 0.5298 MB / 0.6221 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006073/0.9907, allocations: 56 kB / 0.6222 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002417/0.9931, allocations: 155.9 kB / 0.6223 GB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005882/0.9937, allocations: 193.8 kB / 0.6225 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/0.9939, allocations: 83.91 kB / 0.6226 GB, free: 6.238 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001819/0.9958, allocations: 1.025 MB / 0.6236 GB, free: 5.215 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9958, allocations: 0 / 0.6236 GB, free: 5.215 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003463/0.9992, allocations: 0.7186 MB / 0.6243 GB, free: 4.496 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 (202): * Single equations (assignments): 193 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008162/1, allocations: 281.2 kB / 0.6246 GB, free: 4.211 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006834/1.007, allocations: 3.399 MB / 0.6279 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.007, allocations: 0 / 0.6279 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004904/1.012, allocations: 2.632 MB / 0.6305 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/1.014, allocations: 335.2 kB / 0.6308 GB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/1.026, allocations: 6.354 MB / 0.637 GB, free: 7.191 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/1.027, allocations: 1.604 MB / 0.6386 GB, free: 5.551 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001926/1.029, allocations: 299.6 kB / 0.6389 GB, free: 5.254 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006818/1.03, allocations: 159.3 kB / 0.639 GB, free: 5.098 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/1.03, allocations: 0 / 0.639 GB, free: 5.098 MB / 410.7 MB Notification: Performance of Templates: time 0.2379/1.268, allocations: 35.52 MB / 0.6737 GB, free: 106.2 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/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