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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009908/0.0009909, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.16/1.16, allocations: 227.2 MB / 245 MB, free: 7.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008213/0.0008214, allocations: 111.7 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002074/0.0002074, allocations: 8 kB / 357.9 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1878, allocations: 51.48 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2992/0.4871, allocations: 115.5 MB / 0.5126 GB, free: 42.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.4874, allocations: 91.75 kB / 0.5127 GB, free: 42.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.126/0.6134, allocations: 54.28 MB / 0.5657 GB, free: 29.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6134, allocations: 0 / 0.5657 GB, free: 29.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001115/0.6136, allocations: 57.81 kB / 0.5658 GB, free: 29.98 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.005687/0.6192, allocations: 2.61 MB / 0.5683 GB, free: 28.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.6193, allocations: 11.25 kB / 0.5683 GB, free: 28.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008558/0.6202, allocations: 309.8 kB / 0.5686 GB, free: 28.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002252/0.6224, allocations: 1.362 MB / 0.5699 GB, free: 27.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.6226, allocations: 240.4 kB / 0.5702 GB, free: 27.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005319/0.6231, allocations: 232.5 kB / 0.5704 GB, free: 27.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003348/0.6265, allocations: 2.177 MB / 0.5725 GB, free: 26.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.98e-05/0.6266, allocations: 7.844 kB / 0.5725 GB, free: 26.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/0.6267, allocations: 83.44 kB / 0.5726 GB, free: 26.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.6268, allocations: 52 kB / 0.5727 GB, free: 26.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003416/0.6302, allocations: 1.923 MB / 0.5745 GB, free: 25.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/0.6409, allocations: 7.923 MB / 0.5823 GB, free: 18.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003052/0.644, allocations: 2.107 MB / 0.5843 GB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.199e-05/0.6441, allocations: 25.98 kB / 0.5844 GB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.6442, allocations: 68.5 kB / 0.5844 GB, free: 15.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=208): time 4.389e-06/0.6442, allocations: 0 / 0.5844 GB, free: 15.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=250): time 0.04649/0.6907, allocations: 14.41 MB / 0.5985 GB, free: 1.352 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.508e-05/0.6908, allocations: 385.8 kB / 0.5989 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/0.6926, allocations: 1.339 MB / 0.6002 GB, free: 15.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000236/0.6928, allocations: 73.7 kB / 0.6002 GB, free: 15.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005334/0.6934, allocations: 0.8082 MB / 0.601 GB, free: 14.64 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006225/0.694, allocations: 0.8276 MB / 0.6018 GB, free: 13.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.6942, allocations: 59.98 kB / 0.6019 GB, free: 13.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.6943, allocations: 398.6 kB / 0.6023 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/0.6963, allocations: 1 MB / 0.6032 GB, free: 12.35 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002084/0.6984, allocations: 1.242 MB / 0.6045 GB, free: 11.05 MB / 394.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.02942/0.7278, allocations: 7.449 MB / 0.6117 GB, free: 3.527 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.7278, allocations: 0 / 0.6117 GB, free: 3.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.005371/0.7332, allocations: 2.944 MB / 0.6146 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.7332, allocations: 8 kB / 0.6146 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-05/0.7333, allocations: 4 kB / 0.6146 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008889/0.7342, allocations: 364.8 kB / 0.615 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002586/0.7368, allocations: 0.5385 MB / 0.6155 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00765/0.7444, allocations: 10.1 MB / 0.6254 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/0.7466, allocations: 140.5 kB / 0.6255 GB, free: 4.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/0.7468, allocations: 91.95 kB / 0.6256 GB, free: 4.469 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] = 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.001059/0.7479, allocations: 469.8 kB / 0.626 GB, free: 4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003825/0.7482, allocations: 205.5 kB / 0.6262 GB, free: 3.797 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007689/0.7559, allocations: 3.45 MB / 0.6296 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/0.756, allocations: 28 kB / 0.6296 GB, free: 232 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.756, allocations: 7.938 kB / 0.6296 GB, free: 224 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.518e-05/0.756, allocations: 23.89 kB / 0.6296 GB, free: 200 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/0.769, allocations: 6.325 MB / 0.6358 GB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.769, allocations: 0 / 0.6358 GB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001991/0.771, allocations: 427.4 kB / 0.6362 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005962/0.777, allocations: 1.253 MB / 0.6375 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001746/0.7772, allocations: 59.97 kB / 0.6375 GB, free: 7.965 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0196/0.7968, allocations: 17.68 MB / 0.6548 GB, free: 5.074 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-06/0.7968, allocations: 8.016 kB / 0.6548 GB, free: 5.066 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/0.8084, allocations: 5.134 MB / 0.6598 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.8095, allocations: 0.5334 MB / 0.6603 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/0.8098, allocations: 59.94 kB / 0.6604 GB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/0.8117, allocations: 147.9 kB / 0.6605 GB, free: 15.03 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004699/0.8121, allocations: 205.8 kB / 0.6607 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/0.8123, allocations: 71.97 kB / 0.6608 GB, free: 14.75 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001385/0.8137, allocations: 1.033 MB / 0.6618 GB, free: 13.72 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8137, allocations: 0 / 0.6618 GB, free: 13.72 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002343/0.8161, allocations: 0.7146 MB / 0.6625 GB, free: 13.01 MB / 458.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.0005818/0.8166, allocations: 300.9 kB / 0.6628 GB, free: 12.71 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005246/0.8219, allocations: 3.399 MB / 0.6661 GB, free: 9.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8219, allocations: 0 / 0.6661 GB, free: 9.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00345/0.8254, allocations: 2.624 MB / 0.6687 GB, free: 6.434 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.8268, allocations: 331.9 kB / 0.669 GB, free: 6.117 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1656/0.9924, allocations: 6.358 MB / 0.6752 GB, free: 125.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001924/0.9944, allocations: 1.608 MB / 0.6768 GB, free: 124.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001893/0.9963, allocations: 290.9 kB / 0.677 GB, free: 124.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007927/0.9971, allocations: 158 kB / 0.6772 GB, free: 124.4 MB / 458.7 MB Notification: Performance of SimCode: time 6.32e-07/0.9971, allocations: 0 / 0.6772 GB, free: 124.4 MB / 458.7 MB Notification: Performance of Templates: time 0.04552/1.043, allocations: 35.55 MB / 0.7119 GB, free: 122.8 MB / 458.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