Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001512/0.001512, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.00154/0.00154, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.357/1.357, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.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.001256/0.001256, allocations: 55.92 kB / 280 MB, free: 3.16 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0875/0.08877, allocations: 46.63 MB / 326.6 MB, free: 4.461 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01041/0.09922, allocations: 10.48 MB / 337.1 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01089/0.1102, allocations: 6.298 MB / 343.4 MB, free: 3.598 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001878/0.1121, allocations: 39.81 kB / 343.4 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.1134, allocations: 487.8 kB / 343.9 MB, free: 3.078 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002645/0.1161, allocations: 0.8998 MB / 344.8 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005241/0.1213, allocations: 2.507 MB / 347.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004426/0.1258, allocations: 3.45 MB / 350.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.1269, allocations: 0.7566 MB / 351.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/0.1287, allocations: 1.265 MB / 352.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.1304, allocations: 1.467 MB / 354.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004265/0.1308, allocations: 328 kB / 354.6 MB, free: 8.355 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.1318, allocations: 0.5699 MB / 355.2 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005987/0.1325, allocations: 0.7321 MB / 355.9 MB, free: 7.051 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.1337, allocations: 1.404 MB / 357.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00344/0.1372, allocations: 3.878 MB / 361.2 MB, free: 1.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1372, allocations: 0 / 361.2 MB, free: 1.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1372, allocations: 0 / 361.2 MB, free: 1.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.018e-05/0.1372, allocations: 0 / 361.2 MB, free: 1.75 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.007557/0.1448, allocations: 3.083 MB / 364.3 MB, free: 14.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.1449, allocations: 12.03 kB / 364.3 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005289/0.1454, allocations: 273.8 kB / 364.5 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/0.1477, allocations: 1.35 MB / 365.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/0.148, allocations: 249.5 kB / 366.1 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005383/0.1485, allocations: 232 kB / 366.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003787/0.1523, allocations: 2.169 MB / 368.5 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.319e-05/0.1524, allocations: 4 kB / 368.5 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001921/0.1526, allocations: 83.94 kB / 368.6 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.1526, allocations: 48 kB / 368.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003885/0.1565, allocations: 1.92 MB / 370.6 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/0.1685, allocations: 7.841 MB / 378.4 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1598/0.3284, allocations: 2.072 MB / 380.5 MB, free: 51.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002182/0.3306, allocations: 1.232 MB / 381.7 MB, free: 50.85 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.3307, allocations: 29.31 kB / 381.8 MB, free: 50.85 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.442e-05/0.3308, allocations: 64.83 kB / 381.8 MB, free: 50.79 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 5.46e-06/0.3308, allocations: 3.812 kB / 381.8 MB, free: 50.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05164/0.3825, allocations: 14.08 MB / 395.9 MB, free: 46.08 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.3826, allocations: 402 kB / 396.3 MB, free: 45.63 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/0.3844, allocations: 1.5 MB / 397.8 MB, free: 44.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002899/0.3847, allocations: 75.17 kB / 397.9 MB, free: 44.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.3851, allocations: 0.8182 MB / 398.7 MB, free: 43.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004748/0.3856, allocations: 0.8371 MB / 399.5 MB, free: 43.15 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005657/0.3861, allocations: 416.5 kB / 399.9 MB, free: 42.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.3862, allocations: 305.1 kB / 400.2 MB, free: 42.44 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001853/0.3881, allocations: 0.9885 MB / 401.2 MB, free: 41.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/0.39, allocations: 1.253 MB / 402.5 MB, free: 40.13 MB / 318.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.03023/0.4202, allocations: 9.397 MB / 411.9 MB, free: 30.61 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.4202, allocations: 0.875 kB / 411.9 MB, free: 30.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005036/0.4253, allocations: 2.94 MB / 414.8 MB, free: 27.61 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.4253, allocations: 4 kB / 414.8 MB, free: 27.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/0.4253, allocations: 11.98 kB / 414.8 MB, free: 27.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008306/0.4262, allocations: 360.9 kB / 415.2 MB, free: 27.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002397/0.4286, allocations: 0.55 MB / 415.7 MB, free: 26.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006372/0.435, allocations: 11.11 MB / 426.8 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/0.4372, allocations: 127.7 kB / 427 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/0.4374, allocations: 83.95 kB / 427 MB, free: 14.56 MB / 318.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.000876/0.4383, allocations: 470 kB / 427.5 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004763/0.4388, allocations: 213.4 kB / 427.7 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007316/0.4461, allocations: 3.447 MB / 431.1 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.4461, allocations: 24 kB / 431.2 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.4462, allocations: 7.719 kB / 431.2 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.15e-05/0.4462, allocations: 15.95 kB / 431.2 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.4571, allocations: 6.181 MB / 437.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.4572, allocations: 0 / 437.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/0.4591, allocations: 419.4 kB / 437.8 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005352/0.4645, allocations: 1.213 MB / 439 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003485/0.4648, allocations: 63.97 kB / 439.1 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02088/0.4857, allocations: 19.03 MB / 458.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.4858, allocations: 4.031 kB / 458.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/0.4972, allocations: 4.912 MB / 463 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/0.4985, allocations: 0.5295 MB / 463.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003448/0.4989, allocations: 56 kB / 463.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001884/0.5008, allocations: 135.9 kB / 463.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00056/0.5013, allocations: 193.8 kB / 463.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/0.5015, allocations: 71.97 kB / 464 MB, free: 8.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001426/0.5029, allocations: 1.045 MB / 465 MB, free: 7.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5029, allocations: 4 kB / 465 MB, free: 7.027 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002675/0.5056, allocations: 0.6952 MB / 465.7 MB, free: 6.34 MB / 350.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.0005572/0.5062, allocations: 259.3 kB / 466 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.01054/0.5167, allocations: 3.759 MB / 469.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.5168, allocations: 8.062 kB / 469.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004088/0.5209, allocations: 2.605 MB / 472.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/0.5232, allocations: 388.3 kB / 472.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009279/0.5325, allocations: 5.331 MB / 478.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.5337, allocations: 1.561 MB / 479.6 MB, free: 8.172 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001555/0.5353, allocations: 295.8 kB / 479.9 MB, free: 7.879 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006266/0.5359, allocations: 163.4 kB / 480.1 MB, free: 7.719 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5359, allocations: 0 / 480.1 MB, free: 7.719 MB / 366.1 MB Notification: Performance of Templates: time 0.07422/0.6101, allocations: 39.24 MB / 0.5071 GB, free: 452 kB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)