Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009908/0.0009907, allocations: 97.95 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.008329/0.008329, allocations: 169.4 kB / 16.26 MB, free: 6.648 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.402/1.402, allocations: 205.4 MB / 222.5 MB, free: 5.57 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.0004633/0.0004638, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.219, allocations: 47.58 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.009106/0.2282, allocations: 9.846 MB / 336.9 MB, free: 9.504 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.2392, allocations: 6.624 MB / 343.5 MB, free: 2.859 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.2409, allocations: 31.88 kB / 343.5 MB, free: 2.828 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.242, allocations: 381.4 kB / 343.9 MB, free: 2.453 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.2439, allocations: 0.7918 MB / 344.7 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004741/0.2487, allocations: 2.032 MB / 346.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004226/0.2529, allocations: 3.376 MB / 350.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009783/0.2539, allocations: 0.6464 MB / 350.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.2554, allocations: 1.062 MB / 351.8 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00148/0.2569, allocations: 1.307 MB / 353.1 MB, free: 9.184 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002724/0.2572, allocations: 144 kB / 353.3 MB, free: 9.043 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008538/0.258, allocations: 395.6 kB / 353.7 MB, free: 8.656 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004553/0.2585, allocations: 0.5446 MB / 354.2 MB, free: 8.109 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.2595, allocations: 1.237 MB / 355.4 MB, free: 6.859 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003135/0.2627, allocations: 3.662 MB / 359.1 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2627, allocations: 0 / 359.1 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2627, allocations: 0 / 359.1 MB, free: 3.184 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.172e-05/0.2628, allocations: 4 kB / 359.1 MB, free: 3.18 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.006288/0.2691, allocations: 2.639 MB / 361.7 MB, free: 492 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.2691, allocations: 8.031 kB / 361.7 MB, free: 484 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004768/0.2696, allocations: 273.8 kB / 362 MB, free: 208 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.2716, allocations: 1.358 MB / 363.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/0.2718, allocations: 241.5 kB / 363.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005324/0.2723, allocations: 236 kB / 363.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003714/0.276, allocations: 2.189 MB / 366 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.498e-05/0.2761, allocations: 11.83 kB / 366 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/0.2763, allocations: 84 kB / 366.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.573e-05/0.2763, allocations: 52 kB / 366.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003875/0.2802, allocations: 1.951 MB / 368.1 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01181/0.292, allocations: 7.884 MB / 376 MB, free: 1.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003581/0.2957, allocations: 2.115 MB / 378.1 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002127/0.2978, allocations: 1.255 MB / 379.4 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.933e-05/0.2979, allocations: 33.92 kB / 379.4 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/0.298, allocations: 56.56 kB / 379.5 MB, free: 14.31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 3.897e-06/0.298, allocations: 4 kB / 379.5 MB, free: 14.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05239/0.3504, allocations: 14.81 MB / 394.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/0.3506, allocations: 389.8 kB / 394.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/0.3527, allocations: 1.514 MB / 396.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002909/0.353, allocations: 69.7 kB / 396.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005608/0.3536, allocations: 0.8275 MB / 397.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006612/0.3542, allocations: 0.8315 MB / 397.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/0.3545, allocations: 198.5 kB / 398.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.583e-05/0.3546, allocations: 309 kB / 398.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/0.3567, allocations: 1.02 MB / 399.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/0.3589, allocations: 1.28 MB / 400.7 MB, free: 8.711 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.03986/0.3988, allocations: 9.706 MB / 410.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.3988, allocations: 3.938 kB / 410.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.008939/0.4078, allocations: 2.998 MB / 413.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.4078, allocations: 8 kB / 413.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.541e-05/0.4079, allocations: 7.984 kB / 413.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.4092, allocations: 360.9 kB / 413.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003855/0.4131, allocations: 0.5657 MB / 414.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/0.4248, allocations: 10.03 MB / 424.4 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003081/0.4279, allocations: 143.9 kB / 424.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/0.4282, allocations: 87.95 kB / 424.6 MB, free: 15.8 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.001455/0.4297, allocations: 469.4 kB / 425.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006245/0.4303, allocations: 209.5 kB / 425.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/0.4424, allocations: 3.555 MB / 428.8 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.572e-05/0.4425, allocations: 27.94 kB / 428.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/0.4425, allocations: 7.984 kB / 428.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-05/0.4425, allocations: 11.95 kB / 428.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01897/0.4615, allocations: 6.286 MB / 435.1 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/0.4616, allocations: 0 / 435.1 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003055/0.4646, allocations: 435.9 kB / 435.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008507/0.4732, allocations: 1.252 MB / 436.8 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00044/0.4736, allocations: 63.97 kB / 436.9 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02941/0.5031, allocations: 17.43 MB / 454.3 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.5031, allocations: 0 / 454.3 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2201/0.7232, allocations: 5.024 MB / 459.3 MB, free: 110.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/0.7246, allocations: 0.5238 MB / 459.9 MB, free: 110.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/0.7249, allocations: 54.25 kB / 459.9 MB, free: 110.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001862/0.7267, allocations: 155.8 kB / 460.1 MB, free: 110.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005835/0.7273, allocations: 206 kB / 460.3 MB, free: 110.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/0.7275, allocations: 71.39 kB / 460.3 MB, free: 110.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001355/0.7289, allocations: 1.043 MB / 461.4 MB, free: 110 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7289, allocations: 0.8438 kB / 461.4 MB, free: 110 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00243/0.7313, allocations: 0.6919 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.0005011/0.7318, allocations: 257.1 kB / 462.3 MB, free: 109.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004972/0.7368, allocations: 3.425 MB / 465.8 MB, free: 108.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.7368, allocations: 3.969 kB / 465.8 MB, free: 108.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003264/0.7401, allocations: 2.638 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.002179/0.7423, allocations: 366 kB / 468.8 MB, free: 106.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00751/0.7498, allocations: 6.598 MB / 475.3 MB, free: 100.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008075/0.7506, allocations: 1.568 MB / 476.9 MB, free: 99.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001172/0.7518, allocations: 295.8 kB / 477.2 MB, free: 99.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005348/0.7524, allocations: 159.4 kB / 477.4 MB, free: 99.07 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.7524, allocations: 0 / 477.4 MB, free: 99.07 MB / 382.1 MB Notification: Performance of Templates: time 0.04364/0.796, allocations: 36.51 MB / 0.5018 GB, free: 62.53 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)