Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009306/0.0009307, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009804/0.0009805, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002075/0.0002076, allocations: 11.98 kB / 308.4 MB, free: 0.7695 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09841/0.09864, allocations: 51.52 MB / 359.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.0117/0.1104, allocations: 9.948 MB / 369.9 MB, free: 3.246 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2251/0.3355, allocations: 6.685 MB / 376.6 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/0.3377, allocations: 37.2 kB / 376.6 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.3396, allocations: 391.4 kB / 377 MB, free: 9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004366/0.344, allocations: 0.7867 MB / 377.8 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006686/0.3507, allocations: 2.063 MB / 379.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004996/0.3557, allocations: 3.377 MB / 383.2 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.3568, allocations: 0.643 MB / 383.8 MB, free: 6.574 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.359, allocations: 1.07 MB / 384.9 MB, free: 6.141 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002796/0.3618, allocations: 1.308 MB / 386.2 MB, free: 5.578 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006694/0.3625, allocations: 148.4 kB / 386.4 MB, free: 5.578 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.3642, allocations: 394.5 kB / 386.7 MB, free: 5.516 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000656/0.3649, allocations: 0.5533 MB / 387.3 MB, free: 5.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001807/0.3667, allocations: 1.232 MB / 388.5 MB, free: 4.492 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003066/0.3698, allocations: 3.006 MB / 391.5 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3698, allocations: 1.219 kB / 391.5 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.3698, allocations: 0 / 391.5 MB, free: 2.504 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.079e-05/0.3699, allocations: 0 / 391.5 MB, free: 2.504 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.006371/0.3763, allocations: 2.653 MB / 394.2 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.3763, allocations: 9.625 kB / 394.2 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000869/0.3772, allocations: 306.1 kB / 394.5 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/0.3795, allocations: 1.363 MB / 395.9 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/0.3797, allocations: 250.4 kB / 396.1 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005952/0.3803, allocations: 237.2 kB / 396.3 MB, free: 15.33 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004416/0.3847, allocations: 2.195 MB / 398.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.572e-05/0.3848, allocations: 5.719 kB / 398.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002014/0.385, allocations: 78.66 kB / 398.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-05/0.3851, allocations: 46.38 kB / 398.7 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004427/0.3895, allocations: 1.964 MB / 400.6 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01313/0.4027, allocations: 7.898 MB / 408.5 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003554/0.4063, allocations: 2.114 MB / 410.6 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002092/0.4084, allocations: 1.243 MB / 411.9 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.202e-05/0.4085, allocations: 24.58 kB / 411.9 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.357e-05/0.4086, allocations: 68.5 kB / 412 MB, free: 2.977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 3.948e-06/0.4086, allocations: 0 / 412 MB, free: 2.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05655/0.4651, allocations: 14.82 MB / 426.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002007/0.4654, allocations: 393.8 kB / 427.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00286/0.4683, allocations: 1.522 MB / 428.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003765/0.4686, allocations: 69.7 kB / 428.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007137/0.4694, allocations: 0.8261 MB / 429.6 MB, free: 1.098 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009447/0.4703, allocations: 0.8362 MB / 430.4 MB, free: 276 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005012/0.4709, allocations: 198.5 kB / 430.6 MB, free: 72 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.471, allocations: 305.1 kB / 430.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002483/0.4735, allocations: 1.024 MB / 431.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002582/0.4761, allocations: 1.276 MB / 433.2 MB, free: 13.4 MB / 350.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.03551/0.5116, allocations: 9.717 MB / 442.9 MB, free: 3.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.5117, allocations: 0 / 442.9 MB, free: 3.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.007413/0.5191, allocations: 2.997 MB / 445.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.5192, allocations: 4 kB / 445.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.783e-05/0.5192, allocations: 8 kB / 446 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.5203, allocations: 368.2 kB / 446.3 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002958/0.5233, allocations: 0.5618 MB / 446.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009108/0.5324, allocations: 10.03 MB / 456.9 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002965/0.5354, allocations: 144 kB / 457 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005214/0.5359, allocations: 83.95 kB / 457.1 MB, free: 4.52 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 sytem: 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.002311/0.5382, allocations: 467 kB / 457.6 MB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/0.5395, allocations: 213.4 kB / 457.8 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/0.5499, allocations: 3.547 MB / 461.3 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-05/0.5499, allocations: 35.94 kB / 461.4 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.056e-05/0.55, allocations: 7.938 kB / 461.4 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-05/0.55, allocations: 11.95 kB / 461.4 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/0.5657, allocations: 6.291 MB / 467.7 MB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/0.5658, allocations: 4 kB / 467.7 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002225/0.5681, allocations: 431.4 kB / 468.1 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006447/0.5745, allocations: 1.254 MB / 469.4 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003433/0.5749, allocations: 63.97 kB / 469.4 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02176/0.5967, allocations: 17.43 MB / 486.9 MB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5967, allocations: 3.938 kB / 486.9 MB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/0.6085, allocations: 5.032 MB / 491.9 MB, free: 248 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/0.6099, allocations: 0.5334 MB / 492.4 MB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006252/0.6106, allocations: 52 kB / 492.5 MB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/0.6129, allocations: 159.9 kB / 492.6 MB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005282/0.6134, allocations: 197.8 kB / 492.8 MB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/0.6136, allocations: 71.97 kB / 492.9 MB, free: 15.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001646/0.6152, allocations: 1.049 MB / 493.9 MB, free: 14.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6152, allocations: 0 / 493.9 MB, free: 14.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003177/0.6184, allocations: 0.6991 MB / 494.6 MB, free: 13.46 MB / 414.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.0007104/0.6192, allocations: 258 kB / 494.9 MB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006276/0.6254, allocations: 3.429 MB / 498.3 MB, free: 9.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.6255, allocations: 0 / 498.3 MB, free: 9.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004074/0.6295, allocations: 2.636 MB / 0.4892 GB, free: 6.902 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002949/0.6325, allocations: 365.3 kB / 0.4896 GB, free: 6.543 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.6442, allocations: 6.688 MB / 0.4961 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/0.6457, allocations: 1.569 MB / 0.4976 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009128/0.6467, allocations: 171.3 kB / 0.4978 GB, free: 14.04 MB / 430.1 MB Notification: Performance of SimCode: time 1.152e-06/0.6467, allocations: 0 / 0.4978 GB, free: 14.04 MB / 430.1 MB Notification: Performance of Templates: time 0.2833/0.93, allocations: 96.43 MB / 0.592 GB, free: 95.88 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches