Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001036/0.001037, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007373/0.007373, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.366/1.366, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.000435/0.0004351, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2157, allocations: 47.58 MB / 327 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.009459/0.2252, allocations: 9.843 MB / 336.9 MB, free: 9.488 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.2378, allocations: 6.616 MB / 343.5 MB, free: 2.852 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002393/0.2403, allocations: 31.88 kB / 343.5 MB, free: 2.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001876/0.2422, allocations: 389.4 kB / 343.9 MB, free: 2.438 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003455/0.2456, allocations: 0.784 MB / 344.7 MB, free: 1.648 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005372/0.251, allocations: 2.036 MB / 346.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004153/0.2552, allocations: 3.38 MB / 350.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008795/0.2561, allocations: 0.6425 MB / 350.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.2574, allocations: 1.062 MB / 351.8 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.2589, allocations: 1.303 MB / 353.1 MB, free: 9.176 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002773/0.2592, allocations: 151.9 kB / 353.3 MB, free: 9.027 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008044/0.26, allocations: 391.6 kB / 353.7 MB, free: 8.645 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004635/0.2605, allocations: 0.5524 MB / 354.2 MB, free: 8.09 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.2616, allocations: 1.23 MB / 355.4 MB, free: 6.848 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00298/0.2646, allocations: 3.674 MB / 359.1 MB, free: 3.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2646, allocations: 0 / 359.1 MB, free: 3.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2646, allocations: 0 / 359.1 MB, free: 3.16 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.613e-05/0.2647, allocations: 0 / 359.1 MB, free: 3.16 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.006296/0.271, allocations: 2.635 MB / 361.7 MB, free: 476 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.271, allocations: 8.031 kB / 361.8 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004185/0.2714, allocations: 273.8 kB / 362 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.2734, allocations: 1.35 MB / 363.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.2736, allocations: 249.4 kB / 363.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005341/0.2741, allocations: 240 kB / 363.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003776/0.2779, allocations: 2.181 MB / 366 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.31e-05/0.278, allocations: 7.844 kB / 366 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001855/0.2782, allocations: 87.98 kB / 366.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/0.2782, allocations: 48 kB / 366.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003914/0.2821, allocations: 1.959 MB / 368.1 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01145/0.2936, allocations: 7.888 MB / 376 MB, free: 1.801 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00336/0.297, allocations: 2.108 MB / 378.1 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002072/0.2991, allocations: 1.251 MB / 379.4 MB, free: 14.4 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.718e-05/0.2992, allocations: 37.86 kB / 379.4 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.2992, allocations: 56.56 kB / 379.5 MB, free: 14.3 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 3.327e-06/0.2992, allocations: 0 / 379.5 MB, free: 14.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05224/0.3515, allocations: 14.81 MB / 394.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/0.3517, allocations: 393.8 kB / 394.7 MB, free: 14.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.3537, allocations: 1.51 MB / 396.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002191/0.3539, allocations: 73.7 kB / 396.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005331/0.3545, allocations: 0.8197 MB / 397.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006259/0.3551, allocations: 0.8315 MB / 397.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002643/0.3554, allocations: 194.5 kB / 398.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.016e-05/0.3555, allocations: 309.1 kB / 398.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/0.3576, allocations: 1.02 MB / 399.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002272/0.3599, allocations: 1.295 MB / 400.7 MB, free: 8.691 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.03304/0.3929, allocations: 9.699 MB / 410.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.3929, allocations: 8 kB / 410.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006106/0.3991, allocations: 2.998 MB / 413.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.3991, allocations: 11.98 kB / 413.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.27e-05/0.3992, allocations: 4 kB / 413.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.4006, allocations: 353 kB / 413.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/0.4037, allocations: 0.5695 MB / 414.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/0.4142, allocations: 10.03 MB / 424.4 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/0.4168, allocations: 143.9 kB / 424.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/0.417, allocations: 79.97 kB / 424.6 MB, free: 15.79 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.001074/0.4181, allocations: 481.4 kB / 425.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004285/0.4185, allocations: 209.5 kB / 425.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008965/0.4275, allocations: 3.543 MB / 428.8 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/0.4275, allocations: 31.94 kB / 428.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.4275, allocations: 4 kB / 428.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/0.4276, allocations: 15.89 kB / 428.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/0.4403, allocations: 6.294 MB / 435.1 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.4403, allocations: 128 / 435.1 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001978/0.4423, allocations: 431.5 kB / 435.6 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006067/0.4484, allocations: 1.256 MB / 436.8 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001825/0.4486, allocations: 59.98 kB / 436.9 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02087/0.4694, allocations: 17.43 MB / 454.3 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.4695, allocations: 12.09 kB / 454.3 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1767/0.6462, allocations: 5.015 MB / 459.3 MB, free: 110.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009373/0.6472, allocations: 0.5262 MB / 459.9 MB, free: 110.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002822/0.6475, allocations: 53.7 kB / 459.9 MB, free: 110.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001841/0.6493, allocations: 159.3 kB / 460.1 MB, free: 110.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004842/0.6498, allocations: 201.1 kB / 460.3 MB, free: 110.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/0.65, allocations: 70.81 kB / 460.3 MB, free: 110.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001271/0.6512, allocations: 1.045 MB / 461.4 MB, free: 110 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6513, allocations: 0 / 461.4 MB, free: 110 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002271/0.6535, allocations: 0.6995 MB / 462.1 MB, free: 109.9 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.0004641/0.654, allocations: 255.1 kB / 462.3 MB, free: 109.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004832/0.6588, allocations: 3.418 MB / 465.8 MB, free: 108.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6589, allocations: 3.156 kB / 465.8 MB, free: 108.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003026/0.6619, allocations: 2.639 MB / 468.4 MB, free: 106.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/0.6639, allocations: 368.1 kB / 468.8 MB, free: 106.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007022/0.6709, allocations: 6.596 MB / 475.3 MB, free: 100.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007513/0.6717, allocations: 1.566 MB / 476.9 MB, free: 99.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001082/0.6728, allocations: 293.9 kB / 477.2 MB, free: 99.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005478/0.6733, allocations: 159.4 kB / 477.4 MB, free: 99.05 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6733, allocations: 0 / 477.4 MB, free: 99.05 MB / 382.1 MB Notification: Performance of Templates: time 0.04553/0.7189, allocations: 36.52 MB / 0.5018 GB, free: 62.51 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)