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.001122/0.001121, allocations: 111.6 kB / 17.06 MB, free: 6 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: 198.8 kB / 18.01 MB, free: 5.074 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.36/1.36, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009248/0.0009248, allocations: 43.94 kB / 351.3 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2488, allocations: 49.44 MB / 400.7 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.0105/0.2594, allocations: 10.56 MB / 411.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.2699, allocations: 6.27 MB / 417.6 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002035/0.2719, allocations: 39.81 kB / 417.6 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.2735, allocations: 481.2 kB / 418.1 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002884/0.2764, allocations: 0.9349 MB / 419 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006031/0.2825, allocations: 2.513 MB / 421.5 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005104/0.2876, allocations: 3.473 MB / 425 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.2888, allocations: 0.7487 MB / 425.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002491/0.2913, allocations: 1.289 MB / 427 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002249/0.2936, allocations: 1.471 MB / 428.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004983/0.2941, allocations: 328 kB / 428.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.2951, allocations: 0.5621 MB / 429.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005962/0.2957, allocations: 0.736 MB / 430.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001448/0.2971, allocations: 1.4 MB / 431.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003801/0.3009, allocations: 3.925 MB / 435.5 MB, free: 6.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.169e-05/0.301, allocations: 7.938 kB / 435.5 MB, free: 5.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.301, allocations: 0 / 435.5 MB, free: 5.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.078e-05/0.3011, allocations: 0 / 435.5 MB, free: 5.996 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.00727/0.3083, allocations: 3.071 MB / 438.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3084, allocations: 8.031 kB / 438.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004644/0.3089, allocations: 281.6 kB / 438.8 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/0.3111, allocations: 1.374 MB / 440.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.3113, allocations: 249.4 kB / 440.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005401/0.3118, allocations: 247.8 kB / 440.7 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003729/0.3156, allocations: 2.166 MB / 442.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.348e-05/0.3156, allocations: 7.922 kB / 442.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/0.3158, allocations: 88 kB / 442.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/0.3159, allocations: 44 kB / 443 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003753/0.3196, allocations: 1.92 MB / 444.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01186/0.3315, allocations: 7.767 MB / 452.7 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003433/0.335, allocations: 2.085 MB / 454.7 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002858/0.3379, allocations: 1.582 MB / 456.3 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.338, allocations: 37.86 kB / 456.4 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.338, allocations: 64.56 kB / 456.4 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of pre-optimization done (n=208): time 4.549e-06/0.3381, allocations: 0 / 456.4 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of matching and sorting (n=250): time 0.05018/0.3882, allocations: 14.06 MB / 470.5 MB, free: 2.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/0.3884, allocations: 397.8 kB / 470.9 MB, free: 1.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.3906, allocations: 1.51 MB / 472.4 MB, free: 312 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003392/0.391, allocations: 77.7 kB / 472.5 MB, free: 228 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005623/0.3915, allocations: 0.8197 MB / 473.3 MB, free: 15.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006695/0.3922, allocations: 0.8276 MB / 474.1 MB, free: 14.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006722/0.3929, allocations: 416.5 kB / 474.5 MB, free: 14.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.393, allocations: 309.1 kB / 474.8 MB, free: 13.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002076/0.3951, allocations: 0.9963 MB / 475.8 MB, free: 12.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002371/0.3975, allocations: 1.256 MB / 477.1 MB, free: 11.51 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.03312/0.4306, allocations: 9.421 MB / 486.5 MB, free: 1.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.4306, allocations: 3.938 kB / 486.5 MB, free: 1.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006125/0.4368, allocations: 2.944 MB / 489.4 MB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.4368, allocations: 7.938 kB / 489.4 MB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-05/0.4369, allocations: 4 kB / 489.4 MB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.4379, allocations: 349 kB / 489.8 MB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00271/0.4407, allocations: 0.5539 MB / 490.3 MB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009072/0.4497, allocations: 10.94 MB / 0.4895 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002518/0.4523, allocations: 127.9 kB / 0.4897 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002325/0.4526, allocations: 83.95 kB / 0.4897 GB, free: 2.047 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.001203/0.4538, allocations: 465.3 kB / 0.4902 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004694/0.4542, allocations: 213.5 kB / 0.4904 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008233/0.4625, allocations: 3.465 MB / 0.4938 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/0.4626, allocations: 28 kB / 0.4938 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.4626, allocations: 4 kB / 0.4938 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.63e-05/0.4626, allocations: 11.95 kB / 0.4938 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/0.4762, allocations: 6.266 MB / 0.4999 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.4762, allocations: 0 / 0.4999 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002085/0.4783, allocations: 431.4 kB / 0.5003 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005496/0.4838, allocations: 1.202 MB / 0.5015 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002948/0.4842, allocations: 63.97 kB / 0.5016 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02022/0.5044, allocations: 18.88 MB / 0.52 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5044, allocations: 0 / 0.52 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.5147, allocations: 4.932 MB / 0.5248 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.5159, allocations: 0.5256 MB / 0.5253 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002858/0.5162, allocations: 59.98 kB / 0.5254 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001745/0.518, allocations: 135.8 kB / 0.5255 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000515/0.5185, allocations: 201.8 kB / 0.5257 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/0.5187, allocations: 75.86 kB / 0.5258 GB, free: 11.46 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001349/0.52, allocations: 1.045 MB / 0.5268 GB, free: 10.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.613e-06/0.52, allocations: 0 / 0.5268 GB, free: 10.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002438/0.5225, allocations: 0.6991 MB / 0.5275 GB, free: 9.723 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.0005073/0.523, allocations: 259.1 kB / 0.5277 GB, free: 9.461 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005811/0.5288, allocations: 3.364 MB / 0.531 GB, free: 5.969 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.5288, allocations: 4.375 kB / 0.531 GB, free: 5.965 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00385/0.5327, allocations: 2.593 MB / 0.5336 GB, free: 3.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/0.535, allocations: 381.5 kB / 0.5339 GB, free: 2.883 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1963/0.7313, allocations: 5.261 MB / 0.5391 GB, free: 130.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.7324, allocations: 1.565 MB / 0.5406 GB, free: 129.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001373/0.7338, allocations: 299.9 kB / 0.5409 GB, free: 129.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005484/0.7343, allocations: 165.3 kB / 0.541 GB, free: 129.5 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.7343, allocations: 2.438 kB / 0.541 GB, free: 129.5 MB / 462.1 MB Notification: Performance of Templates: time 0.04847/0.7828, allocations: 39.7 MB / 0.5798 GB, free: 97.91 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