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.00162/0.00162, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002041/0.002041, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 57.69 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08679/0.08793, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01061/0.09858, allocations: 10.59 MB / 369.5 MB, free: 2.707 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1617/0.2603, allocations: 6.365 MB / 375.9 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.2624, allocations: 39.06 kB / 375.9 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.2638, allocations: 491.2 kB / 376.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.2664, allocations: 0.905 MB / 377.3 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0063/0.2727, allocations: 2.535 MB / 379.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004628/0.2773, allocations: 3.471 MB / 383.3 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.2783, allocations: 0.7545 MB / 384.1 MB, free: 7.113 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001887/0.2802, allocations: 1.282 MB / 385.3 MB, free: 6.504 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.282, allocations: 1.469 MB / 386.8 MB, free: 5.793 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005152/0.2825, allocations: 328 kB / 387.1 MB, free: 5.793 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.2836, allocations: 0.5795 MB / 387.7 MB, free: 5.723 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004805/0.2841, allocations: 0.7305 MB / 388.4 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.2853, allocations: 1.399 MB / 389.8 MB, free: 4.371 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003095/0.2884, allocations: 3.936 MB / 393.8 MB, free: 1.582 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2885, allocations: 3.938 kB / 393.8 MB, free: 1.578 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2885, allocations: 0 / 393.8 MB, free: 1.578 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.472e-05/0.2885, allocations: 1.281 kB / 393.8 MB, free: 1.578 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.006927/0.2955, allocations: 3.09 MB / 396.9 MB, free: 15.51 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2955, allocations: 8.25 kB / 396.9 MB, free: 15.51 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007894/0.2963, allocations: 302.8 kB / 397.2 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/0.2986, allocations: 1.397 MB / 398.6 MB, free: 14.31 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/0.2988, allocations: 233.8 kB / 398.8 MB, free: 14.15 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000541/0.2994, allocations: 251.5 kB / 399 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003569/0.303, allocations: 2.16 MB / 401.2 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.263e-05/0.303, allocations: 6.031 kB / 401.2 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/0.3032, allocations: 82.22 kB / 401.3 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.3032, allocations: 47.84 kB / 401.3 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003559/0.3068, allocations: 1.919 MB / 403.2 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/0.3185, allocations: 7.787 MB / 411 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003401/0.3219, allocations: 2.078 MB / 413.1 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002087/0.324, allocations: 1.23 MB / 414.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.3242, allocations: 24.03 kB / 414.4 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.024e-05/0.3243, allocations: 68.44 kB / 414.4 MB, free: 0.582 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 4.208e-06/0.3243, allocations: 4 kB / 414.4 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05076/0.375, allocations: 14.09 MB / 428.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001859/0.3753, allocations: 389.8 kB / 428.9 MB, free: 1.887 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002496/0.3778, allocations: 1.515 MB / 430.4 MB, free: 372 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003182/0.3781, allocations: 73.64 kB / 430.5 MB, free: 292 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007734/0.3789, allocations: 0.8435 MB / 431.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008743/0.3798, allocations: 0.8328 MB / 432.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009263/0.3807, allocations: 410.8 kB / 432.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3808, allocations: 309.1 kB / 432.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002357/0.3832, allocations: 0.9846 MB / 433.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002478/0.3857, allocations: 1.256 MB / 435.1 MB, free: 11.65 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.03396/0.4197, allocations: 9.372 MB / 444.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.4197, allocations: 3.938 kB / 444.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006274/0.426, allocations: 2.943 MB / 447.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.426, allocations: 8 kB / 447.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/0.4261, allocations: 7.984 kB / 447.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009529/0.427, allocations: 353 kB / 447.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002659/0.4297, allocations: 0.5539 MB / 448.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009401/0.4391, allocations: 11.1 MB / 459.4 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/0.4415, allocations: 128 kB / 459.6 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002938/0.4418, allocations: 79.95 kB / 459.7 MB, free: 2.102 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.001082/0.4429, allocations: 468.2 kB / 460.1 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006019/0.4435, allocations: 209.5 kB / 460.3 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008653/0.4522, allocations: 3.457 MB / 463.8 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/0.4522, allocations: 24 kB / 463.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.4523, allocations: 4 kB / 463.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/0.4523, allocations: 15.95 kB / 463.8 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/0.4659, allocations: 6.171 MB / 470 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.4659, allocations: 0 / 470 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002056/0.468, allocations: 426.3 kB / 470.4 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005766/0.4738, allocations: 1.205 MB / 471.6 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003198/0.4741, allocations: 67.91 kB / 471.7 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02133/0.4955, allocations: 19.01 MB / 490.7 MB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.4955, allocations: 3.984 kB / 490.7 MB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.5058, allocations: 4.911 MB / 495.6 MB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/0.507, allocations: 0.5256 MB / 496.1 MB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/0.5074, allocations: 63.92 kB / 496.2 MB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/0.5092, allocations: 135.9 kB / 496.3 MB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004878/0.5097, allocations: 193.8 kB / 496.5 MB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/0.5098, allocations: 79.91 kB / 496.6 MB, free: 11.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001334/0.5112, allocations: 1.041 MB / 497.6 MB, free: 10.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5112, allocations: 0 / 497.6 MB, free: 10.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002429/0.5136, allocations: 0.6953 MB / 498.3 MB, free: 9.859 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.0005184/0.5141, allocations: 263.3 kB / 498.6 MB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005588/0.5197, allocations: 3.359 MB / 0.4902 GB, free: 6.113 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.5198, allocations: 0 / 0.4902 GB, free: 6.113 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003778/0.5235, allocations: 2.624 MB / 0.4927 GB, free: 3.367 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.5258, allocations: 404 kB / 0.4931 GB, free: 2.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008435/0.5342, allocations: 5.258 MB / 0.4983 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/0.5355, allocations: 1.569 MB / 0.4998 GB, free: 12.08 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001302/0.5368, allocations: 303.9 kB / 0.5001 GB, free: 11.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005776/0.5374, allocations: 163.3 kB / 0.5002 GB, free: 11.62 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5374, allocations: 0 / 0.5002 GB, free: 11.62 MB / 430.1 MB Notification: Performance of Templates: time 0.2086/0.7459, allocations: 39.29 MB / 0.5386 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 -s gbode -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