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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009579/0.0009579, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008371/0.000837, allocations: 91 kB / 291.5 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002145/0.0002145, allocations: 7.938 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1854, allocations: 50.4 MB / 401.5 MB, free: 32.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2931/0.4785, allocations: 114.7 MB / 0.5041 GB, free: 46.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.4788, allocations: 91.22 kB / 0.5042 GB, free: 46.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1333/0.6121, allocations: 54.19 MB / 0.5571 GB, free: 38.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6121, allocations: 0 / 0.5571 GB, free: 38.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001631/0.6123, allocations: 54.62 kB / 0.5571 GB, free: 38.17 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.007343/0.6197, allocations: 2.608 MB / 0.5597 GB, free: 36.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.6197, allocations: 9.938 kB / 0.5597 GB, free: 36.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.621, allocations: 282.6 kB / 0.56 GB, free: 36.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/0.6244, allocations: 1.356 MB / 0.5613 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002224/0.6246, allocations: 241.9 kB / 0.5615 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007692/0.6254, allocations: 236.4 kB / 0.5617 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004178/0.6296, allocations: 2.172 MB / 0.5639 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.665e-05/0.6296, allocations: 11.92 kB / 0.5639 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002346/0.6299, allocations: 83.06 kB / 0.5639 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/0.6299, allocations: 47.56 kB / 0.564 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003641/0.6336, allocations: 1.923 MB / 0.5659 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01062/0.6442, allocations: 7.922 MB / 0.5736 GB, free: 29.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/0.6472, allocations: 2.097 MB / 0.5757 GB, free: 27.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.73e-05/0.6473, allocations: 29.98 kB / 0.5757 GB, free: 27.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.6473, allocations: 64.56 kB / 0.5757 GB, free: 27.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=208): time 3.968e-06/0.6473, allocations: 0 / 0.5757 GB, free: 27.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=250): time 0.049/0.6963, allocations: 14.41 MB / 0.5898 GB, free: 13.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/0.6964, allocations: 393.8 kB / 0.5902 GB, free: 12.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/0.6983, allocations: 1.339 MB / 0.5915 GB, free: 11.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003131/0.6987, allocations: 73.64 kB / 0.5916 GB, free: 11.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004037/0.6991, allocations: 0.8081 MB / 0.5924 GB, free: 10.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005759/0.6997, allocations: 0.8393 MB / 0.5932 GB, free: 9.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.6999, allocations: 44 kB / 0.5932 GB, free: 9.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.7, allocations: 394.7 kB / 0.5936 GB, free: 9.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.7019, allocations: 1.004 MB / 0.5946 GB, free: 8.012 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001936/0.7038, allocations: 1.234 MB / 0.5958 GB, free: 6.719 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.02965/0.7335, allocations: 7.452 MB / 0.6031 GB, free: 15.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.7335, allocations: 0 / 0.6031 GB, free: 15.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.00637/0.7399, allocations: 2.948 MB / 0.6059 GB, free: 12.19 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.7399, allocations: 4 kB / 0.6059 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/0.74, allocations: 11.98 kB / 0.6059 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009756/0.7409, allocations: 356.8 kB / 0.6063 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002746/0.7437, allocations: 0.5461 MB / 0.6068 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008799/0.7525, allocations: 10.09 MB / 0.6167 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/0.7551, allocations: 147.9 kB / 0.6168 GB, free: 220 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004099/0.7555, allocations: 83.95 kB / 0.6169 GB, free: 136 kB / 394.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.001374/0.7569, allocations: 469.7 kB / 0.6173 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006333/0.7576, allocations: 217.5 kB / 0.6176 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00817/0.7658, allocations: 3.454 MB / 0.6209 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/0.7658, allocations: 24 kB / 0.621 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.7658, allocations: 4 kB / 0.621 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-05/0.7658, allocations: 15.95 kB / 0.621 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/0.7809, allocations: 6.321 MB / 0.6271 GB, free: 5.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.781, allocations: 4 kB / 0.6271 GB, free: 5.398 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002248/0.7832, allocations: 427.5 kB / 0.6276 GB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006572/0.7898, allocations: 1.253 MB / 0.6288 GB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003471/0.7902, allocations: 59.97 kB / 0.6288 GB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02132/0.8115, allocations: 17.68 MB / 0.6461 GB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.8115, allocations: 96 / 0.6461 GB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/0.824, allocations: 5.146 MB / 0.6511 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/0.8254, allocations: 0.5294 MB / 0.6516 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003292/0.8257, allocations: 59.95 kB / 0.6517 GB, free: 10.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001974/0.8277, allocations: 159.9 kB / 0.6519 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005326/0.8282, allocations: 197.7 kB / 0.652 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/0.8284, allocations: 71.97 kB / 0.6521 GB, free: 10.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001492/0.8299, allocations: 1.029 MB / 0.6531 GB, free: 9.402 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8299, allocations: 0 / 0.6531 GB, free: 9.402 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002574/0.8325, allocations: 0.7108 MB / 0.6538 GB, free: 8.691 MB / 442.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.0006006/0.8331, allocations: 297.2 kB / 0.6541 GB, free: 8.395 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005837/0.839, allocations: 3.395 MB / 0.6574 GB, free: 4.871 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.839, allocations: 4 kB / 0.6574 GB, free: 4.867 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003991/0.843, allocations: 2.632 MB / 0.66 GB, free: 2.113 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/0.845, allocations: 327.1 kB / 0.6603 GB, free: 1.797 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009974/0.855, allocations: 6.345 MB / 0.6665 GB, free: 11.39 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.8564, allocations: 1.608 MB / 0.6681 GB, free: 9.746 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00177/0.8581, allocations: 295.6 kB / 0.6683 GB, free: 9.453 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006244/0.8588, allocations: 163.3 kB / 0.6685 GB, free: 9.293 MB / 458.7 MB Notification: Performance of SimCode: time 1.693e-06/0.8588, allocations: 0 / 0.6685 GB, free: 9.293 MB / 458.7 MB Notification: Performance of Templates: time 0.2224/1.081, allocations: 35.53 MB / 0.7032 GB, free: 127 MB / 458.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