Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.002099/0.002099, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004488/0.000449, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2326, allocations: 47.58 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.008854/0.2415, allocations: 7.784 MB / 334.2 MB, free: 11.35 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00595/0.2475, allocations: 2.569 MB / 336.8 MB, free: 9.145 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001914/0.2494, allocations: 59.81 kB / 336.9 MB, free: 9.086 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.251, allocations: 417.6 kB / 337.3 MB, free: 8.676 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003531/0.2546, allocations: 0.9115 MB / 338.2 MB, free: 7.762 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.2564, allocations: 0.6312 MB / 338.8 MB, free: 7.129 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004402/0.2608, allocations: 2.589 MB / 341.4 MB, free: 4.535 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01378/0.2746, allocations: 8.105 MB / 349.5 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002688/0.2773, allocations: 1.444 MB / 351 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003123/0.2804, allocations: 1.688 MB / 352.6 MB, free: 9.211 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005882/0.2811, allocations: 252 kB / 352.9 MB, free: 8.965 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.2826, allocations: 427.7 kB / 353.3 MB, free: 8.547 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006078/0.2833, allocations: 0.7163 MB / 354 MB, free: 7.828 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009863/0.2843, allocations: 0.82 MB / 354.8 MB, free: 7 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006797/0.2911, allocations: 6.814 MB / 361.7 MB, free: 172 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2911, allocations: 0 / 361.7 MB, free: 172 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.2911, allocations: 0 / 361.7 MB, free: 172 kB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002303/0.2913, allocations: 0 / 361.7 MB, free: 172 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.0126/0.3039, allocations: 4.277 MB / 365.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.304, allocations: 8.031 kB / 365.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01594/0.32, allocations: 2.578 MB / 368.5 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006378/0.3264, allocations: 2.135 MB / 370.7 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004345/0.3269, allocations: 337 kB / 371 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00173/0.3286, allocations: 443.9 kB / 371.4 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01901/0.3477, allocations: 6.056 MB / 377.5 MB, free: 184 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002507/0.348, allocations: 4 kB / 377.5 MB, free: 180 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001515/0.3495, allocations: 176 kB / 377.6 MB, free: 4 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003085/0.3498, allocations: 217.3 kB / 377.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01394/0.3638, allocations: 5.767 MB / 383.6 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04333/0.4072, allocations: 21.48 MB / 405.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/0.4174, allocations: 8.989 MB / 414.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007805/0.4253, allocations: 3.849 MB / 417.9 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.4254, allocations: 34.69 kB / 418 MB, free: 5.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 3.737e-06/0.4254, allocations: 0 / 418 MB, free: 5.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001615/0.427, allocations: 0.9118 MB / 418.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.4271, allocations: 55.59 kB / 418.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004205/0.4313, allocations: 2.077 MB / 421 MB, free: 2.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.137e-05/0.4314, allocations: 29.7 kB / 421 MB, free: 2.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001907/0.4333, allocations: 2.2 MB / 423.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/0.4336, allocations: 130.8 kB / 423.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.4338, allocations: 51.94 kB / 423.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003881/0.4342, allocations: 463.9 kB / 423.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/0.4362, allocations: 0.9145 MB / 424.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002933/0.4392, allocations: 2.269 MB / 427.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002442/0.4416, allocations: 1.451 MB / 428.5 MB, free: 9.863 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-05/0.4417, allocations: 16 kB / 428.5 MB, free: 9.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.006443/0.4481, allocations: 3.2 MB / 431.7 MB, free: 6.641 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.514e-05/0.4483, allocations: 32.03 kB / 431.8 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001277/0.4484, allocations: 48 kB / 431.8 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/0.4486, allocations: 68 kB / 431.9 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/0.4507, allocations: 0.5927 MB / 432.5 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001223/0.4509, allocations: 95.64 kB / 432.6 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00274/0.4536, allocations: 424.1 kB / 433 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003681/0.454, allocations: 152 kB / 433.1 MB, free: 5.242 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003589/0.4576, allocations: 1.554 MB / 434.7 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005303/0.4581, allocations: 138.3 kB / 434.8 MB, free: 3.539 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.4595, allocations: 0.5614 MB / 435.4 MB, free: 2.953 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004489/0.4599, allocations: 285.4 kB / 435.7 MB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.46, allocations: 0 / 435.7 MB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.46, allocations: 3.984 kB / 435.7 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00933/0.4693, allocations: 3.387 MB / 439 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.4694, allocations: 0 / 439 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.4696, allocations: 39.88 kB / 439.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.685e-05/0.4696, allocations: 7.984 kB / 439.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.4697, allocations: 4 kB / 439.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/0.4697, allocations: 4 kB / 439.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.4697, allocations: 4.281 kB / 439.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.471, allocations: 0.8699 MB / 440 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008612/0.4719, allocations: 287.2 kB / 440.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005244/0.4725, allocations: 7.984 kB / 440.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009168/0.4734, allocations: 35.95 kB / 440.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.4735, allocations: 31.84 kB / 440.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.4735, allocations: 8 kB / 440.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002738/0.4763, allocations: 1.383 MB / 441.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4763, allocations: 7.875 kB / 441.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00372/0.48, allocations: 0.9324 MB / 442.7 MB, free: 11.44 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004311/0.4805, allocations: 143.1 kB / 442.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003295/0.4838, allocations: 1.685 MB / 444.5 MB, free: 9.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.4838, allocations: 0 / 444.5 MB, free: 9.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.484, allocations: 151.8 kB / 444.6 MB, free: 9.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.4858, allocations: 270.5 kB / 444.9 MB, free: 9.195 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/0.5003, allocations: 7.072 MB / 452 MB, free: 2.059 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2111/0.7114, allocations: 2.951 MB / 454.9 MB, free: 106.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00268/0.7141, allocations: 0.7598 MB / 455.7 MB, free: 106.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.7144, allocations: 103.3 kB / 455.8 MB, free: 106.9 MB / 382.1 MB Notification: Performance of SimCode: time 1.253e-06/0.7144, allocations: 0 / 455.8 MB, free: 106.9 MB / 382.1 MB Notification: Performance of Templates: time 0.03403/0.7484, allocations: 16.6 MB / 472.4 MB, free: 99.08 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) Environment - environmentSimulation: