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.001096/0.001096, allocations: 103.5 kB / 17.98 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001258/0.001258, allocations: 209.8 kB / 18.92 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 58.91 kB / 307.1 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09571/0.09691, allocations: 50.53 MB / 357.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.0117/0.1087, allocations: 10.51 MB / 368.2 MB, free: 3.832 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1679/0.2766, allocations: 6.404 MB / 374.6 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.2785, allocations: 38.06 kB / 374.6 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.2797, allocations: 393.5 kB / 375 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.2822, allocations: 0.7907 MB / 375.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006219/0.2884, allocations: 2.275 MB / 378.1 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005103/0.2936, allocations: 3.466 MB / 381.5 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.2947, allocations: 0.7532 MB / 382.3 MB, free: 7.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002234/0.297, allocations: 1.286 MB / 383.6 MB, free: 6.703 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002095/0.2991, allocations: 1.476 MB / 385 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005454/0.2996, allocations: 327.6 kB / 385.4 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.3009, allocations: 0.5745 MB / 385.9 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005759/0.3015, allocations: 0.7485 MB / 386.7 MB, free: 5.449 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.3028, allocations: 1.404 MB / 388.1 MB, free: 4.562 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.3053, allocations: 3.109 MB / 391.2 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3053, allocations: 0 / 391.2 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3053, allocations: 0 / 391.2 MB, free: 2.859 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.679e-05/0.3054, allocations: 5.156 kB / 391.2 MB, free: 2.855 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.007068/0.3124, allocations: 3.091 MB / 394.3 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3125, allocations: 9.625 kB / 394.3 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007692/0.3133, allocations: 301.6 kB / 394.6 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/0.3152, allocations: 1.369 MB / 396 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/0.3154, allocations: 243.4 kB / 396.2 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005469/0.316, allocations: 240 kB / 396.4 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003963/0.32, allocations: 2.167 MB / 398.6 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.236e-05/0.32, allocations: 6.156 kB / 398.6 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001747/0.3202, allocations: 82.06 kB / 398.7 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/0.3202, allocations: 48.31 kB / 398.7 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003718/0.324, allocations: 1.922 MB / 400.7 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/0.336, allocations: 7.847 MB / 408.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003365/0.3394, allocations: 2.07 MB / 410.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/0.3415, allocations: 1.228 MB / 411.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.3416, allocations: 27.55 kB / 411.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.571e-05/0.3417, allocations: 84.42 kB / 411.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 3.797e-06/0.3417, allocations: 0 / 411.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05228/0.394, allocations: 14.09 MB / 426 MB, free: 4.059 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002751/0.3943, allocations: 385.8 kB / 426.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/0.3965, allocations: 1.523 MB / 427.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003257/0.3969, allocations: 72.59 kB / 428 MB, free: 1.992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005772/0.3974, allocations: 0.8226 MB / 428.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007146/0.3982, allocations: 0.8371 MB / 429.6 MB, free: 340 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006736/0.3988, allocations: 408.6 kB / 430 MB, free: 15.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.613e-05/0.3989, allocations: 309 kB / 430.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002022/0.401, allocations: 0.9885 MB / 431.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002214/0.4032, allocations: 1.256 MB / 432.6 MB, free: 13.3 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.03305/0.4363, allocations: 9.391 MB / 442 MB, free: 3.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.4363, allocations: 3.984 kB / 442 MB, free: 3.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006394/0.4427, allocations: 2.943 MB / 444.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.4428, allocations: 8 kB / 444.9 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/0.4428, allocations: 4 kB / 444.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.4438, allocations: 363.5 kB / 445.3 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002783/0.4466, allocations: 0.5461 MB / 445.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00963/0.4563, allocations: 11.11 MB / 456.9 MB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002883/0.4592, allocations: 128 kB / 457.1 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004882/0.4597, allocations: 83.95 kB / 457.1 MB, free: 3.73 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.001512/0.4612, allocations: 469.9 kB / 457.6 MB, free: 3.262 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008255/0.4621, allocations: 209.5 kB / 457.8 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009221/0.4713, allocations: 3.454 MB / 461.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.559e-05/0.4713, allocations: 27.98 kB / 461.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-05/0.4714, allocations: 8 kB / 461.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/0.4714, allocations: 15.89 kB / 461.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/0.4856, allocations: 6.183 MB / 467.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.4856, allocations: 0 / 467.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002053/0.4877, allocations: 419.4 kB / 467.9 MB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005787/0.4935, allocations: 1.214 MB / 469.1 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002316/0.4937, allocations: 63.92 kB / 469.2 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0216/0.5154, allocations: 19.03 MB / 488.2 MB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5154, allocations: 0 / 488.2 MB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01171/0.5271, allocations: 4.906 MB / 493.1 MB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/0.5286, allocations: 0.5334 MB / 493.6 MB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007614/0.5294, allocations: 59.94 kB / 493.7 MB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002452/0.5319, allocations: 139.8 kB / 493.8 MB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000598/0.5325, allocations: 193.8 kB / 494 MB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002056/0.5327, allocations: 67.98 kB / 494.1 MB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001832/0.5346, allocations: 1.053 MB / 495.1 MB, free: 12.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5346, allocations: 0 / 495.1 MB, free: 12.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003361/0.5379, allocations: 0.703 MB / 495.8 MB, free: 11.44 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.000733/0.5387, allocations: 259.6 kB / 496.1 MB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01008/0.5488, allocations: 3.754 MB / 499.9 MB, free: 7.309 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.5488, allocations: 8 kB / 499.9 MB, free: 7.301 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004272/0.5531, allocations: 2.601 MB / 0.4907 GB, free: 4.578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/0.5563, allocations: 387.6 kB / 0.4911 GB, free: 4.203 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.5676, allocations: 6.368 MB / 0.4973 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001849/0.5695, allocations: 1.569 MB / 0.4988 GB, free: 12.19 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/0.571, allocations: 179.3 kB / 0.499 GB, free: 12.02 MB / 430.1 MB Notification: Performance of SimCode: time 9.22e-07/0.571, allocations: 3.938 kB / 0.499 GB, free: 12.01 MB / 430.1 MB Notification: Performance of Templates: time 0.2474/0.8184, allocations: 96.69 MB / 0.5934 GB, free: 94.57 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