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.001538/0.001539, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 221.5 MB / 230.3 MB, free: 7.512 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007889/0.000789, allocations: 94.22 kB / 281.2 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.642e-05/1.645e-05, allocations: 4 kB / 337.1 MB, free: 10 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.105, allocations: 50.41 MB / 387.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4135/0.5186, allocations: 113.9 MB / 0.4896 GB, free: 12.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.519, allocations: 91.94 kB / 0.4897 GB, free: 12.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1464/0.6653, allocations: 53.59 MB / 0.5421 GB, free: 6.938 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.6654, allocations: 0 / 0.5421 GB, free: 6.938 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001197/0.6655, allocations: 56 kB / 0.5421 GB, free: 6.883 MB / 426.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.004723/0.6702, allocations: 2.239 MB / 0.5443 GB, free: 4.586 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.6703, allocations: 12.03 kB / 0.5443 GB, free: 4.574 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005065/0.6708, allocations: 276.7 kB / 0.5446 GB, free: 4.301 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/0.6731, allocations: 1.342 MB / 0.5459 GB, free: 2.906 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.6733, allocations: 180.9 kB / 0.5461 GB, free: 2.711 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000501/0.6738, allocations: 163.8 kB / 0.5462 GB, free: 2.551 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002897/0.6768, allocations: 1.624 MB / 0.5478 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2191/0.8958, allocations: 1.781 MB / 0.5495 GB, free: 105.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.425e-05/0.8959, allocations: 6.156 kB / 0.5495 GB, free: 105.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001677/0.8961, allocations: 3.188 kB / 0.5495 GB, free: 105.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.536e-05/0.8962, allocations: 48.03 kB / 0.5496 GB, free: 105.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01588/0.912, allocations: 7.558 MB / 0.557 GB, free: 103.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/0.9149, allocations: 1.854 MB / 0.5588 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002163/0.9171, allocations: 1.274 MB / 0.56 GB, free: 103.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.9173, allocations: 29.47 kB / 0.5601 GB, free: 103.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/0.9173, allocations: 64.36 kB / 0.5601 GB, free: 103.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=208): time 4.358e-06/0.9173, allocations: 0 / 0.5601 GB, free: 103.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=250): time 0.03016/0.9475, allocations: 9.098 MB / 0.569 GB, free: 102.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001975/0.9478, allocations: 401.1 kB / 0.5694 GB, free: 101.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002828/0.9506, allocations: 1.175 MB / 0.5705 GB, free: 101.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005849/0.9512, allocations: 26.92 kB / 0.5706 GB, free: 101.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006105/0.9518, allocations: 0.8076 MB / 0.5713 GB, free: 101.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008748/0.9527, allocations: 0.8 MB / 0.5721 GB, free: 100.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.9528, allocations: 1.125 kB / 0.5721 GB, free: 100.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.953, allocations: 403.2 kB / 0.5725 GB, free: 100.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.9544, allocations: 0.8734 MB / 0.5734 GB, free: 99.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.9558, allocations: 1.081 MB / 0.5744 GB, free: 99.33 MB / 426.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.02444/0.9803, allocations: 6.952 MB / 0.5812 GB, free: 97.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.9803, allocations: 0 / 0.5812 GB, free: 97.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01899/0.9993, allocations: 5.638 MB / 0.5867 GB, free: 95.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.9994, allocations: 6.094 kB / 0.5867 GB, free: 95.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.382e-05/0.9994, allocations: 6.422 kB / 0.5867 GB, free: 95.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01736/1.017, allocations: 3.585 MB / 0.5902 GB, free: 95.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/1.019, allocations: 376.6 kB / 0.5906 GB, free: 94.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03412/1.053, allocations: 23.99 MB / 0.614 GB, free: 77.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/1.055, allocations: 96.66 kB / 0.6141 GB, free: 77.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003095/1.056, allocations: 80.5 kB / 0.6142 GB, free: 77.75 MB / 426.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] = $START.transformer.H[1] transformer.H[3] = $START.transformer.H[3]. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transformer.core2.Hstat:VARIABLE(unit = "A/m" ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transformer.core1.Hstat:VARIABLE(unit = "A/m" ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transformer.core3.Hstat:VARIABLE(unit = "A/m" ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 180 * 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: 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 19,1 20,1 20,2 7,2 7,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000557/1.056, allocations: 167 kB / 0.6143 GB, free: 77.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004639/1.057, allocations: 199 kB / 0.6145 GB, free: 77.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006016/1.063, allocations: 2.987 MB / 0.6175 GB, free: 76.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/1.063, allocations: 26.91 kB / 0.6175 GB, free: 76.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/1.063, allocations: 7.359 kB / 0.6175 GB, free: 76.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/1.063, allocations: 10.22 kB / 0.6175 GB, free: 76.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/1.073, allocations: 5.64 MB / 0.623 GB, free: 72.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.073, allocations: 0 / 0.623 GB, free: 72.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001966/1.075, allocations: 433 kB / 0.6234 GB, free: 71.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004812/1.08, allocations: 1.176 MB / 0.6246 GB, free: 70.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003506/1.08, allocations: 30.61 kB / 0.6246 GB, free: 70.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01415/1.095, allocations: 16.44 MB / 0.6406 GB, free: 54.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.095, allocations: 4.031 kB / 0.6407 GB, free: 54.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00872/1.103, allocations: 4.548 MB / 0.6451 GB, free: 49.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/1.105, allocations: 0.519 MB / 0.6456 GB, free: 49.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000303/1.105, allocations: 14.62 kB / 0.6456 GB, free: 49.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001846/1.107, allocations: 110.9 kB / 0.6457 GB, free: 49.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004282/1.107, allocations: 207.2 kB / 0.6459 GB, free: 49.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/1.107, allocations: 67.09 kB / 0.646 GB, free: 49.22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00109/1.108, allocations: 0.889 MB / 0.6468 GB, free: 48.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.172e-06/1.108, allocations: 0 / 0.6468 GB, free: 48.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00332/1.112, allocations: 0.6785 MB / 0.6475 GB, free: 47.74 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (transformer.Phi[1],transformer.Phi[2],transformer.Phi[3],transformer.core1.Hstat,transformer.core2.Hstat,transformer.core3.Hstat,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 () * 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.0006624/1.112, allocations: 247.2 kB / 0.6477 GB, free: 47.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004543/1.117, allocations: 3.555 MB / 0.6512 GB, free: 44.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.117, allocations: 0 / 0.6512 GB, free: 44.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002689/1.12, allocations: 2.373 MB / 0.6535 GB, free: 41.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/1.121, allocations: 236.4 kB / 0.6538 GB, free: 41.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006091/1.128, allocations: 4.267 MB / 0.6579 GB, free: 37.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000889/1.128, allocations: 1.643 MB / 0.6595 GB, free: 36.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001145/1.13, allocations: 245.3 kB / 0.6598 GB, free: 36.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004419/1.13, allocations: 132.8 kB / 0.6599 GB, free: 36.04 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/1.13, allocations: 4 kB / 0.6599 GB, free: 36.03 MB / 426.7 MB Notification: Performance of Templates: time 0.05095/1.181, allocations: 38.88 MB / 0.6979 GB, free: 2.766 MB / 426.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