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.001507/0.001507, allocations: 112.2 kB / 16.51 MB, free: 6.715 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.001619/0.001619, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.245/1.245, allocations: 222.9 MB / 241.1 MB, free: 13.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009979/0.0009981, allocations: 42.97 kB / 300 MB, free: 6.078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08047/0.08148, allocations: 49.45 MB / 349.4 MB, free: 4.621 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01018/0.0917, allocations: 10.48 MB / 359.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009785/0.1015, allocations: 6.665 MB / 366.6 MB, free: 3.402 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.1029, allocations: 39.81 kB / 366.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.1041, allocations: 389.3 kB / 367 MB, free: 2.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.1063, allocations: 0.788 MB / 367.8 MB, free: 2.188 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004198/0.1105, allocations: 2.023 MB / 369.8 MB, free: 180 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1422/0.2527, allocations: 3.371 MB / 373.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009624/0.2537, allocations: 0.6574 MB / 373.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.2552, allocations: 1.109 MB / 374.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.2567, allocations: 1.366 MB / 376.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003315/0.2571, allocations: 172.1 kB / 376.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008613/0.2579, allocations: 416.2 kB / 376.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005233/0.2585, allocations: 0.5812 MB / 377.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.2596, allocations: 1.253 MB / 378.7 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002929/0.2625, allocations: 3.75 MB / 382.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2625, allocations: 0 / 382.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2625, allocations: 0 / 382.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.9e-05/0.2626, allocations: 1.281 kB / 382.4 MB, free: 8.922 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.006669/0.2693, allocations: 3.081 MB / 385.5 MB, free: 7.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2693, allocations: 9.625 kB / 385.5 MB, free: 7.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004458/0.2698, allocations: 277.4 kB / 385.8 MB, free: 7.113 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.2714, allocations: 1.354 MB / 387.2 MB, free: 6.223 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/0.2716, allocations: 238.9 kB / 387.4 MB, free: 6.059 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005117/0.2721, allocations: 243.8 kB / 387.6 MB, free: 5.969 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003427/0.2755, allocations: 2.164 MB / 389.8 MB, free: 4.613 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.799e-05/0.2756, allocations: 2.25 kB / 389.8 MB, free: 4.613 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/0.2758, allocations: 86.95 kB / 389.9 MB, free: 4.547 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.53e-05/0.2758, allocations: 47.38 kB / 389.9 MB, free: 4.547 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003488/0.2793, allocations: 1.922 MB / 391.9 MB, free: 3.613 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.29, allocations: 7.841 MB / 399.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003325/0.2934, allocations: 2.082 MB / 401.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002034/0.2954, allocations: 1.233 MB / 403 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.2956, allocations: 29.05 kB / 403 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.2956, allocations: 64.5 kB / 403.1 MB, free: 11.67 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 3.978e-06/0.2956, allocations: 3.281 kB / 403.1 MB, free: 11.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05307/0.3487, allocations: 14.06 MB / 417.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.3489, allocations: 389.8 kB / 417.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/0.3511, allocations: 1.518 MB / 419.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001848/0.3513, allocations: 69.7 kB / 419.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00055/0.3519, allocations: 0.8192 MB / 419.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006209/0.3525, allocations: 0.8355 MB / 420.8 MB, free: 9.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006861/0.3532, allocations: 411.8 kB / 421.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 7.717e-05/0.3533, allocations: 307.1 kB / 421.5 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002075/0.3554, allocations: 0.9924 MB / 422.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/0.3577, allocations: 1.252 MB / 423.7 MB, free: 6.758 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.03363/0.3914, allocations: 9.371 MB / 433.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.3914, allocations: 4 kB / 433.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005724/0.3971, allocations: 2.936 MB / 436 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.3972, allocations: 8 kB / 436 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/0.3972, allocations: 7.984 kB / 436.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009409/0.3981, allocations: 356.4 kB / 436.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/0.4008, allocations: 0.5552 MB / 437 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007904/0.4087, allocations: 10.02 MB / 447 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/0.4108, allocations: 124 kB / 447.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.411, allocations: 79.97 kB / 447.2 MB, free: 14.35 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.0009274/0.412, allocations: 469.8 kB / 447.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004016/0.4124, allocations: 205.6 kB / 447.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008444/0.4208, allocations: 3.461 MB / 451.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.4209, allocations: 24 kB / 451.3 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.4209, allocations: 8.594 kB / 451.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-05/0.4209, allocations: 15.95 kB / 451.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/0.4333, allocations: 6.174 MB / 457.5 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.4333, allocations: 0 / 457.5 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002031/0.4354, allocations: 426.9 kB / 457.9 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005698/0.4411, allocations: 1.204 MB / 459.1 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001923/0.4413, allocations: 59.98 kB / 459.2 MB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01968/0.461, allocations: 17.21 MB / 476.4 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.461, allocations: 0 / 476.4 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/0.4716, allocations: 4.908 MB / 481.3 MB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.4727, allocations: 0.5256 MB / 481.8 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004606/0.4732, allocations: 59.98 kB / 481.9 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/0.4752, allocations: 131.9 kB / 482 MB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005096/0.4757, allocations: 201.7 kB / 482.2 MB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/0.4759, allocations: 76.34 kB / 482.3 MB, free: 9.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001649/0.4775, allocations: 1.037 MB / 483.3 MB, free: 8.645 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4775, allocations: 0 / 483.3 MB, free: 8.645 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002951/0.4805, allocations: 0.6991 MB / 484 MB, free: 7.945 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.0007851/0.4813, allocations: 268.7 kB / 484.3 MB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006068/0.4874, allocations: 3.356 MB / 487.7 MB, free: 4.195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.4874, allocations: 0 / 487.7 MB, free: 4.195 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003782/0.4912, allocations: 2.596 MB / 490.3 MB, free: 1.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/0.4936, allocations: 369.9 kB / 490.6 MB, free: 1.125 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009252/0.5029, allocations: 6.278 MB / 496.9 MB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.504, allocations: 1.569 MB / 498.5 MB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001281/0.5053, allocations: 295.8 kB / 498.8 MB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006294/0.506, allocations: 159.3 kB / 498.9 MB, free: 8.758 MB / 414.1 MB Notification: Performance of SimCode: time 6.352e-06/0.506, allocations: 0 / 498.9 MB, free: 8.758 MB / 414.1 MB Notification: Performance of Templates: time 0.0534/0.5594, allocations: 36.91 MB / 0.5233 GB, free: 4.148 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)