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.001002/0.001002, allocations: 204.4 kB / 18.11 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 226.5 MB / 245.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007725/0.0007724, allocations: 103 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003124, allocations: 8 kB / 358.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.231, allocations: 51.28 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.277/0.508, allocations: 115.5 MB / 0.5126 GB, free: 95.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.5083, allocations: 93.3 kB / 0.5127 GB, free: 95.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1277/0.6361, allocations: 54.18 MB / 0.5656 GB, free: 47.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6361, allocations: 0 / 0.5656 GB, free: 47.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001731/0.6363, allocations: 59.92 kB / 0.5657 GB, free: 47.12 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.006601/0.6429, allocations: 2.587 MB / 0.5682 GB, free: 44.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.643, allocations: 8.031 kB / 0.5682 GB, free: 44.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.6442, allocations: 313.6 kB / 0.5685 GB, free: 44.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002794/0.647, allocations: 1.412 MB / 0.5699 GB, free: 42.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/0.6472, allocations: 245.4 kB / 0.5701 GB, free: 42.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006962/0.6479, allocations: 244.3 kB / 0.5703 GB, free: 42.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0041/0.6521, allocations: 2.187 MB / 0.5725 GB, free: 39.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-05/0.6521, allocations: 11.83 kB / 0.5725 GB, free: 39.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002332/0.6524, allocations: 84 kB / 0.5726 GB, free: 39.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/0.6524, allocations: 48 kB / 0.5726 GB, free: 39.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003732/0.6561, allocations: 1.924 MB / 0.5745 GB, free: 37.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/0.6677, allocations: 7.912 MB / 0.5822 GB, free: 29.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/0.6707, allocations: 2.107 MB / 0.5843 GB, free: 27.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002138/0.6729, allocations: 1.445 MB / 0.5857 GB, free: 26.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.616e-05/0.673, allocations: 25.98 kB / 0.5857 GB, free: 26.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.6731, allocations: 68.44 kB / 0.5858 GB, free: 26.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=208): time 4.709e-06/0.6731, allocations: 0 / 0.5858 GB, free: 26.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=250): time 0.04624/0.7193, allocations: 14.53 MB / 0.6 GB, free: 11.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/0.7194, allocations: 397.8 kB / 0.6003 GB, free: 10.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.7213, allocations: 1.498 MB / 0.6018 GB, free: 9.371 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002954/0.7216, allocations: 77.64 kB / 0.6019 GB, free: 9.289 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.722, allocations: 0.7965 MB / 0.6027 GB, free: 8.484 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004877/0.7225, allocations: 0.8354 MB / 0.6035 GB, free: 7.637 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.7226, allocations: 44 kB / 0.6035 GB, free: 7.594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.7227, allocations: 410.6 kB / 0.6039 GB, free: 7.188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/0.7246, allocations: 1.008 MB / 0.6049 GB, free: 6.176 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/0.7265, allocations: 1.258 MB / 0.6061 GB, free: 4.859 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.02917/0.7557, allocations: 8.532 MB / 0.6145 GB, free: 12.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.7557, allocations: 4 kB / 0.6145 GB, free: 12.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.006029/0.7617, allocations: 2.979 MB / 0.6174 GB, free: 9.191 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.7618, allocations: 8 kB / 0.6174 GB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.918e-05/0.7618, allocations: 4 kB / 0.6174 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.7628, allocations: 368.8 kB / 0.6177 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002684/0.7655, allocations: 0.5618 MB / 0.6183 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008443/0.774, allocations: 10 MB / 0.628 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/0.7764, allocations: 143.9 kB / 0.6282 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002093/0.7766, allocations: 83.95 kB / 0.6283 GB, free: 13.21 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.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.001101/0.7778, allocations: 469.3 kB / 0.6287 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004245/0.7782, allocations: 201.6 kB / 0.6289 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008068/0.7863, allocations: 3.532 MB / 0.6324 GB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.597e-05/0.7863, allocations: 28 kB / 0.6324 GB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/0.7863, allocations: 7.938 kB / 0.6324 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.59e-05/0.7864, allocations: 15.89 kB / 0.6324 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/0.8, allocations: 6.379 MB / 0.6386 GB, free: 2.336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.8, allocations: 4 kB / 0.6386 GB, free: 2.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001996/0.802, allocations: 431.4 kB / 0.639 GB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006023/0.8081, allocations: 1.261 MB / 0.6403 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003105/0.8084, allocations: 67.97 kB / 0.6403 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02042/0.8288, allocations: 17.4 MB / 0.6573 GB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8288, allocations: 3.938 kB / 0.6573 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/0.8407, allocations: 5.176 MB / 0.6624 GB, free: 8.641 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/0.8422, allocations: 0.5294 MB / 0.6629 GB, free: 8.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003782/0.8426, allocations: 56 kB / 0.663 GB, free: 8.035 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/0.8444, allocations: 155.9 kB / 0.6631 GB, free: 7.883 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005203/0.8449, allocations: 205.7 kB / 0.6633 GB, free: 7.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/0.8451, allocations: 75.91 kB / 0.6634 GB, free: 7.605 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001518/0.8466, allocations: 1.029 MB / 0.6644 GB, free: 6.578 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8466, allocations: 0 / 0.6644 GB, free: 6.578 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002572/0.8492, allocations: 0.7147 MB / 0.6651 GB, free: 5.863 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 (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.0006124/0.8498, allocations: 299.5 kB / 0.6654 GB, free: 5.562 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006021/0.8559, allocations: 3.407 MB / 0.6687 GB, free: 2.027 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.8559, allocations: 8 kB / 0.6687 GB, free: 2.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1637/1.02, allocations: 2.643 MB / 0.6713 GB, free: 115 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/1.022, allocations: 369.8 kB / 0.6716 GB, free: 115 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008347/1.031, allocations: 6.413 MB / 0.6779 GB, free: 112.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008892/1.031, allocations: 1.565 MB / 0.6794 GB, free: 111.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001562/1.033, allocations: 288.1 kB / 0.6797 GB, free: 111.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006261/1.034, allocations: 161.2 kB / 0.6799 GB, free: 111.7 MB / 442.7 MB Notification: Performance of SimCode: time 7.72e-07/1.034, allocations: 0 / 0.6799 GB, free: 111.7 MB / 442.7 MB Notification: Performance of Templates: time 0.04765/1.081, allocations: 36.37 MB / 0.7154 GB, free: 105.9 MB / 442.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/jenkins1/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