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.0007955/0.0007957, allocations: 90.88 kB / 17.31 MB, free: 5.59 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.0008414/0.0008413, allocations: 174.5 kB / 18.21 MB, free: 5.191 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.114/1.114, allocations: 223.3 MB / 242.3 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002197/0.0002196, allocations: 11.92 kB / 302.1 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07167/0.07191, allocations: 50.41 MB / 352.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.008016/0.07996, allocations: 9.922 MB / 362.4 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008931/0.08891, allocations: 6.599 MB / 369 MB, free: 3.105 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.09014, allocations: 35.81 kB / 369.1 MB, free: 3.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009684/0.09112, allocations: 393.3 kB / 369.4 MB, free: 2.684 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.0931, allocations: 0.784 MB / 370.2 MB, free: 1.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1373/0.2304, allocations: 2.025 MB / 372.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003774/0.2342, allocations: 3.374 MB / 375.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.2353, allocations: 0.6438 MB / 376.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.2371, allocations: 1.063 MB / 377.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002111/0.2392, allocations: 1.297 MB / 378.6 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004334/0.2397, allocations: 151.9 kB / 378.8 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009678/0.2406, allocations: 398 kB / 379.2 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004508/0.2411, allocations: 0.547 MB / 379.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.2421, allocations: 1.232 MB / 380.9 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002195/0.2443, allocations: 2.998 MB / 383.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2443, allocations: 0 / 383.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.2443, allocations: 0 / 383.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.264e-05/0.2444, allocations: 1.438 kB / 383.9 MB, free: 9.262 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.005145/0.2495, allocations: 2.638 MB / 386.6 MB, free: 7.797 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.2496, allocations: 10.12 kB / 386.6 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003625/0.2499, allocations: 280.7 kB / 386.9 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.2514, allocations: 1.351 MB / 388.2 MB, free: 7.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.2516, allocations: 243 kB / 388.5 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000459/0.252, allocations: 244.5 kB / 388.7 MB, free: 6.766 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003137/0.2552, allocations: 2.186 MB / 390.9 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.679e-05/0.2552, allocations: 1 kB / 390.9 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/0.2554, allocations: 83.28 kB / 391 MB, free: 5.344 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/0.2554, allocations: 47.22 kB / 391 MB, free: 5.344 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003149/0.2586, allocations: 1.951 MB / 393 MB, free: 4.402 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008645/0.2672, allocations: 7.896 MB / 400.9 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002922/0.2702, allocations: 2.107 MB / 403 MB, free: 13.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001901/0.2721, allocations: 1.253 MB / 404.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.162e-05/0.2722, allocations: 27.14 kB / 404.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.2722, allocations: 68.44 kB / 404.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 3.076e-06/0.2722, allocations: 0 / 404.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.04639/0.3186, allocations: 14.8 MB / 419.1 MB, free: 12.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.3188, allocations: 393.8 kB / 419.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.3206, allocations: 1.51 MB / 421 MB, free: 11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.3208, allocations: 69.7 kB / 421.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004938/0.3213, allocations: 0.8276 MB / 421.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005357/0.3218, allocations: 0.8359 MB / 422.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/0.3221, allocations: 198.5 kB / 422.9 MB, free: 9.066 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 7.044e-05/0.3222, allocations: 305.1 kB / 423.2 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.324, allocations: 1.02 MB / 424.2 MB, free: 7.742 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002025/0.3261, allocations: 1.29 MB / 425.5 MB, free: 6.391 MB / 334.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.02957/0.3557, allocations: 9.707 MB / 435.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3557, allocations: 0 / 435.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005131/0.3608, allocations: 3.001 MB / 438.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3608, allocations: 8 kB / 438.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/0.3609, allocations: 7.984 kB / 438.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008312/0.3617, allocations: 355.2 kB / 438.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002337/0.3641, allocations: 0.5657 MB / 439.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007278/0.3713, allocations: 10.03 MB / 449.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.3731, allocations: 145.3 kB / 449.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/0.3733, allocations: 83.97 kB / 449.4 MB, free: 13.53 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 sytem: 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.0008766/0.3742, allocations: 465.8 kB / 449.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003617/0.3745, allocations: 205.6 kB / 450.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007907/0.3824, allocations: 3.565 MB / 453.7 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.3825, allocations: 24 kB / 453.7 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.3825, allocations: 7.938 kB / 453.7 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.926e-05/0.3825, allocations: 11.95 kB / 453.7 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/0.3939, allocations: 6.283 MB / 460 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.3939, allocations: 4 kB / 460 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/0.3957, allocations: 430.1 kB / 460.4 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005498/0.4012, allocations: 1.269 MB / 461.7 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/0.4014, allocations: 55.98 kB / 461.7 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01814/0.4195, allocations: 17.42 MB / 479.1 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4195, allocations: 0 / 479.1 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009719/0.4293, allocations: 5.032 MB / 484.2 MB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008419/0.4301, allocations: 0.5333 MB / 484.7 MB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003147/0.4304, allocations: 60 kB / 484.8 MB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/0.4322, allocations: 147.9 kB / 484.9 MB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003892/0.4326, allocations: 209.7 kB / 485.1 MB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/0.4327, allocations: 67.98 kB / 485.2 MB, free: 8.238 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001282/0.434, allocations: 1.041 MB / 486.2 MB, free: 7.199 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.434, allocations: 0 / 486.2 MB, free: 7.199 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002219/0.4362, allocations: 0.6952 MB / 486.9 MB, free: 6.504 MB / 398.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.0005035/0.4367, allocations: 257 kB / 487.2 MB, free: 6.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005203/0.442, allocations: 3.426 MB / 490.6 MB, free: 2.695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.442, allocations: 3.953 kB / 490.6 MB, free: 2.691 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003395/0.4454, allocations: 2.635 MB / 493.2 MB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.4473, allocations: 375 kB / 493.6 MB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008364/0.4556, allocations: 6.664 MB / 0.4885 GB, free: 8.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.4567, allocations: 1.565 MB / 0.4901 GB, free: 7.258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006615/0.4574, allocations: 175.3 kB / 0.4902 GB, free: 7.086 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4574, allocations: 4 kB / 0.4902 GB, free: 7.082 MB / 414.1 MB Notification: Performance of Templates: time 0.206/0.6634, allocations: 96 MB / 0.584 GB, free: 111.5 MB / 446.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/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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches