Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001265/0.001266, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001331/0.001331, allocations: 196.2 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.1 MB / 222 MB, free: 4.977 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 43.94 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2239, allocations: 46.63 MB / 324.7 MB, free: 1.812 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.009764/0.2337, allocations: 10.39 MB / 335.1 MB, free: 9.543 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.244, allocations: 6.698 MB / 341.8 MB, free: 3.031 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.2458, allocations: 39.75 kB / 341.8 MB, free: 2.992 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.247, allocations: 385.4 kB / 342.2 MB, free: 2.613 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002344/0.2493, allocations: 0.7918 MB / 343 MB, free: 1.816 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004576/0.2539, allocations: 2.028 MB / 345 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003791/0.2577, allocations: 3.373 MB / 348.4 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009064/0.2586, allocations: 0.6581 MB / 349 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.2602, allocations: 1.113 MB / 350.2 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/0.2619, allocations: 1.361 MB / 351.5 MB, free: 9.234 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000407/0.2623, allocations: 172 kB / 351.7 MB, free: 9.066 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009439/0.2633, allocations: 415.6 kB / 352.1 MB, free: 8.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005716/0.2638, allocations: 0.5992 MB / 352.7 MB, free: 8.059 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.265, allocations: 1.247 MB / 353.9 MB, free: 6.805 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003524/0.2685, allocations: 3.741 MB / 357.7 MB, free: 3.051 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2686, allocations: 0 / 357.7 MB, free: 3.051 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2686, allocations: 0 / 357.7 MB, free: 3.051 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.461e-05/0.2687, allocations: 0 / 357.7 MB, free: 3.051 MB / 286.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.008537/0.2772, allocations: 3.079 MB / 360.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.2773, allocations: 12.03 kB / 360.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000522/0.2778, allocations: 277.7 kB / 361 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.2799, allocations: 1.35 MB / 362.4 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.2801, allocations: 241.5 kB / 362.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000539/0.2807, allocations: 235.9 kB / 362.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003819/0.2845, allocations: 2.165 MB / 365 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/0.2846, allocations: 3.938 kB / 365 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.2848, allocations: 88 kB / 365.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.695e-05/0.2848, allocations: 48 kB / 365.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003813/0.2886, allocations: 1.92 MB / 367.1 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.3002, allocations: 7.841 MB / 374.9 MB, free: 1.348 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003363/0.3036, allocations: 2.088 MB / 377 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001976/0.3056, allocations: 1.227 MB / 378.2 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.3058, allocations: 33.84 kB / 378.3 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/0.3058, allocations: 68.5 kB / 378.3 MB, free: 13.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 4.328e-06/0.3058, allocations: 0 / 378.3 MB, free: 13.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05225/0.3581, allocations: 14.05 MB / 392.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001822/0.3583, allocations: 393.8 kB / 392.8 MB, free: 15.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.3605, allocations: 1.514 MB / 394.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002515/0.3607, allocations: 69.7 kB / 394.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005673/0.3613, allocations: 0.8275 MB / 395.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006546/0.362, allocations: 0.8276 MB / 396 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006726/0.3626, allocations: 412.5 kB / 396.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.3627, allocations: 305.1 kB / 396.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002072/0.3648, allocations: 0.9924 MB / 397.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00223/0.3671, allocations: 1.252 MB / 399 MB, free: 8.887 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.03488/0.402, allocations: 9.374 MB / 408.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.402, allocations: 0 / 408.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006945/0.4089, allocations: 2.948 MB / 411.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.409, allocations: 4 kB / 411.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.801e-05/0.409, allocations: 4 kB / 411.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.4101, allocations: 357 kB / 411.6 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/0.4127, allocations: 0.5461 MB / 412.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008475/0.4212, allocations: 10.02 MB / 422.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/0.4233, allocations: 131.9 kB / 422.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000261/0.4236, allocations: 79.95 kB / 422.4 MB, free: 432 kB / 350.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.001031/0.4246, allocations: 472.9 kB / 422.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005575/0.4252, allocations: 209.9 kB / 423.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008671/0.4339, allocations: 3.445 MB / 426.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-05/0.4339, allocations: 39.92 kB / 426.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.4339, allocations: 4 kB / 426.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/0.4339, allocations: 11.95 kB / 426.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/0.4466, allocations: 6.176 MB / 432.8 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.4467, allocations: 0 / 432.8 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/0.4487, allocations: 427.4 kB / 433.2 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005671/0.4544, allocations: 1.202 MB / 434.4 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002372/0.4547, allocations: 59.97 kB / 434.4 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01926/0.4739, allocations: 17.22 MB / 451.7 MB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.474, allocations: 480 / 451.7 MB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1528/0.6267, allocations: 4.894 MB / 456.5 MB, free: 110.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/0.6281, allocations: 0.5282 MB / 457.1 MB, free: 110.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005818/0.6287, allocations: 52.81 kB / 457.1 MB, free: 110.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00217/0.6309, allocations: 144.2 kB / 457.3 MB, free: 110.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006178/0.6315, allocations: 198.8 kB / 457.5 MB, free: 110.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/0.6318, allocations: 73.16 kB / 457.5 MB, free: 110.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001568/0.6333, allocations: 1.038 MB / 458.6 MB, free: 110.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6334, allocations: 0.9688 kB / 458.6 MB, free: 110.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002823/0.6362, allocations: 0.7022 MB / 459.3 MB, free: 110.2 MB / 382.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.0005671/0.6368, allocations: 248.7 kB / 459.5 MB, free: 110 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005/0.6418, allocations: 3.358 MB / 462.9 MB, free: 108.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.6418, allocations: 3.281 kB / 462.9 MB, free: 108.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003198/0.645, allocations: 2.595 MB / 465.5 MB, free: 106.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/0.647, allocations: 369 kB / 465.8 MB, free: 106.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008104/0.6551, allocations: 6.275 MB / 472.1 MB, free: 102.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009819/0.6562, allocations: 1.569 MB / 473.7 MB, free: 101.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001348/0.6575, allocations: 293.5 kB / 474 MB, free: 101.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006476/0.6582, allocations: 158.8 kB / 474.1 MB, free: 101.1 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6582, allocations: 0 / 474.1 MB, free: 101.1 MB / 382.1 MB Notification: Performance of Templates: time 0.04397/0.7021, allocations: 36.9 MB / 0.499 GB, free: 64.31 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)