Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001639/0.00164, allocations: 176.8 kB / 17.41 MB, free: 4.383 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.805/2.805, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.001282/0.001282, allocations: 89.92 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006564/0.0006568, allocations: 12 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4943/0.495, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2094/0.7044, allocations: 111.3 MB / 487 MB, free: 1.238 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000427/0.7049, allocations: 87.95 kB / 487.1 MB, free: 1.152 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5602/1.265, allocations: 53.15 MB / 0.5276 GB, free: 90.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.293e-06/1.265, allocations: 0 / 0.5276 GB, free: 90.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005558/1.266, allocations: 55.94 kB / 0.5277 GB, free: 90.76 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.01427/1.28, allocations: 2.58 MB / 0.5302 GB, free: 88.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.024e-05/1.28, allocations: 8.031 kB / 0.5302 GB, free: 88.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002485/1.283, allocations: 273.8 kB / 0.5305 GB, free: 87.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007415/1.29, allocations: 1.416 MB / 0.5318 GB, free: 86.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007028/1.291, allocations: 245.5 kB / 0.5321 GB, free: 86.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001914/1.293, allocations: 248.2 kB / 0.5323 GB, free: 85.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009464/1.303, allocations: 2.187 MB / 0.5345 GB, free: 83.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-05/1.303, allocations: 7.938 kB / 0.5345 GB, free: 83.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003837/1.303, allocations: 80 kB / 0.5345 GB, free: 83.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.605e-05/1.303, allocations: 48 kB / 0.5346 GB, free: 83.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007927/1.311, allocations: 1.924 MB / 0.5365 GB, free: 81.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02659/1.338, allocations: 7.915 MB / 0.5442 GB, free: 73.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006072/1.344, allocations: 2.097 MB / 0.5462 GB, free: 71.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004494/1.349, allocations: 1.437 MB / 0.5476 GB, free: 69.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/1.349, allocations: 29.98 kB / 0.5477 GB, free: 69.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/1.349, allocations: 60.5 kB / 0.5477 GB, free: 69.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=208): time 1.26e-05/1.349, allocations: 3.938 kB / 0.5477 GB, free: 69.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=250): time 0.08158/1.431, allocations: 14.54 MB / 0.5619 GB, free: 55.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002157/1.431, allocations: 401.7 kB / 0.5623 GB, free: 54.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003095/1.434, allocations: 1.491 MB / 0.5638 GB, free: 53.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009231/1.435, allocations: 73.7 kB / 0.5638 GB, free: 52.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009652/1.436, allocations: 0.812 MB / 0.5646 GB, free: 52.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001389/1.437, allocations: 0.8276 MB / 0.5654 GB, free: 51.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/1.438, allocations: 51.98 kB / 0.5655 GB, free: 51.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/1.438, allocations: 402.6 kB / 0.5659 GB, free: 50.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002188/1.44, allocations: 1.012 MB / 0.5669 GB, free: 49.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002157/1.442, allocations: 1.25 MB / 0.5681 GB, free: 48.54 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.03921/1.482, allocations: 8.54 MB / 0.5764 GB, free: 39.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.91e-05/1.482, allocations: 3.938 kB / 0.5764 GB, free: 39.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01032/1.492, allocations: 2.987 MB / 0.5793 GB, free: 36.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.236e-05/1.492, allocations: 4 kB / 0.5793 GB, free: 36.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-05/1.492, allocations: 7.984 kB / 0.5794 GB, free: 36.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001697/1.494, allocations: 372.8 kB / 0.5797 GB, free: 36.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003358/1.497, allocations: 0.5578 MB / 0.5803 GB, free: 35.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/1.507, allocations: 9.997 MB / 0.59 GB, free: 25.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003733/1.511, allocations: 136 kB / 0.5901 GB, free: 24.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005048/1.512, allocations: 83.95 kB / 0.5902 GB, free: 24.89 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.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.001605/1.513, allocations: 468.8 kB / 0.5907 GB, free: 24.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009755/1.514, allocations: 213.5 kB / 0.5909 GB, free: 24.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01504/1.529, allocations: 3.528 MB / 0.5943 GB, free: 20.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.569e-05/1.53, allocations: 27.94 kB / 0.5943 GB, free: 20.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.058e-05/1.53, allocations: 7.938 kB / 0.5944 GB, free: 20.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.783e-05/1.53, allocations: 15.95 kB / 0.5944 GB, free: 20.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02737/1.557, allocations: 6.387 MB / 0.6006 GB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.014e-05/1.557, allocations: 0 / 0.6006 GB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004056/1.561, allocations: 435.4 kB / 0.601 GB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009857/1.571, allocations: 1.26 MB / 0.6023 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001066/1.572, allocations: 55.98 kB / 0.6023 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03186/1.604, allocations: 17.41 MB / 0.6193 GB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.604, allocations: 0 / 0.6193 GB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02334/1.628, allocations: 5.177 MB / 0.6244 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003171/1.631, allocations: 0.5333 MB / 0.6249 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001013/1.632, allocations: 63.98 kB / 0.6249 GB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003026/1.635, allocations: 155.8 kB / 0.6251 GB, free: 3.555 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00067/1.636, allocations: 201.7 kB / 0.6253 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/1.636, allocations: 75.97 kB / 0.6254 GB, free: 3.281 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002019/1.638, allocations: 1.029 MB / 0.6264 GB, free: 2.254 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/1.638, allocations: 0 / 0.6264 GB, free: 2.254 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003865/1.642, allocations: 0.7187 MB / 0.6271 GB, free: 1.535 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 (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.0008138/1.643, allocations: 285.6 kB / 0.6273 GB, free: 1.242 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007249/1.65, allocations: 3.415 MB / 0.6307 GB, free: 13.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.65, allocations: 8 kB / 0.6307 GB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005013/1.655, allocations: 2.64 MB / 0.6333 GB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003006/1.658, allocations: 370.9 kB / 0.6336 GB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/1.671, allocations: 6.509 MB / 0.64 GB, free: 4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002134/1.673, allocations: 1.557 MB / 0.6415 GB, free: 2.406 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00189/1.675, allocations: 175.3 kB / 0.6417 GB, free: 2.234 MB / 410.7 MB Notification: Performance of SimCode: time 1.442e-06/1.675, allocations: 3.938 kB / 0.6417 GB, free: 2.23 MB / 410.7 MB Notification: Performance of Templates: time 0.5664/2.242, allocations: 96.11 MB / 0.7355 GB, free: 43.29 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches