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.001248/0.001249, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001113/0.001113, allocations: 190.5 kB / 16.25 MB, free: 6.633 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.372/1.372, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.001338/0.001338, allocations: 47.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2161, allocations: 46.63 MB / 324.9 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01098/0.2271, allocations: 10.4 MB / 335.3 MB, free: 9.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.2372, allocations: 6.351 MB / 341.6 MB, free: 3.316 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.2391, allocations: 31.88 kB / 341.6 MB, free: 3.285 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.2403, allocations: 389.4 kB / 342 MB, free: 2.902 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.2424, allocations: 0.7957 MB / 342.8 MB, free: 2.102 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004636/0.247, allocations: 2.247 MB / 345.1 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003834/0.2509, allocations: 3.459 MB / 348.5 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009971/0.2519, allocations: 0.7527 MB / 349.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.2535, allocations: 1.285 MB / 350.6 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.2548, allocations: 1.471 MB / 352 MB, free: 8.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000351/0.2552, allocations: 328 kB / 352.3 MB, free: 8.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008836/0.2561, allocations: 0.5738 MB / 352.9 MB, free: 7.945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006028/0.2567, allocations: 0.7477 MB / 353.7 MB, free: 7.195 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001242/0.2579, allocations: 1.396 MB / 355.1 MB, free: 5.793 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003328/0.2613, allocations: 3.882 MB / 358.9 MB, free: 1.898 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.2613, allocations: 0 / 358.9 MB, free: 1.898 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2613, allocations: 3.938 kB / 358.9 MB, free: 1.895 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.631e-05/0.2614, allocations: 0 / 358.9 MB, free: 1.895 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.006607/0.268, allocations: 3.071 MB / 362 MB, free: 14.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.268, allocations: 8.031 kB / 362 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004823/0.2685, allocations: 277.7 kB / 362.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/0.2703, allocations: 1.35 MB / 363.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/0.2706, allocations: 245.5 kB / 363.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005129/0.2711, allocations: 243.8 kB / 364.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003492/0.2746, allocations: 2.162 MB / 366.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.275e-05/0.2746, allocations: 3.938 kB / 366.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/0.2748, allocations: 84 kB / 366.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.338e-05/0.2749, allocations: 48 kB / 366.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003551/0.2784, allocations: 1.92 MB / 368.3 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/0.2903, allocations: 7.841 MB / 376.2 MB, free: 208 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003305/0.2936, allocations: 2.088 MB / 378.3 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001897/0.2955, allocations: 1.231 MB / 379.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.2957, allocations: 33.84 kB / 379.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.2957, allocations: 68.48 kB / 379.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 4.117e-06/0.2957, allocations: 0 / 379.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.0524/0.3481, allocations: 14.06 MB / 393.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001832/0.3484, allocations: 393.8 kB / 394 MB, free: 14.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.3505, allocations: 1.51 MB / 395.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003079/0.3509, allocations: 73.7 kB / 395.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005662/0.3514, allocations: 0.8236 MB / 396.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000764/0.3522, allocations: 0.8315 MB / 397.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000684/0.3529, allocations: 412.5 kB / 397.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.353, allocations: 309.1 kB / 398 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/0.355, allocations: 0.9885 MB / 399 MB, free: 9.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/0.3572, allocations: 1.252 MB / 400.2 MB, free: 7.73 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.03206/0.3892, allocations: 9.394 MB / 409.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.3893, allocations: 4 kB / 409.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005714/0.395, allocations: 2.94 MB / 412.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.395, allocations: 8 kB / 412.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.683e-05/0.3951, allocations: 7.984 kB / 412.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009522/0.396, allocations: 361 kB / 412.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002579/0.3986, allocations: 0.5422 MB / 413.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008944/0.4076, allocations: 11.12 MB / 424.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00247/0.4101, allocations: 131.8 kB / 424.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/0.4103, allocations: 87.95 kB / 424.8 MB, free: 14.11 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 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.00109/0.4114, allocations: 460.4 kB / 425.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004282/0.4118, allocations: 205.6 kB / 425.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008038/0.4199, allocations: 3.461 MB / 428.9 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.992e-05/0.4199, allocations: 24 kB / 428.9 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.4199, allocations: 7.984 kB / 428.9 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-05/0.42, allocations: 15.95 kB / 429 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/0.4322, allocations: 6.177 MB / 435.1 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.4323, allocations: 3.938 kB / 435.1 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001985/0.4342, allocations: 423.4 kB / 435.6 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005779/0.44, allocations: 1.209 MB / 436.8 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002626/0.4403, allocations: 63.97 kB / 436.8 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1663/0.6067, allocations: 19.03 MB / 455.9 MB, free: 110.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6067, allocations: 1.031 kB / 455.9 MB, free: 110.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/0.6167, allocations: 4.896 MB / 460.8 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008124/0.6176, allocations: 0.5274 MB / 461.3 MB, free: 108.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002906/0.6179, allocations: 53.94 kB / 461.3 MB, free: 108.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/0.6196, allocations: 133.9 kB / 461.5 MB, free: 108.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004515/0.6201, allocations: 211.1 kB / 461.7 MB, free: 108.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/0.6202, allocations: 72 kB / 461.7 MB, free: 108.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001081/0.6213, allocations: 1.042 MB / 462.8 MB, free: 108.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.6213, allocations: 0 / 462.8 MB, free: 108.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002082/0.6234, allocations: 0.6968 MB / 463.5 MB, free: 108.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.0004331/0.6239, allocations: 251.2 kB / 463.7 MB, free: 108 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007776/0.6317, allocations: 3.752 MB / 467.5 MB, free: 106.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6317, allocations: 4 kB / 467.5 MB, free: 106.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002846/0.6345, allocations: 2.609 MB / 470.1 MB, free: 104.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.6363, allocations: 387.2 kB / 470.5 MB, free: 104.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006785/0.6431, allocations: 6.279 MB / 476.8 MB, free: 98.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007495/0.6438, allocations: 1.564 MB / 478.3 MB, free: 97.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001096/0.6449, allocations: 291.8 kB / 478.6 MB, free: 96.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005461/0.6455, allocations: 167.3 kB / 478.8 MB, free: 96.81 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.6455, allocations: 0 / 478.8 MB, free: 96.81 MB / 382.1 MB Notification: Performance of Templates: time 0.04921/0.6947, allocations: 38.74 MB / 0.5054 GB, free: 58.04 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)