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.001174/0.001174, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 59.91 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3183, allocations: 50.53 MB / 409.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.011/0.3293, allocations: 10.59 MB / 419.8 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.3404, allocations: 6.375 MB / 426.2 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/0.3423, allocations: 39.81 kB / 426.3 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.344, allocations: 493.1 kB / 426.7 MB, free: 32 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003313/0.3474, allocations: 0.9271 MB / 427.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006314/0.3537, allocations: 2.538 MB / 430.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004222/0.3579, allocations: 3.469 MB / 433.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.3592, allocations: 0.7605 MB / 434.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001947/0.3611, allocations: 1.289 MB / 435.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002145/0.3633, allocations: 1.471 MB / 437.2 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007748/0.3641, allocations: 331.9 kB / 437.5 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.3655, allocations: 0.5738 MB / 438.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008673/0.3664, allocations: 0.7321 MB / 438.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001819/0.3682, allocations: 1.4 MB / 440.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004427/0.3726, allocations: 3.94 MB / 444.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3727, allocations: 0 / 444.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3727, allocations: 0 / 444.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001463/0.3728, allocations: 0 / 444.2 MB, free: 14.52 MB / 366.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.008859/0.3817, allocations: 3.095 MB / 447.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.3818, allocations: 12.03 kB / 447.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.3829, allocations: 301.6 kB / 447.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/0.3854, allocations: 1.389 MB / 449 MB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002203/0.3856, allocations: 241.5 kB / 449.2 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005326/0.3862, allocations: 243.9 kB / 449.4 MB, free: 9.125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003748/0.3899, allocations: 2.164 MB / 451.6 MB, free: 6.883 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/0.39, allocations: 3.984 kB / 451.6 MB, free: 6.879 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.3902, allocations: 84 kB / 451.7 MB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-05/0.3902, allocations: 48 kB / 451.7 MB, free: 6.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003716/0.3939, allocations: 1.92 MB / 453.6 MB, free: 4.828 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/0.4051, allocations: 7.783 MB / 461.4 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003298/0.4084, allocations: 2.08 MB / 463.5 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002702/0.4111, allocations: 1.582 MB / 465.1 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.4113, allocations: 37.92 kB / 465.1 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/0.4113, allocations: 60.5 kB / 465.2 MB, free: 9.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 4.028e-06/0.4114, allocations: 4 kB / 465.2 MB, free: 9 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.04818/0.4595, allocations: 14.07 MB / 479.3 MB, free: 10.76 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001654/0.4597, allocations: 389.8 kB / 479.6 MB, free: 10.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.4618, allocations: 1.522 MB / 481.2 MB, free: 8.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001761/0.462, allocations: 81.62 kB / 481.2 MB, free: 8.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005738/0.4625, allocations: 0.8159 MB / 482.1 MB, free: 7.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006553/0.4632, allocations: 0.8393 MB / 482.9 MB, free: 6.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006622/0.4639, allocations: 408.5 kB / 483.3 MB, free: 6.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.881e-05/0.464, allocations: 301.1 kB / 483.6 MB, free: 6.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002113/0.4661, allocations: 1 MB / 484.6 MB, free: 5.289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/0.4682, allocations: 1.26 MB / 485.8 MB, free: 3.961 MB / 398.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.03177/0.5, allocations: 9.429 MB / 495.3 MB, free: 10.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.5, allocations: 3.938 kB / 495.3 MB, free: 10.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005854/0.5059, allocations: 2.94 MB / 498.2 MB, free: 7.398 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.506, allocations: 11.94 kB / 498.2 MB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/0.506, allocations: 7.984 kB / 498.2 MB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009677/0.507, allocations: 352.9 kB / 498.6 MB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/0.5095, allocations: 0.5461 MB / 499.1 MB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008638/0.5181, allocations: 10.95 MB / 0.4981 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.5202, allocations: 123.9 kB / 0.4982 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/0.5204, allocations: 80.03 kB / 0.4983 GB, free: 10.49 MB / 430.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.000973/0.5214, allocations: 480.5 kB / 0.4988 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004172/0.5218, allocations: 213.4 kB / 0.499 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008074/0.5299, allocations: 3.453 MB / 0.5024 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/0.53, allocations: 28 kB / 0.5024 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.53, allocations: 4 kB / 0.5024 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.01e-05/0.53, allocations: 11.95 kB / 0.5024 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/0.5428, allocations: 6.266 MB / 0.5085 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.5429, allocations: 7.984 kB / 0.5085 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002023/0.5449, allocations: 427.4 kB / 0.5089 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005364/0.5503, allocations: 1.202 MB / 0.5101 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002402/0.5505, allocations: 63.91 kB / 0.5102 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02124/0.5718, allocations: 18.88 MB / 0.5286 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5718, allocations: 0 / 0.5286 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/0.5833, allocations: 4.931 MB / 0.5334 GB, free: 4.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/0.5846, allocations: 0.5333 MB / 0.5339 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004862/0.5851, allocations: 56 kB / 0.534 GB, free: 4.301 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/0.5871, allocations: 135.9 kB / 0.5341 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005336/0.5877, allocations: 197.8 kB / 0.5343 GB, free: 3.973 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/0.5879, allocations: 83.91 kB / 0.5344 GB, free: 3.891 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001701/0.5896, allocations: 1.041 MB / 0.5354 GB, free: 2.852 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5896, allocations: 0 / 0.5354 GB, free: 2.852 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002887/0.5925, allocations: 0.6952 MB / 0.5361 GB, free: 2.156 MB / 462.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.0006504/0.5932, allocations: 261.1 kB / 0.5363 GB, free: 1.891 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1956/0.7887, allocations: 3.354 MB / 0.5396 GB, free: 125.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.7888, allocations: 1.656 kB / 0.5396 GB, free: 125.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004199/0.793, allocations: 2.598 MB / 0.5421 GB, free: 124 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/0.7951, allocations: 375.9 kB / 0.5425 GB, free: 124 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007556/0.8027, allocations: 5.302 MB / 0.5477 GB, free: 121.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008321/0.8035, allocations: 1.564 MB / 0.5492 GB, free: 121.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001208/0.8048, allocations: 304 kB / 0.5495 GB, free: 121 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005648/0.8053, allocations: 161.5 kB / 0.5497 GB, free: 121 MB / 462.1 MB Notification: Performance of SimCode: time 4.2e-07/0.8053, allocations: 0 / 0.5497 GB, free: 121 MB / 462.1 MB Notification: Performance of Templates: time 0.04715/0.8525, allocations: 39.71 MB / 0.5884 GB, free: 85.88 MB / 462.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins/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