Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.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.BalancingStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009793/0.0009794, allocations: 98.45 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.001041/0.001041, allocations: 177.3 kB / 15.94 MB, free: 228 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.467/1.467, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.0004814/0.0004816, allocations: 12 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2793, allocations: 47.59 MB / 326.5 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.0103/0.2897, allocations: 8.092 MB / 334.5 MB, free: 11.14 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007424/0.2972, allocations: 2.628 MB / 337.2 MB, free: 8.738 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002703/0.2999, allocations: 63.81 kB / 337.2 MB, free: 8.676 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002225/0.3022, allocations: 453.5 kB / 337.7 MB, free: 8.23 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004669/0.3069, allocations: 0.8802 MB / 338.6 MB, free: 7.348 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.3098, allocations: 0.6586 MB / 339.2 MB, free: 6.688 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005761/0.3155, allocations: 2.842 MB / 342.1 MB, free: 3.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01976/0.3353, allocations: 9.203 MB / 351.3 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003483/0.3389, allocations: 1.588 MB / 352.9 MB, free: 8.961 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003993/0.3429, allocations: 1.821 MB / 354.7 MB, free: 7.133 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001448/0.3444, allocations: 280 kB / 354.9 MB, free: 6.859 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/0.3469, allocations: 455.8 kB / 355.4 MB, free: 6.414 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001476/0.3484, allocations: 0.7786 MB / 356.2 MB, free: 5.633 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001967/0.3504, allocations: 0.9058 MB / 357.1 MB, free: 4.719 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009939/0.3604, allocations: 7.614 MB / 364.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3604, allocations: 0 / 364.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.3605, allocations: 0 / 364.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003552/0.3608, allocations: 0 / 364.7 MB, free: 13.09 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01472/0.3756, allocations: 4.594 MB / 369.3 MB, free: 8.426 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.3756, allocations: 8.031 kB / 369.3 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.015/0.3906, allocations: 2.406 MB / 371.7 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007189/0.3979, allocations: 2.349 MB / 374 MB, free: 3.605 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005939/0.3985, allocations: 361.8 kB / 374.4 MB, free: 3.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002476/0.401, allocations: 476 kB / 374.9 MB, free: 2.785 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02116/0.4222, allocations: 6.585 MB / 381.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000229/0.4225, allocations: 4 kB / 381.5 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001817/0.4243, allocations: 196 kB / 381.6 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003114/0.4247, allocations: 234 kB / 381.9 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01468/0.4394, allocations: 6.094 MB / 388 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04938/0.4888, allocations: 22.69 MB / 410.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01225/0.5011, allocations: 10.8 MB / 421.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007795/0.509, allocations: 3.581 MB / 425 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.509, allocations: 38.56 kB / 425.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 4.769e-06/0.5091, allocations: 0 / 425.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.001138/0.5102, allocations: 0.6721 MB / 425.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.5103, allocations: 51.41 kB / 425.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004702/0.515, allocations: 2.149 MB / 428 MB, free: 10.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.515, allocations: 29.64 kB / 428 MB, free: 10.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001845/0.5169, allocations: 2.378 MB / 430.4 MB, free: 8.297 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.5171, allocations: 99.23 kB / 430.5 MB, free: 8.199 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.5172, allocations: 48 kB / 430.5 MB, free: 8.152 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002912/0.5175, allocations: 463.7 kB / 431 MB, free: 7.691 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.519, allocations: 0.8636 MB / 431.8 MB, free: 6.824 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/0.5212, allocations: 2.261 MB / 434.1 MB, free: 3.863 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.5232, allocations: 1.423 MB / 435.5 MB, free: 2.438 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.005e-05/0.5232, allocations: 20 kB / 435.5 MB, free: 2.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.00493/0.5281, allocations: 3.11 MB / 438.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.443e-05/0.5282, allocations: 36.02 kB / 438.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001196/0.5284, allocations: 48 kB / 438.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001153/0.5285, allocations: 76 kB / 438.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/0.5303, allocations: 0.5693 MB / 439.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001063/0.5304, allocations: 103.6 kB / 439.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.5327, allocations: 396.2 kB / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/0.5329, allocations: 152 kB / 440 MB, free: 13.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 227 * 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 (312): * Single equations (assignments): 308 * 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.002919/0.5359, allocations: 1.726 MB / 441.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/0.5362, allocations: 138.2 kB / 441.9 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006347/0.5368, allocations: 335.1 kB / 442.2 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002346/0.5371, allocations: 189.6 kB / 442.4 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.5371, allocations: 0 / 442.4 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.5371, allocations: 0 / 442.4 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006788/0.5439, allocations: 3.185 MB / 445.6 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.5439, allocations: 0 / 445.6 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.492e-05/0.544, allocations: 15.98 kB / 445.6 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.544, allocations: 0 / 445.6 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.5441, allocations: 8 kB / 445.6 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.5441, allocations: 0 / 445.6 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5441, allocations: 0 / 445.6 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00071/0.5448, allocations: 0.5387 MB / 446.1 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005999/0.5454, allocations: 259.3 kB / 446.4 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.5457, allocations: 0 / 446.4 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005366/0.5462, allocations: 27.95 kB / 446.4 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.5462, allocations: 15.94 kB / 446.4 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.5463, allocations: 4 kB / 446.4 MB, free: 7.379 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001991/0.5483, allocations: 1.404 MB / 447.8 MB, free: 5.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5483, allocations: 0 / 447.8 MB, free: 5.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003577/0.5519, allocations: 0.9906 MB / 448.8 MB, free: 4.984 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 6 * 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.0003432/0.5522, allocations: 151 kB / 449 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002663/0.5549, allocations: 1.572 MB / 450.5 MB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5549, allocations: 0 / 450.5 MB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.555, allocations: 83.95 kB / 450.6 MB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.5565, allocations: 314.4 kB / 450.9 MB, free: 2.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1939/0.7504, allocations: 7.554 MB / 458.5 MB, free: 109.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004048/0.7545, allocations: 3.204 MB / 461.7 MB, free: 108.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001772/0.7563, allocations: 0.8005 MB / 462.5 MB, free: 108 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.7564, allocations: 99.17 kB / 462.6 MB, free: 108 MB / 382.1 MB Notification: Performance of SimCode: time 1.302e-06/0.7564, allocations: 0 / 462.6 MB, free: 108 MB / 382.1 MB Notification: Performance of Templates: time 0.02814/0.7846, allocations: 16.97 MB / 479.5 MB, free: 93.91 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) Environment - environmentSimulation: