Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 114.5 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 187 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 51.92 kB / 328.5 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07834/0.07949, allocations: 46.61 MB / 375.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.1697/0.2492, allocations: 10.46 MB / 385.6 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009949/0.2592, allocations: 6.309 MB / 391.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001826/0.2611, allocations: 39.06 kB / 392 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.2624, allocations: 493.5 kB / 392.4 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.2647, allocations: 0.9039 MB / 393.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00571/0.2704, allocations: 2.496 MB / 395.8 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004732/0.2752, allocations: 3.474 MB / 399.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.2764, allocations: 0.7531 MB / 400.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.2787, allocations: 1.286 MB / 401.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/0.2806, allocations: 1.468 MB / 402.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004742/0.2811, allocations: 328.4 kB / 403.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.2823, allocations: 0.574 MB / 403.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006077/0.2829, allocations: 0.7358 MB / 404.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.2842, allocations: 1.404 MB / 405.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003609/0.2878, allocations: 3.922 MB / 409.8 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2878, allocations: 1.062 kB / 409.8 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2878, allocations: 3.938 kB / 409.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.519e-05/0.2879, allocations: 0 / 409.8 MB, free: 9.523 MB / 334.1 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.006446/0.2943, allocations: 3.078 MB / 412.9 MB, free: 7.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.2944, allocations: 9.281 kB / 412.9 MB, free: 7.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004511/0.2948, allocations: 273.9 kB / 413.1 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/0.297, allocations: 1.379 MB / 414.5 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002779/0.2973, allocations: 240.6 kB / 414.8 MB, free: 6.078 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004892/0.2978, allocations: 239.3 kB / 415 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003572/0.3014, allocations: 2.171 MB / 417.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.938e-05/0.3014, allocations: 1.375 kB / 417.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.3016, allocations: 87.25 kB / 417.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-05/0.3016, allocations: 46.75 kB / 417.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003738/0.3054, allocations: 1.921 MB / 419.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01077/0.3161, allocations: 7.775 MB / 427 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003167/0.3193, allocations: 2.081 MB / 429.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002654/0.322, allocations: 1.59 MB / 430.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.3221, allocations: 25.94 kB / 430.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.3222, allocations: 64.48 kB / 430.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=208): time 3.406e-06/0.3222, allocations: 3.938 kB / 430.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=250): time 0.04655/0.3687, allocations: 14.07 MB / 444.8 MB, free: 9.266 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002331/0.369, allocations: 397.8 kB / 445.2 MB, free: 8.789 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/0.371, allocations: 1.51 MB / 446.7 MB, free: 7.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001582/0.3712, allocations: 65.7 kB / 446.8 MB, free: 7.199 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005944/0.3718, allocations: 0.8197 MB / 447.6 MB, free: 6.371 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006989/0.3725, allocations: 0.8354 MB / 448.4 MB, free: 5.523 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006856/0.3732, allocations: 412.5 kB / 448.8 MB, free: 5.113 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.3733, allocations: 301.1 kB / 449.1 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/0.3752, allocations: 0.9963 MB / 450.1 MB, free: 3.816 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002052/0.3772, allocations: 1.264 MB / 451.4 MB, free: 2.484 MB / 366.1 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.02974/0.407, allocations: 9.425 MB / 460.8 MB, free: 8.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.548e-05/0.407, allocations: 11.94 kB / 460.8 MB, free: 8.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005418/0.4125, allocations: 2.94 MB / 463.8 MB, free: 5.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.4125, allocations: 11.94 kB / 463.8 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.4125, allocations: 7.984 kB / 463.8 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008627/0.4134, allocations: 349 kB / 464.1 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00237/0.4158, allocations: 0.5422 MB / 464.7 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008261/0.424, allocations: 10.94 MB / 475.6 MB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/0.4261, allocations: 124 kB / 475.7 MB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/0.4263, allocations: 83.95 kB / 475.8 MB, free: 9.016 MB / 398.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: transformer.winding13.i = transformer.I1Start[3] transformer.H[2] = transformer.HStart[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 9 (diode6.off,diode5.off,diode4.off,diode3.off,diode2.off,diode1.off,transformer.core3.asc,transformer.core2.asc,transformer.core1.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (259): * Single equations (assignments): 247 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,6), (2,6), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0008823/0.4272, allocations: 468.7 kB / 476.3 MB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003802/0.4276, allocations: 217.3 kB / 476.5 MB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007766/0.4353, allocations: 3.457 MB / 480 MB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/0.4354, allocations: 24 kB / 480 MB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.4354, allocations: 4 kB / 480 MB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.159e-05/0.4354, allocations: 15.95 kB / 480 MB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/0.4474, allocations: 6.27 MB / 486.3 MB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.4474, allocations: 0 / 486.3 MB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/0.4493, allocations: 427.4 kB / 486.7 MB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005178/0.4545, allocations: 1.198 MB / 487.9 MB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001981/0.4547, allocations: 59.97 kB / 487.9 MB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01925/0.474, allocations: 18.89 MB / 0.4949 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.474, allocations: 4.062 kB / 0.495 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009559/0.4836, allocations: 4.924 MB / 0.4998 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009923/0.4846, allocations: 0.5372 MB / 0.5003 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002694/0.4849, allocations: 52 kB / 0.5003 GB, free: 2.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/0.4865, allocations: 140 kB / 0.5005 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004802/0.487, allocations: 205.8 kB / 0.5007 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/0.4872, allocations: 71.92 kB / 0.5007 GB, free: 2.426 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001322/0.4885, allocations: 1.041 MB / 0.5017 GB, free: 1.387 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4885, allocations: 0 / 0.5017 GB, free: 1.387 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002335/0.4909, allocations: 0.6953 MB / 0.5024 GB, free: 0.6914 MB / 430.1 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 (205): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,8), (1,8), (1,8), (2,6), (2,6), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004913/0.4914, allocations: 261 kB / 0.5027 GB, free: 436 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005242/0.4966, allocations: 3.353 MB / 0.506 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.4966, allocations: 4 kB / 0.506 GB, free: 12.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003325/0.5, allocations: 2.593 MB / 0.5085 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/0.5018, allocations: 381.5 kB / 0.5089 GB, free: 9.855 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009064/0.5109, allocations: 5.285 MB / 0.514 GB, free: 4.512 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/0.5123, allocations: 1.565 MB / 0.5155 GB, free: 2.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001621/0.5139, allocations: 291.8 kB / 0.5158 GB, free: 2.621 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007813/0.5147, allocations: 159.4 kB / 0.516 GB, free: 2.465 MB / 446.1 MB Notification: Performance of SimCode: time 8.91e-07/0.5147, allocations: 4 kB / 0.516 GB, free: 2.461 MB / 446.1 MB Notification: Performance of Templates: time 0.2205/0.7352, allocations: 39.7 MB / 0.5547 GB, free: 153.6 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches