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.001331/0.001331, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001566/0.001566, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.7 MB, free: 10.65 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 60 kB / 306.9 MB, free: 0.6523 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08441/0.08554, allocations: 50.53 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01104/0.09662, allocations: 10.59 MB / 368.1 MB, free: 3.477 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1625/0.2592, allocations: 6.363 MB / 374.4 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.2608, allocations: 39.81 kB / 374.5 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.2618, allocations: 488.2 kB / 374.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001931/0.2638, allocations: 0.9061 MB / 375.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005552/0.2693, allocations: 2.526 MB / 378.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003743/0.2731, allocations: 3.454 MB / 381.8 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008891/0.274, allocations: 0.7497 MB / 382.6 MB, free: 7.133 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.2757, allocations: 1.279 MB / 383.9 MB, free: 6.523 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.2773, allocations: 1.464 MB / 385.3 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004467/0.2778, allocations: 328.8 kB / 385.6 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.2788, allocations: 0.5787 MB / 386.2 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004885/0.2793, allocations: 0.735 MB / 387 MB, free: 5.273 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009931/0.2803, allocations: 1.407 MB / 388.4 MB, free: 4.383 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002777/0.2831, allocations: 3.896 MB / 392.3 MB, free: 1.816 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2831, allocations: 0 / 392.3 MB, free: 1.816 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2831, allocations: 0 / 392.3 MB, free: 1.816 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.529e-05/0.2832, allocations: 1.062 kB / 392.3 MB, free: 1.816 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.00691/0.2901, allocations: 3.103 MB / 395.4 MB, free: 15.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.2902, allocations: 9.531 kB / 395.4 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007565/0.2909, allocations: 302 kB / 395.7 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.2929, allocations: 1.371 MB / 397 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/0.2931, allocations: 238.2 kB / 397.3 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005224/0.2936, allocations: 240.8 kB / 397.5 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003452/0.2971, allocations: 2.166 MB / 399.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.686e-05/0.2971, allocations: 6.25 kB / 399.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001674/0.2973, allocations: 86.91 kB / 399.8 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/0.2974, allocations: 46.84 kB / 399.8 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003512/0.3009, allocations: 1.918 MB / 401.7 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01059/0.3115, allocations: 7.85 MB / 409.6 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003266/0.3148, allocations: 2.074 MB / 411.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/0.3167, allocations: 1.223 MB / 412.9 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-05/0.3168, allocations: 39.39 kB / 412.9 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.3168, allocations: 69.25 kB / 413 MB, free: 1.004 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 3.527e-06/0.3169, allocations: 0 / 413 MB, free: 1.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05106/0.3679, allocations: 14.09 MB / 427.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002096/0.3682, allocations: 393.8 kB / 427.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00224/0.3704, allocations: 1.515 MB / 429 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002145/0.3706, allocations: 69.7 kB / 429 MB, free: 0.707 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005479/0.3712, allocations: 0.8263 MB / 429.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006386/0.3718, allocations: 0.8326 MB / 430.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006574/0.3725, allocations: 412.6 kB / 431.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.621e-05/0.3726, allocations: 309 kB / 431.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002081/0.3747, allocations: 0.9885 MB / 432.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/0.377, allocations: 1.248 MB / 433.6 MB, free: 12.02 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.03258/0.4096, allocations: 9.401 MB / 443 MB, free: 2.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.4096, allocations: 4 kB / 443 MB, free: 2.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006072/0.4157, allocations: 2.939 MB / 446 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.4157, allocations: 8 kB / 446 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.864e-05/0.4158, allocations: 8 kB / 446 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009492/0.4167, allocations: 364.9 kB / 446.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002614/0.4193, allocations: 0.5461 MB / 446.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009442/0.4288, allocations: 11.12 MB / 458 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/0.4313, allocations: 128 kB / 458.1 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002805/0.4316, allocations: 79.97 kB / 458.2 MB, free: 2.438 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.001382/0.433, allocations: 482.6 kB / 458.7 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009236/0.4339, allocations: 205.5 kB / 458.9 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00907/0.443, allocations: 3.455 MB / 462.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-05/0.443, allocations: 28 kB / 462.4 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.12e-05/0.4431, allocations: 4 kB / 462.4 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.358e-05/0.4431, allocations: 11.95 kB / 462.4 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/0.4571, allocations: 6.186 MB / 468.6 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.4572, allocations: 0 / 468.6 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001983/0.4592, allocations: 421.4 kB / 469 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0056/0.4648, allocations: 1.212 MB / 470.2 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002866/0.4651, allocations: 67.91 kB / 470.3 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02255/0.4876, allocations: 19.02 MB / 489.3 MB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4877, allocations: 4.031 kB / 489.3 MB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/0.4988, allocations: 4.906 MB / 494.2 MB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/0.5001, allocations: 0.5334 MB / 494.7 MB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005897/0.5007, allocations: 59.94 kB / 494.8 MB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002232/0.503, allocations: 136 kB / 494.9 MB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005361/0.5035, allocations: 197.8 kB / 495.1 MB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/0.5037, allocations: 75.97 kB / 495.2 MB, free: 11.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001579/0.5053, allocations: 1.045 MB / 496.2 MB, free: 10.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5053, allocations: 0 / 496.2 MB, free: 10.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002938/0.5082, allocations: 0.6991 MB / 496.9 MB, free: 10.15 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.0006375/0.5089, allocations: 251.7 kB / 497.2 MB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01003/0.5189, allocations: 3.753 MB / 0.4892 GB, free: 6.016 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.519, allocations: 4.062 kB / 0.4892 GB, free: 6.012 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004078/0.523, allocations: 2.612 MB / 0.4918 GB, free: 3.277 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/0.526, allocations: 382.6 kB / 0.4921 GB, free: 2.906 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.5374, allocations: 5.343 MB / 0.4973 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.539, allocations: 1.569 MB / 0.4989 GB, free: 11.92 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001556/0.5405, allocations: 291.9 kB / 0.4991 GB, free: 11.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006834/0.5412, allocations: 167.3 kB / 0.4993 GB, free: 11.47 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5412, allocations: 0 / 0.4993 GB, free: 11.47 MB / 430.1 MB Notification: Performance of Templates: time 0.2335/0.7748, allocations: 39.27 MB / 0.5377 GB, free: 144.1 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