Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_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_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001477, allocations: 203.4 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 226.5 MB / 245.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007693/0.000769, allocations: 95.03 kB / 297.4 MB, free: 6.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002148/0.0002148, allocations: 4 kB / 357.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2205, allocations: 51.29 MB / 408.7 MB, free: 27.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2758/0.4963, allocations: 115.5 MB / 0.5119 GB, free: 95.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.4966, allocations: 90.03 kB / 0.512 GB, free: 95.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1228/0.6194, allocations: 54.17 MB / 0.5649 GB, free: 47.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6194, allocations: 0 / 0.5649 GB, free: 47.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001033/0.6195, allocations: 59.94 kB / 0.565 GB, free: 47.21 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.005141/0.6247, allocations: 2.588 MB / 0.5675 GB, free: 44.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.6247, allocations: 12.02 kB / 0.5675 GB, free: 44.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006798/0.6254, allocations: 313.6 kB / 0.5678 GB, free: 44.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.6274, allocations: 1.416 MB / 0.5692 GB, free: 42.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.6276, allocations: 241.5 kB / 0.5694 GB, free: 42.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004536/0.628, allocations: 236.4 kB / 0.5696 GB, free: 42.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003259/0.6313, allocations: 2.187 MB / 0.5718 GB, free: 40 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.333e-05/0.6313, allocations: 7.906 kB / 0.5718 GB, free: 40 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/0.6315, allocations: 80 kB / 0.5719 GB, free: 39.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.6315, allocations: 44 kB / 0.5719 GB, free: 39.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00335/0.6349, allocations: 1.927 MB / 0.5738 GB, free: 37.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009603/0.6445, allocations: 7.919 MB / 0.5815 GB, free: 29.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002864/0.6474, allocations: 2.111 MB / 0.5836 GB, free: 27.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002109/0.6495, allocations: 1.441 MB / 0.585 GB, free: 26.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.6497, allocations: 33.92 kB / 0.585 GB, free: 26.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.6497, allocations: 68.5 kB / 0.5851 GB, free: 26.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=208): time 3.647e-06/0.6497, allocations: 3.938 kB / 0.5851 GB, free: 26.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=250): time 0.04432/0.694, allocations: 14.52 MB / 0.5993 GB, free: 11.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.445e-05/0.6942, allocations: 385.8 kB / 0.5996 GB, free: 10.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.696, allocations: 1.506 MB / 0.6011 GB, free: 9.449 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000303/0.6964, allocations: 69.7 kB / 0.6012 GB, free: 9.375 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/0.6967, allocations: 0.8082 MB / 0.602 GB, free: 8.559 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005169/0.6973, allocations: 0.8393 MB / 0.6028 GB, free: 7.707 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.6974, allocations: 44 kB / 0.6028 GB, free: 7.664 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.6975, allocations: 398.6 kB / 0.6032 GB, free: 7.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/0.6993, allocations: 1.016 MB / 0.6042 GB, free: 6.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.7013, allocations: 1.258 MB / 0.6054 GB, free: 4.934 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.02878/0.7301, allocations: 8.528 MB / 0.6137 GB, free: 12.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/0.7301, allocations: 4 kB / 0.6138 GB, free: 12.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.005919/0.736, allocations: 2.979 MB / 0.6167 GB, free: 9.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.7361, allocations: 7.984 kB / 0.6167 GB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.142e-05/0.7361, allocations: 4 kB / 0.6167 GB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.7372, allocations: 376.8 kB / 0.617 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/0.7398, allocations: 0.5578 MB / 0.6176 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008233/0.7481, allocations: 9.998 MB / 0.6273 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/0.7505, allocations: 139.9 kB / 0.6275 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/0.7507, allocations: 87.95 kB / 0.6276 GB, free: 13.29 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.001138/0.7519, allocations: 465.4 kB / 0.628 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004219/0.7523, allocations: 205.6 kB / 0.6282 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008045/0.7603, allocations: 3.535 MB / 0.6317 GB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/0.7604, allocations: 24 kB / 0.6317 GB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.7604, allocations: 7.938 kB / 0.6317 GB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.064e-05/0.7604, allocations: 19.95 kB / 0.6317 GB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.7738, allocations: 6.387 MB / 0.6379 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.7739, allocations: 0 / 0.6379 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002002/0.7759, allocations: 431.5 kB / 0.6384 GB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006054/0.782, allocations: 1.26 MB / 0.6396 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004037/0.7824, allocations: 59.97 kB / 0.6396 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01972/0.8021, allocations: 17.41 MB / 0.6566 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.8022, allocations: 4.031 kB / 0.6566 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/0.814, allocations: 5.172 MB / 0.6617 GB, free: 8.723 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/0.8152, allocations: 0.5295 MB / 0.6622 GB, free: 8.172 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003003/0.8155, allocations: 59.98 kB / 0.6623 GB, free: 8.113 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001768/0.8173, allocations: 147.8 kB / 0.6624 GB, free: 7.969 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005278/0.8178, allocations: 209.8 kB / 0.6626 GB, free: 7.762 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/0.818, allocations: 75.97 kB / 0.6627 GB, free: 7.688 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001417/0.8194, allocations: 1.033 MB / 0.6637 GB, free: 6.656 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8194, allocations: 0 / 0.6637 GB, free: 6.656 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002522/0.8219, allocations: 0.7147 MB / 0.6644 GB, free: 5.941 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.0005833/0.8225, allocations: 287.9 kB / 0.6647 GB, free: 5.652 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00576/0.8283, allocations: 3.419 MB / 0.668 GB, free: 2.105 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.8283, allocations: 4 kB / 0.668 GB, free: 2.102 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1684/0.9967, allocations: 2.641 MB / 0.6706 GB, free: 115 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002769/0.9995, allocations: 372.7 kB / 0.6709 GB, free: 115 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008208/1.008, allocations: 6.497 MB / 0.6773 GB, free: 112.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009513/1.009, allocations: 1.558 MB / 0.6788 GB, free: 111.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008383/1.01, allocations: 170.7 kB / 0.679 GB, free: 111.7 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/1.01, allocations: 0 / 0.679 GB, free: 111.7 MB / 442.7 MB Notification: Performance of Templates: time 0.06804/1.078, allocations: 96.11 MB / 0.7728 GB, free: 46.54 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches