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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001537/0.001537, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 46.61 kB / 301.3 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0917/0.09286, allocations: 49.44 MB / 350.7 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01175/0.1046, allocations: 10.56 MB / 361.3 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.1157, allocations: 6.282 MB / 367.6 MB, free: 3.496 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.1176, allocations: 39.81 kB / 367.6 MB, free: 3.457 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.1193, allocations: 487.8 kB / 368.1 MB, free: 2.977 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003262/0.1226, allocations: 0.9037 MB / 369 MB, free: 2.066 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.177/0.2996, allocations: 2.492 MB / 371.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00598/0.3056, allocations: 3.444 MB / 374.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/0.3074, allocations: 0.7568 MB / 375.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003193/0.3106, allocations: 1.272 MB / 377 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003047/0.3137, allocations: 1.464 MB / 378.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006137/0.3143, allocations: 328.3 kB / 378.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.3156, allocations: 0.5649 MB / 379.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006385/0.3163, allocations: 0.7411 MB / 380.1 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.3176, allocations: 1.398 MB / 381.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003971/0.3216, allocations: 3.878 MB / 385.3 MB, free: 7.738 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3217, allocations: 5.031 kB / 385.3 MB, free: 7.734 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3217, allocations: 0 / 385.3 MB, free: 7.734 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.633e-05/0.3218, allocations: 0 / 385.3 MB, free: 7.734 MB / 302.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.007498/0.3293, allocations: 3.073 MB / 388.4 MB, free: 6.062 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3293, allocations: 8.719 kB / 388.4 MB, free: 6.062 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005689/0.3299, allocations: 277.6 kB / 388.7 MB, free: 5.926 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/0.3318, allocations: 1.35 MB / 390 MB, free: 5.047 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001892/0.332, allocations: 252.8 kB / 390.3 MB, free: 4.875 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005404/0.3326, allocations: 237.2 kB / 390.5 MB, free: 4.789 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003377/0.336, allocations: 2.165 MB / 392.7 MB, free: 3.434 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4e-05/0.336, allocations: 2.531 kB / 392.7 MB, free: 3.434 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.3362, allocations: 83.22 kB / 392.8 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.3362, allocations: 49.09 kB / 392.8 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003555/0.3398, allocations: 1.919 MB / 394.7 MB, free: 2.438 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01175/0.3516, allocations: 7.845 MB / 402.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003443/0.3551, allocations: 2.078 MB / 404.7 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002078/0.3572, allocations: 1.234 MB / 405.9 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-05/0.3573, allocations: 25.12 kB / 405.9 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.819e-05/0.3573, allocations: 75.86 kB / 406 MB, free: 9.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 3.848e-06/0.3574, allocations: 7.938 kB / 406 MB, free: 9.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05667/0.414, allocations: 14.05 MB / 420 MB, free: 11.35 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002091/0.4143, allocations: 397.8 kB / 420.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/0.4169, allocations: 1.514 MB / 422 MB, free: 9.352 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000503/0.4175, allocations: 76.59 kB / 422 MB, free: 9.273 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006857/0.4182, allocations: 0.8139 MB / 422.8 MB, free: 8.453 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009773/0.4192, allocations: 0.8341 MB / 423.7 MB, free: 7.629 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001017/0.4202, allocations: 408.5 kB / 424.1 MB, free: 7.223 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.4203, allocations: 313 kB / 424.4 MB, free: 6.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002303/0.4226, allocations: 0.9885 MB / 425.4 MB, free: 5.922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002377/0.425, allocations: 1.256 MB / 426.6 MB, free: 4.605 MB / 334.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.03448/0.4595, allocations: 9.399 MB / 436 MB, free: 11.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.4595, allocations: 0 / 436 MB, free: 11.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006786/0.4663, allocations: 2.932 MB / 439 MB, free: 8.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.4664, allocations: 11.38 kB / 439 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.132e-05/0.4664, allocations: 7.984 kB / 439 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.4675, allocations: 364.1 kB / 439.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/0.4704, allocations: 0.542 MB / 439.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009488/0.4799, allocations: 11.11 MB / 451 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/0.4827, allocations: 134.8 kB / 451.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004802/0.4832, allocations: 80.09 kB / 451.2 MB, free: 11.17 MB / 366.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.winding12.i = transformer.I1Start[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 (256): * Single equations (assignments): 244 * 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,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.00149/0.4847, allocations: 468.9 kB / 451.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008167/0.4855, allocations: 201.6 kB / 451.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009306/0.4948, allocations: 3.465 MB / 455.3 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.024e-05/0.4949, allocations: 28 kB / 455.3 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/0.4949, allocations: 4 kB / 455.3 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-05/0.4949, allocations: 11.95 kB / 455.4 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/0.5097, allocations: 6.178 MB / 461.5 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/0.5097, allocations: 0 / 461.5 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002155/0.5119, allocations: 426.3 kB / 461.9 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005731/0.5176, allocations: 1.209 MB / 463.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004622/0.5181, allocations: 67.91 kB / 463.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02149/0.5396, allocations: 19.03 MB / 482.3 MB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.5397, allocations: 3.938 kB / 482.3 MB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/0.5516, allocations: 4.896 MB / 487.2 MB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/0.553, allocations: 0.5294 MB / 487.7 MB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007004/0.5537, allocations: 59.94 kB / 487.7 MB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002356/0.5561, allocations: 135.9 kB / 487.9 MB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006039/0.5567, allocations: 205.7 kB / 488.1 MB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002149/0.5569, allocations: 75.97 kB / 488.2 MB, free: 4.727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001829/0.5588, allocations: 1.037 MB / 489.2 MB, free: 3.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5588, allocations: 0 / 489.2 MB, free: 3.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003403/0.5622, allocations: 0.6953 MB / 489.9 MB, free: 2.996 MB / 398.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 (202): * Single equations (assignments): 193 * 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,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007272/0.5629, allocations: 266.2 kB / 490.1 MB, free: 2.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01022/0.5732, allocations: 3.749 MB / 493.9 MB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.5732, allocations: 0 / 493.9 MB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004183/0.5774, allocations: 2.617 MB / 496.5 MB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/0.5805, allocations: 392 kB / 496.9 MB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.5909, allocations: 5.387 MB / 0.4905 GB, free: 6.312 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001454/0.5923, allocations: 1.565 MB / 0.492 GB, free: 4.711 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/0.5934, allocations: 175.3 kB / 0.4922 GB, free: 4.539 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5934, allocations: 0 / 0.4922 GB, free: 4.539 MB / 414.1 MB Notification: Performance of Templates: time 0.2442/0.8377, allocations: 96.26 MB / 0.5862 GB, free: 108.8 MB / 446.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches