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.001857/0.001857, allocations: 108.5 kB / 17.16 MB, free: 6.328 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.00224/0.00224, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.119/2.119, allocations: 222.9 MB / 241.8 MB, free: 13.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 44.19 kB / 300.6 MB, free: 6.059 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.148, allocations: 49.44 MB / 350.1 MB, free: 4.609 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01296/0.161, allocations: 10.47 MB / 360.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01732/0.1784, allocations: 6.677 MB / 367.2 MB, free: 3.387 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004268/0.1827, allocations: 39.81 kB / 367.3 MB, free: 3.348 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003172/0.186, allocations: 385.3 kB / 367.6 MB, free: 2.969 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006308/0.1924, allocations: 0.7841 MB / 368.4 MB, free: 2.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0101/0.2026, allocations: 2.03 MB / 370.4 MB, free: 164 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3129/0.5155, allocations: 3.369 MB / 373.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00242/0.518, allocations: 0.6567 MB / 374.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004395/0.5224, allocations: 1.107 MB / 375.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004738/0.5272, allocations: 1.369 MB / 376.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00174/0.529, allocations: 172.8 kB / 377.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003176/0.5323, allocations: 418.9 kB / 377.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002023/0.5343, allocations: 0.5845 MB / 378.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004251/0.5386, allocations: 1.246 MB / 379.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00703/0.5457, allocations: 3.068 MB / 382.4 MB, free: 9.336 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.5458, allocations: 0 / 382.4 MB, free: 9.336 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5458, allocations: 0 / 382.4 MB, free: 9.336 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001935/0.546, allocations: 0 / 382.4 MB, free: 9.336 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.01849/0.5645, allocations: 3.077 MB / 385.5 MB, free: 7.664 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.54e-05/0.5646, allocations: 10.34 kB / 385.5 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.5663, allocations: 277 kB / 385.8 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004979/0.5713, allocations: 1.356 MB / 387.1 MB, free: 6.711 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004413/0.5718, allocations: 246.3 kB / 387.4 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001588/0.5734, allocations: 241.1 kB / 387.6 MB, free: 6.453 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008035/0.5815, allocations: 2.166 MB / 389.8 MB, free: 5.098 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.578e-05/0.5816, allocations: 5.875 kB / 389.8 MB, free: 5.098 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003508/0.582, allocations: 77.97 kB / 389.9 MB, free: 5.039 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-05/0.5821, allocations: 51.41 kB / 389.9 MB, free: 5.035 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007347/0.5894, allocations: 1.917 MB / 391.8 MB, free: 4.102 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02394/0.6134, allocations: 7.844 MB / 399.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004127/0.6176, allocations: 2.078 MB / 401.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002336/0.62, allocations: 1.232 MB / 403 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.6201, allocations: 27.7 kB / 403 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.024e-05/0.6202, allocations: 67.78 kB / 403.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 4.408e-06/0.6202, allocations: 0 / 403.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.06743/0.6877, allocations: 14.06 MB / 417.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003535/0.6881, allocations: 389.8 kB / 417.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004485/0.6926, allocations: 1.51 MB / 419 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00081/0.6935, allocations: 77.14 kB / 419.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.6945, allocations: 0.808 MB / 419.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00184/0.6964, allocations: 0.843 MB / 420.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001999/0.6984, allocations: 408.5 kB / 421.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6985, allocations: 305.1 kB / 421.5 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003001/0.7016, allocations: 0.9924 MB / 422.4 MB, free: 8.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003301/0.7049, allocations: 1.252 MB / 423.7 MB, free: 7.41 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.065/0.7699, allocations: 9.383 MB / 433.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-05/0.77, allocations: 0 / 433.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.01293/0.7829, allocations: 2.931 MB / 436 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.966e-05/0.7831, allocations: 12.09 kB / 436 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.034e-05/0.7831, allocations: 8 kB / 436 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/0.7849, allocations: 359.9 kB / 436.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005454/0.7904, allocations: 0.55 MB / 436.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01742/0.8078, allocations: 10.02 MB / 447 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004869/0.8128, allocations: 124 kB / 447.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/0.8139, allocations: 87.95 kB / 447.2 MB, free: 14.98 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.003222/0.8171, allocations: 465.9 kB / 447.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00169/0.8188, allocations: 201.6 kB / 447.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01876/0.8376, allocations: 3.456 MB / 451.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.043e-05/0.8377, allocations: 28 kB / 451.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-05/0.8378, allocations: 7.938 kB / 451.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001003/0.8379, allocations: 11.95 kB / 451.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02653/0.8645, allocations: 6.181 MB / 457.5 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-05/0.8646, allocations: 0 / 457.5 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004129/0.8687, allocations: 415.5 kB / 457.9 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009724/0.8785, allocations: 1.212 MB / 459.1 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008914/0.8794, allocations: 63.97 kB / 459.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03332/0.9128, allocations: 17.22 MB / 476.4 MB, free: 356 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.9128, allocations: 4.031 kB / 476.4 MB, free: 352 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02161/0.9345, allocations: 4.897 MB / 481.3 MB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003101/0.9376, allocations: 0.5295 MB / 481.8 MB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/0.9388, allocations: 59.98 kB / 481.9 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003641/0.9424, allocations: 127.9 kB / 482 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001038/0.9435, allocations: 205.7 kB / 482.2 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003025/0.9438, allocations: 71.98 kB / 482.3 MB, free: 10.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002877/0.9467, allocations: 1.041 MB / 483.3 MB, free: 9.285 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.9467, allocations: 0 / 483.3 MB, free: 9.285 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005258/0.952, allocations: 0.6952 MB / 484 MB, free: 8.59 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.001022/0.9531, allocations: 252.2 kB / 484.3 MB, free: 8.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01058/0.9637, allocations: 3.367 MB / 487.6 MB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.6e-05/0.9637, allocations: 4 kB / 487.6 MB, free: 4.844 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007147/0.9709, allocations: 2.597 MB / 490.2 MB, free: 2.125 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004975/0.9759, allocations: 370.4 kB / 490.6 MB, free: 1.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02003/0.996, allocations: 6.352 MB / 496.9 MB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002346/0.9984, allocations: 1.561 MB / 498.5 MB, free: 9.781 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002006/1, allocations: 175.3 kB / 498.7 MB, free: 9.609 MB / 414.1 MB Notification: Performance of SimCode: time 1.873e-06/1.001, allocations: 0 / 498.7 MB, free: 9.609 MB / 414.1 MB Notification: Performance of Templates: time 0.361/1.362, allocations: 96.25 MB / 0.581 GB, free: 114.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