Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 51.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2309, allocations: 53.37 MB / 432.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01168/0.2426, allocations: 9.164 MB / 441.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.2544, allocations: 6.099 MB / 447.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.2563, allocations: 47.69 kB / 447.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.2577, allocations: 487.9 kB / 448.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003042/0.2608, allocations: 0.931 MB / 449.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005806/0.2666, allocations: 2.541 MB / 451.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004844/0.2714, allocations: 3.476 MB / 455.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.2725, allocations: 0.5266 MB / 455.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002107/0.2746, allocations: 1.328 MB / 456.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002346/0.2769, allocations: 1.479 MB / 458.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006691/0.2776, allocations: 328 kB / 458.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.2789, allocations: 0.6011 MB / 459.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007464/0.2796, allocations: 0.7437 MB / 460.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.2811, allocations: 1.167 MB / 461.2 MB, free: 9.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004682/0.2858, allocations: 3.985 MB / 465.2 MB, free: 5.699 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2858, allocations: 0 / 465.2 MB, free: 5.699 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.2858, allocations: 7.984 kB / 465.2 MB, free: 5.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.455e-05/0.2859, allocations: 0 / 465.2 MB, free: 5.691 MB / 366.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.008565/0.2945, allocations: 3.091 MB / 468.3 MB, free: 2.555 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.2945, allocations: 8.031 kB / 468.3 MB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008514/0.2954, allocations: 323.1 kB / 468.7 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002518/0.2979, allocations: 1.326 MB / 470 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003291/0.2982, allocations: 399.7 kB / 470.4 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006224/0.2988, allocations: 236 kB / 470.6 MB, free: 196 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004683/0.3035, allocations: 2.646 MB / 473.2 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-05/0.3036, allocations: 3.984 kB / 473.3 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000196/0.3038, allocations: 80 kB / 473.3 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.402e-05/0.3038, allocations: 48 kB / 473.4 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004251/0.3081, allocations: 1.9 MB / 475.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01257/0.3206, allocations: 6.795 MB / 482.1 MB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003845/0.3245, allocations: 1.969 MB / 484 MB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003156/0.3276, allocations: 1.476 MB / 485.5 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.994e-05/0.3277, allocations: 22 kB / 485.5 MB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.608e-05/0.3278, allocations: 68.48 kB / 485.6 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 4.388e-06/0.3278, allocations: 0 / 485.6 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05829/0.3861, allocations: 13.69 MB / 499.3 MB, free: 2.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002479/0.3863, allocations: 393.8 kB / 499.7 MB, free: 2.508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/0.3886, allocations: 1.447 MB / 0.4894 GB, free: 1.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000256/0.3889, allocations: 73.7 kB / 0.4895 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007142/0.3896, allocations: 0.8442 MB / 0.4903 GB, free: 120 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009076/0.3905, allocations: 0.8716 MB / 0.4911 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000802/0.3913, allocations: 412.6 kB / 0.4915 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3914, allocations: 305.1 kB / 0.4918 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/0.3937, allocations: 0.9924 MB / 0.4928 GB, free: 13.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002704/0.3964, allocations: 1.494 MB / 0.4942 GB, free: 11.91 MB / 414.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.03711/0.4336, allocations: 9.267 MB / 0.5033 GB, free: 2.551 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.4336, allocations: 0 / 0.5033 GB, free: 2.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006414/0.44, allocations: 2.933 MB / 0.5062 GB, free: 15.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.44, allocations: 7.938 kB / 0.5062 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-05/0.44, allocations: 16.02 kB / 0.5062 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.4411, allocations: 344.8 kB / 0.5065 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002984/0.4441, allocations: 0.55 MB / 0.507 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009789/0.4538, allocations: 10.13 MB / 0.5169 GB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/0.4561, allocations: 131.9 kB / 0.5171 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/0.4564, allocations: 79.95 kB / 0.5171 GB, free: 3.684 MB / 430.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.001035/0.4574, allocations: 473.3 kB / 0.5176 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000471/0.4579, allocations: 210.7 kB / 0.5178 GB, free: 3.004 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009362/0.4672, allocations: 3.422 MB / 0.5211 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/0.4672, allocations: 28 kB / 0.5212 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.4673, allocations: 4 kB / 0.5212 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.289e-05/0.4673, allocations: 27.86 kB / 0.5212 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.4817, allocations: 5.485 MB / 0.5265 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.4817, allocations: 4 kB / 0.5266 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002259/0.484, allocations: 431.5 kB / 0.527 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006377/0.4904, allocations: 1.186 MB / 0.5281 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002334/0.4906, allocations: 67.97 kB / 0.5282 GB, free: 8.121 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1965/0.687, allocations: 17.56 MB / 0.5453 GB, free: 95.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.687, allocations: 5.703 kB / 0.5453 GB, free: 95.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/0.6973, allocations: 4.91 MB / 0.5501 GB, free: 93.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.6983, allocations: 465 kB / 0.5506 GB, free: 93.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002925/0.6986, allocations: 54.53 kB / 0.5506 GB, free: 93.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001814/0.7004, allocations: 134.2 kB / 0.5508 GB, free: 93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000477/0.7008, allocations: 209.6 kB / 0.551 GB, free: 92.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/0.701, allocations: 76.83 kB / 0.551 GB, free: 92.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001046/0.702, allocations: 0.991 MB / 0.552 GB, free: 92.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.702, allocations: 0 / 0.552 GB, free: 92.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002161/0.7042, allocations: 0.6903 MB / 0.5527 GB, free: 92.45 MB / 446.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.0004334/0.7046, allocations: 260.7 kB / 0.5529 GB, free: 92.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004525/0.7092, allocations: 3.237 MB / 0.5561 GB, free: 90.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.7092, allocations: 4 kB / 0.5561 GB, free: 90.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002895/0.7121, allocations: 2.515 MB / 0.5585 GB, free: 87.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.7137, allocations: 344.2 kB / 0.5589 GB, free: 87.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006811/0.7205, allocations: 5.366 MB / 0.5641 GB, free: 82.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007415/0.7213, allocations: 0.9945 MB / 0.5651 GB, free: 81.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001008/0.7223, allocations: 281.2 kB / 0.5654 GB, free: 81.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005692/0.7228, allocations: 163.3 kB / 0.5655 GB, free: 81.36 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/0.7228, allocations: 1.969 kB / 0.5655 GB, free: 81.36 MB / 446.1 MB Notification: Performance of Templates: time 0.04645/0.7693, allocations: 40.66 MB / 0.6052 GB, free: 41.07 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 480] Could not SIGINT process: 3193536. Could not SIGINT process: 3193537. Could not SIGINT process: 3193540. Could not SIGINT process: 3193078. [Calling os._exit(0), Time elapsed: 486.2565574320033] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v'] 0.7773007610085187 0.786161641 0.49797189599999997 Calling exit ...