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.0007641/0.0007642, allocations: 95.03 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008592/0.0008593, allocations: 201.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.7 MB / 246.8 MB, free: 11.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000239/0.0002391, allocations: 8 kB / 307.7 MB, free: 0.8203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1033, allocations: 51.53 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01024/0.1136, allocations: 9.948 MB / 369.2 MB, free: 3.293 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1926/0.3062, allocations: 6.688 MB / 375.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002053/0.3083, allocations: 35.06 kB / 375.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.3099, allocations: 390.7 kB / 376.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003944/0.3138, allocations: 0.7881 MB / 377.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005888/0.3198, allocations: 2.065 MB / 379.2 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005479/0.3253, allocations: 3.375 MB / 382.5 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.3266, allocations: 0.6425 MB / 383.2 MB, free: 6.598 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00286/0.3295, allocations: 1.064 MB / 384.2 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002637/0.3321, allocations: 1.305 MB / 385.5 MB, free: 5.609 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005723/0.3327, allocations: 146.8 kB / 385.7 MB, free: 5.609 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.3344, allocations: 402.8 kB / 386.1 MB, free: 5.543 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006034/0.335, allocations: 0.5569 MB / 386.6 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.3366, allocations: 1.238 MB / 387.9 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003706/0.3403, allocations: 3.668 MB / 391.5 MB, free: 2.043 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3403, allocations: 0 / 391.5 MB, free: 2.043 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3403, allocations: 0 / 391.5 MB, free: 2.043 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001144/0.3405, allocations: 1.156 kB / 391.5 MB, free: 2.043 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.00735/0.3478, allocations: 2.656 MB / 394.2 MB, free: 304 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.3479, allocations: 9.625 kB / 394.2 MB, free: 304 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.349, allocations: 306.3 kB / 394.5 MB, free: 160 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002436/0.3515, allocations: 1.361 MB / 395.9 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002479/0.3517, allocations: 247.3 kB / 396.1 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006216/0.3524, allocations: 244.3 kB / 396.4 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004724/0.3571, allocations: 2.195 MB / 398.6 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.283e-05/0.3572, allocations: 1.281 kB / 398.6 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/0.3574, allocations: 79.62 kB / 398.6 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.976e-05/0.3574, allocations: 46.69 kB / 398.7 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004106/0.3615, allocations: 1.957 MB / 400.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01334/0.3749, allocations: 7.899 MB / 408.5 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003536/0.3785, allocations: 2.109 MB / 410.6 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002317/0.3808, allocations: 1.247 MB / 411.9 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.3809, allocations: 36.69 kB / 411.9 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.306e-05/0.381, allocations: 60.5 kB / 412 MB, free: 2.367 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 4.197e-06/0.381, allocations: 0 / 412 MB, free: 2.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05734/0.4384, allocations: 14.82 MB / 426.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002282/0.4386, allocations: 393.8 kB / 427.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002713/0.4414, allocations: 1.519 MB / 428.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003706/0.4418, allocations: 73.7 kB / 428.8 MB, free: 1.328 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006073/0.4424, allocations: 0.8327 MB / 429.6 MB, free: 500 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009338/0.4433, allocations: 0.8308 MB / 430.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003787/0.4437, allocations: 201.6 kB / 430.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.4438, allocations: 305.1 kB / 430.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002263/0.4461, allocations: 1.024 MB / 432 MB, free: 14.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002405/0.4485, allocations: 1.278 MB / 433.2 MB, free: 12.79 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.03621/0.4847, allocations: 9.716 MB / 443 MB, free: 2.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.4848, allocations: 0 / 443 MB, free: 2.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.007015/0.4918, allocations: 2.998 MB / 445.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.4919, allocations: 8 kB / 446 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-05/0.4919, allocations: 4 kB / 446 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.4929, allocations: 360.9 kB / 446.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/0.4957, allocations: 0.5618 MB / 446.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008794/0.5045, allocations: 10.03 MB / 456.9 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002679/0.5072, allocations: 144 kB / 457 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004021/0.5076, allocations: 83.95 kB / 457.1 MB, free: 3.918 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.00146/0.5091, allocations: 463.9 kB / 457.6 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000732/0.5098, allocations: 213.5 kB / 457.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0096/0.5194, allocations: 3.559 MB / 461.3 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/0.5195, allocations: 24 kB / 461.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/0.5195, allocations: 7.938 kB / 461.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.205e-05/0.5196, allocations: 15.95 kB / 461.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/0.5337, allocations: 6.289 MB / 467.7 MB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.5337, allocations: 4 kB / 467.7 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002131/0.5359, allocations: 434.8 kB / 468.1 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006262/0.5421, allocations: 1.247 MB / 469.4 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003914/0.5426, allocations: 68.09 kB / 469.4 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02272/0.5653, allocations: 17.43 MB / 486.9 MB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.5653, allocations: 4.5 kB / 486.9 MB, free: 4.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/0.5773, allocations: 5.035 MB / 491.9 MB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001589/0.5789, allocations: 0.5294 MB / 492.4 MB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007408/0.5797, allocations: 56.06 kB / 492.5 MB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002331/0.582, allocations: 155.9 kB / 492.6 MB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000626/0.5827, allocations: 213.7 kB / 492.8 MB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002079/0.5829, allocations: 71.97 kB / 492.9 MB, free: 14.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001797/0.5847, allocations: 1.045 MB / 494 MB, free: 13.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5847, allocations: 0 / 494 MB, free: 13.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003355/0.5881, allocations: 0.703 MB / 494.7 MB, free: 12.86 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.0007676/0.5889, allocations: 259.9 kB / 494.9 MB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00646/0.5953, allocations: 3.429 MB / 498.3 MB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.5954, allocations: 0 / 498.3 MB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004297/0.5997, allocations: 2.636 MB / 0.4892 GB, free: 6.297 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003315/0.603, allocations: 361 kB / 0.4896 GB, free: 5.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.6144, allocations: 6.61 MB / 0.496 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/0.6162, allocations: 1.561 MB / 0.4976 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001734/0.618, allocations: 299.9 kB / 0.4978 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000758/0.6187, allocations: 163.3 kB / 0.498 GB, free: 13.23 MB / 430.1 MB Notification: Performance of SimCode: time 1.944e-06/0.6188, allocations: 3.938 kB / 0.498 GB, free: 13.23 MB / 430.1 MB Notification: Performance of Templates: time 0.2323/0.851, allocations: 36.53 MB / 0.5337 GB, free: 141.6 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/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