Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 111.5 kB / 17.06 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 47.92 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2744, allocations: 49.44 MB / 400.7 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01221/0.2866, allocations: 10.56 MB / 411.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.2994, allocations: 6.274 MB / 417.6 MB, free: 8.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003078/0.3025, allocations: 35.88 kB / 417.6 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.304, allocations: 491.9 kB / 418.1 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003436/0.3075, allocations: 0.9075 MB / 419 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005924/0.3135, allocations: 2.498 MB / 421.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00498/0.3185, allocations: 3.469 MB / 425 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.3197, allocations: 0.7448 MB / 425.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.3218, allocations: 1.293 MB / 427 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.3238, allocations: 1.467 MB / 428.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000461/0.3242, allocations: 328 kB / 428.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.3253, allocations: 0.5738 MB / 429.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000601/0.3259, allocations: 0.7283 MB / 430.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.3271, allocations: 1.4 MB / 431.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003745/0.3309, allocations: 3.929 MB / 435.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.3309, allocations: 0 / 435.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3309, allocations: 3.938 kB / 435.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.793e-05/0.331, allocations: 0 / 435.4 MB, free: 6.18 MB / 350.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.007668/0.3387, allocations: 3.079 MB / 438.5 MB, free: 3.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3387, allocations: 8.031 kB / 438.5 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005749/0.3393, allocations: 277.7 kB / 438.8 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002349/0.3417, allocations: 1.377 MB / 440.2 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.3419, allocations: 241.5 kB / 440.4 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005382/0.3424, allocations: 239.9 kB / 440.6 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003931/0.3464, allocations: 2.173 MB / 442.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/0.3464, allocations: 4 kB / 442.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001832/0.3466, allocations: 84 kB / 442.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/0.3467, allocations: 44 kB / 442.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003876/0.3505, allocations: 1.916 MB / 444.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/0.3627, allocations: 7.779 MB / 452.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003596/0.3663, allocations: 2.077 MB / 454.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003121/0.3695, allocations: 1.59 MB / 456.3 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.3696, allocations: 25.94 kB / 456.3 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.613e-05/0.3697, allocations: 64.5 kB / 456.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of pre-optimization done (n=208): time 4.889e-06/0.3697, allocations: 0 / 456.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of matching and sorting (n=250): time 0.0515/0.4212, allocations: 14.07 MB / 470.5 MB, free: 2.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001767/0.4214, allocations: 389.8 kB / 470.8 MB, free: 2.008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/0.4236, allocations: 1.514 MB / 472.4 MB, free: 496 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002934/0.4239, allocations: 69.7 kB / 472.4 MB, free: 420 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006133/0.4245, allocations: 0.8197 MB / 473.2 MB, free: 15.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007103/0.4252, allocations: 0.8315 MB / 474.1 MB, free: 14.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000664/0.4259, allocations: 412.5 kB / 474.5 MB, free: 14.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.426, allocations: 305.1 kB / 474.8 MB, free: 14.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.4281, allocations: 0.9924 MB / 475.8 MB, free: 13.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/0.4304, allocations: 1.26 MB / 477 MB, free: 11.7 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.03254/0.4629, allocations: 9.429 MB / 486.5 MB, free: 2.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.4629, allocations: 7.875 kB / 486.5 MB, free: 2.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005777/0.4687, allocations: 2.936 MB / 489.4 MB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.4688, allocations: 7.938 kB / 489.4 MB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/0.4688, allocations: 12.08 kB / 489.4 MB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009009/0.4697, allocations: 348.9 kB / 489.8 MB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00265/0.4724, allocations: 0.5578 MB / 490.3 MB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008576/0.481, allocations: 10.94 MB / 0.4895 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00238/0.4834, allocations: 124 kB / 0.4896 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/0.4836, allocations: 79.95 kB / 0.4897 GB, free: 2.223 MB / 414.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.0009861/0.4846, allocations: 469.3 kB / 0.4902 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004848/0.4851, allocations: 213.4 kB / 0.4904 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008417/0.4935, allocations: 3.457 MB / 0.4937 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.453e-05/0.4936, allocations: 28 kB / 0.4938 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.4936, allocations: 4 kB / 0.4938 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/0.4936, allocations: 11.95 kB / 0.4938 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/0.5069, allocations: 6.266 MB / 0.4999 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.5069, allocations: 0 / 0.4999 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002098/0.509, allocations: 431.4 kB / 0.5003 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005471/0.5145, allocations: 1.202 MB / 0.5015 GB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002694/0.5148, allocations: 67.97 kB / 0.5015 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02086/0.5357, allocations: 18.87 MB / 0.52 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5357, allocations: 3.938 kB / 0.52 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/0.5471, allocations: 4.924 MB / 0.5248 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.5483, allocations: 0.5256 MB / 0.5253 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005634/0.5489, allocations: 56 kB / 0.5254 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002095/0.551, allocations: 139.9 kB / 0.5255 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005905/0.5516, allocations: 201.8 kB / 0.5257 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002425/0.5519, allocations: 75.91 kB / 0.5257 GB, free: 11.65 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001648/0.5536, allocations: 1.041 MB / 0.5268 GB, free: 10.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5536, allocations: 0 / 0.5268 GB, free: 10.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003236/0.5568, allocations: 0.6914 MB / 0.5274 GB, free: 9.918 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.0007565/0.5576, allocations: 270.4 kB / 0.5277 GB, free: 9.645 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006529/0.5641, allocations: 3.356 MB / 0.531 GB, free: 6.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.5642, allocations: 0 / 0.531 GB, free: 6.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00445/0.5686, allocations: 2.605 MB / 0.5335 GB, free: 3.434 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/0.5714, allocations: 408.1 kB / 0.5339 GB, free: 3.051 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1991/0.7705, allocations: 5.249 MB / 0.539 GB, free: 130.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.7716, allocations: 1.561 MB / 0.5406 GB, free: 129.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001437/0.773, allocations: 293 kB / 0.5408 GB, free: 129.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005948/0.7736, allocations: 167.1 kB / 0.541 GB, free: 129.7 MB / 462.1 MB Notification: Performance of SimCode: time 8.01e-07/0.7737, allocations: 3.719 kB / 0.541 GB, free: 129.7 MB / 462.1 MB Notification: Performance of Templates: time 0.04977/0.8234, allocations: 39.7 MB / 0.5798 GB, free: 98.18 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches