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.001716/0.001716, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002257/0.002256, allocations: 192.9 kB / 16.13 MB, free: 6.672 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.431/1.431, allocations: 205.1 MB / 222 MB, free: 4.734 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.001154/0.001154, allocations: 51.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2251, allocations: 46.62 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01026/0.2354, allocations: 10.4 MB / 335.1 MB, free: 9.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.2482, allocations: 6.7 MB / 341.8 MB, free: 3 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004152/0.2524, allocations: 35.88 kB / 341.8 MB, free: 2.965 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.2541, allocations: 377.4 kB / 342.2 MB, free: 2.594 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004324/0.2585, allocations: 0.784 MB / 343 MB, free: 1.805 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005356/0.2638, allocations: 2.036 MB / 345 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004403/0.2683, allocations: 3.38 MB / 348.4 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000994/0.2693, allocations: 0.6581 MB / 349 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/0.271, allocations: 1.105 MB / 350.1 MB, free: 10.58 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.2725, allocations: 1.369 MB / 351.5 MB, free: 9.207 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003311/0.2728, allocations: 176 kB / 351.7 MB, free: 9.035 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008926/0.2737, allocations: 415.6 kB / 352.1 MB, free: 8.629 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005218/0.2743, allocations: 0.5837 MB / 352.7 MB, free: 8.043 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.2754, allocations: 1.251 MB / 353.9 MB, free: 6.785 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003198/0.2786, allocations: 3.745 MB / 357.7 MB, free: 3.027 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2786, allocations: 0 / 357.7 MB, free: 3.027 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.2787, allocations: 0 / 357.7 MB, free: 3.027 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.167e-05/0.2787, allocations: 4 kB / 357.7 MB, free: 3.023 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.007802/0.2865, allocations: 3.071 MB / 360.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2866, allocations: 11.97 kB / 360.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005206/0.2871, allocations: 277.7 kB / 361 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.2892, allocations: 1.35 MB / 362.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.2894, allocations: 249.5 kB / 362.6 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005438/0.29, allocations: 239.9 kB / 362.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003802/0.2938, allocations: 2.158 MB / 365 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.008e-05/0.2938, allocations: 7.938 kB / 365 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/0.294, allocations: 84 kB / 365.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/0.2941, allocations: 44 kB / 365.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003775/0.2979, allocations: 1.924 MB / 367.1 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01169/0.3096, allocations: 7.837 MB / 374.9 MB, free: 1.332 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003559/0.3132, allocations: 2.092 MB / 377 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002203/0.3154, allocations: 1.243 MB / 378.2 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.3155, allocations: 29.92 kB / 378.3 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.083e-05/0.3156, allocations: 60.56 kB / 378.3 MB, free: 13.85 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 3.697e-06/0.3156, allocations: 0 / 378.3 MB, free: 13.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05378/0.3694, allocations: 14.06 MB / 392.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/0.3696, allocations: 393.8 kB / 392.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.3719, allocations: 1.506 MB / 394.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002873/0.3722, allocations: 73.7 kB / 394.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005802/0.3728, allocations: 0.8236 MB / 395.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007714/0.3736, allocations: 0.8354 MB / 396 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000806/0.3744, allocations: 420.5 kB / 396.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.752e-05/0.3745, allocations: 305.1 kB / 396.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002161/0.3767, allocations: 0.9846 MB / 397.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002376/0.379, allocations: 1.252 MB / 399 MB, free: 8.855 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.03498/0.414, allocations: 9.374 MB / 408.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.4141, allocations: 0 / 408.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006652/0.4207, allocations: 2.936 MB / 411.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.4208, allocations: 4 kB / 411.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.504e-05/0.4208, allocations: 11.98 kB / 411.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.4219, allocations: 364.9 kB / 411.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002716/0.4247, allocations: 0.5461 MB / 412.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008797/0.4335, allocations: 10.02 MB / 422.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/0.4359, allocations: 123.9 kB / 422.3 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004268/0.4364, allocations: 83.95 kB / 422.4 MB, free: 400 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.00136/0.4378, allocations: 473.4 kB / 422.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007503/0.4385, allocations: 213.5 kB / 423.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009469/0.448, allocations: 3.453 MB / 426.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-05/0.4481, allocations: 27.94 kB / 426.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.105e-05/0.4481, allocations: 7.984 kB / 426.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.141e-05/0.4481, allocations: 11.95 kB / 426.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/0.4629, allocations: 6.184 MB / 432.8 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.463, allocations: 0 / 432.8 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002091/0.4651, allocations: 419.5 kB / 433.2 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005933/0.471, allocations: 1.194 MB / 434.4 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003367/0.4714, allocations: 72.08 kB / 434.4 MB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02069/0.4921, allocations: 17.22 MB / 451.7 MB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.4921, allocations: 0 / 451.7 MB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1804/0.6725, allocations: 4.898 MB / 456.6 MB, free: 110.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.6736, allocations: 0.5242 MB / 457.1 MB, free: 110.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003424/0.6739, allocations: 54.16 kB / 457.1 MB, free: 110.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/0.6758, allocations: 142.8 kB / 457.3 MB, free: 110.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004943/0.6763, allocations: 194.5 kB / 457.5 MB, free: 110.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/0.6764, allocations: 69.86 kB / 457.5 MB, free: 110.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001332/0.6778, allocations: 1.045 MB / 458.6 MB, free: 110.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6778, allocations: 1.969 kB / 458.6 MB, free: 110.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002603/0.6804, allocations: 0.6953 MB / 459.3 MB, free: 110.3 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.0004916/0.6809, allocations: 259.3 kB / 459.5 MB, free: 110.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004944/0.6858, allocations: 3.35 MB / 462.9 MB, free: 108.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.6859, allocations: 3.906 kB / 462.9 MB, free: 108.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003246/0.6891, allocations: 2.595 MB / 465.5 MB, free: 106.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.6913, allocations: 367.6 kB / 465.8 MB, free: 106.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007918/0.6992, allocations: 6.285 MB / 472.1 MB, free: 102.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008183/0.7, allocations: 1.56 MB / 473.7 MB, free: 101.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00141/0.7015, allocations: 298.2 kB / 474 MB, free: 101.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006031/0.7021, allocations: 153 kB / 474.1 MB, free: 101.1 MB / 382.1 MB Notification: Performance of SimCode: time 1.683e-06/0.7021, allocations: 0 / 474.1 MB, free: 101.1 MB / 382.1 MB Notification: Performance of Templates: time 0.04784/0.7499, allocations: 36.9 MB / 0.499 GB, free: 64.25 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)