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.001075/0.001075, allocations: 109.9 kB / 17.06 MB, free: 5.969 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.001161/0.001161, allocations: 200 kB / 18.01 MB, free: 5.055 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.325/1.325, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.001223/0.001223, allocations: 52.39 kB / 327.9 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0896/0.09084, allocations: 46.62 MB / 374.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.2555/0.3464, allocations: 10.47 MB / 385 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.3573, allocations: 6.31 MB / 391.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002404/0.3597, allocations: 35.34 kB / 391.3 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.3616, allocations: 483.8 kB / 391.8 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003596/0.3652, allocations: 0.9058 MB / 392.7 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007497/0.3727, allocations: 2.503 MB / 395.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005383/0.3781, allocations: 3.47 MB / 398.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.3794, allocations: 0.7562 MB / 399.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002239/0.3816, allocations: 1.286 MB / 400.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/0.3836, allocations: 1.467 MB / 402.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004447/0.3841, allocations: 327.3 kB / 402.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.3853, allocations: 0.5749 MB / 403.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006433/0.3859, allocations: 0.7426 MB / 403.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.3875, allocations: 1.396 MB / 405.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004624/0.3921, allocations: 3.929 MB / 409.1 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3921, allocations: 1.062 kB / 409.1 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3921, allocations: 0 / 409.1 MB, free: 9.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.28e-05/0.3922, allocations: 0 / 409.1 MB, free: 9.52 MB / 334.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.008125/0.4003, allocations: 3.074 MB / 412.2 MB, free: 7.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.4004, allocations: 9.094 kB / 412.2 MB, free: 7.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007389/0.4011, allocations: 273.5 kB / 412.5 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002697/0.4038, allocations: 1.379 MB / 413.9 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/0.4041, allocations: 239.8 kB / 414.1 MB, free: 6.078 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005426/0.4046, allocations: 240.3 kB / 414.3 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004481/0.4091, allocations: 2.166 MB / 416.5 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.77e-05/0.4092, allocations: 7.312 kB / 416.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002095/0.4094, allocations: 82.09 kB / 416.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/0.4095, allocations: 46.97 kB / 416.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004157/0.4136, allocations: 1.92 MB / 418.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01315/0.4268, allocations: 7.782 MB / 426.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003524/0.4303, allocations: 2.073 MB / 428.4 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00302/0.4334, allocations: 1.594 MB / 430 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.4335, allocations: 29.92 kB / 430 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.013e-05/0.4336, allocations: 68.5 kB / 430.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=208): time 4.338e-06/0.4336, allocations: 0 / 430.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=250): time 0.05128/0.4849, allocations: 14.07 MB / 444.2 MB, free: 9.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001681/0.4851, allocations: 393.8 kB / 444.5 MB, free: 8.797 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.4873, allocations: 1.51 MB / 446.1 MB, free: 7.277 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002064/0.4875, allocations: 73.7 kB / 446.1 MB, free: 7.199 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000525/0.488, allocations: 0.808 MB / 446.9 MB, free: 6.383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006308/0.4887, allocations: 0.8393 MB / 447.8 MB, free: 5.531 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006527/0.4893, allocations: 408.5 kB / 448.2 MB, free: 5.125 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.39e-05/0.4894, allocations: 309.1 kB / 448.5 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/0.4915, allocations: 0.9963 MB / 449.5 MB, free: 3.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002235/0.4937, allocations: 1.26 MB / 450.7 MB, free: 2.492 MB / 366.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.03356/0.5273, allocations: 9.425 MB / 460.2 MB, free: 8.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.5274, allocations: 15.86 kB / 460.2 MB, free: 8.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006142/0.5335, allocations: 2.932 MB / 463.1 MB, free: 5.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.5336, allocations: 15.22 kB / 463.1 MB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/0.5336, allocations: 7.984 kB / 463.1 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009451/0.5345, allocations: 357 kB / 463.5 MB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/0.5372, allocations: 0.5539 MB / 464 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008779/0.546, allocations: 10.93 MB / 475 MB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/0.5484, allocations: 128.1 kB / 475.1 MB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/0.5486, allocations: 83.95 kB / 475.2 MB, free: 9.016 MB / 398.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.001068/0.5497, allocations: 465.3 kB / 475.6 MB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004668/0.5502, allocations: 217.4 kB / 475.8 MB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008472/0.5586, allocations: 3.457 MB / 479.3 MB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/0.5587, allocations: 24 kB / 479.3 MB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.5587, allocations: 4 kB / 479.3 MB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.289e-05/0.5587, allocations: 15.95 kB / 479.3 MB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/0.5723, allocations: 6.27 MB / 485.6 MB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.5723, allocations: 0 / 485.6 MB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002063/0.5744, allocations: 431.4 kB / 486 MB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006209/0.5806, allocations: 1.202 MB / 487.2 MB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003866/0.581, allocations: 55.98 kB / 487.3 MB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02089/0.6019, allocations: 18.88 MB / 0.4943 GB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.602, allocations: 4.047 kB / 0.4943 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/0.6128, allocations: 4.932 MB / 0.4991 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/0.6141, allocations: 0.5333 MB / 0.4996 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002996/0.6145, allocations: 52 kB / 0.4997 GB, free: 2.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/0.6163, allocations: 135.9 kB / 0.4998 GB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006055/0.6169, allocations: 205.8 kB / 0.5 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/0.6171, allocations: 75.91 kB / 0.5001 GB, free: 2.426 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001458/0.6186, allocations: 1.037 MB / 0.5011 GB, free: 1.391 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6186, allocations: 0 / 0.5011 GB, free: 1.391 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002711/0.6213, allocations: 0.6992 MB / 0.5018 GB, free: 0.6914 MB / 430.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.000592/0.6219, allocations: 253.1 kB / 0.502 GB, free: 444 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005811/0.6277, allocations: 3.356 MB / 0.5053 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.6278, allocations: 4 kB / 0.5053 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00373/0.6315, allocations: 2.593 MB / 0.5078 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/0.6338, allocations: 389.9 kB / 0.5082 GB, free: 9.852 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008861/0.6427, allocations: 5.27 MB / 0.5134 GB, free: 4.523 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/0.6441, allocations: 1.569 MB / 0.5149 GB, free: 2.918 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001447/0.6455, allocations: 291.8 kB / 0.5152 GB, free: 2.629 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006325/0.6462, allocations: 171.3 kB / 0.5153 GB, free: 2.461 MB / 446.1 MB Notification: Performance of SimCode: time 1.001e-06/0.6462, allocations: 4 kB / 0.5153 GB, free: 2.457 MB / 446.1 MB Notification: Performance of Templates: time 0.2478/0.894, allocations: 40.78 MB / 0.5552 GB, free: 153.6 MB / 478.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)