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.004909/0.004909, allocations: 95.97 kB / 15.73 MB, free: 6.051 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.001154/0.001155, allocations: 197.2 kB / 16.67 MB, free: 5.973 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.423/1.423, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.001185/0.001185, allocations: 55.92 kB / 326.6 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1421, allocations: 46.62 MB / 373.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.2137/0.3559, allocations: 10.08 MB / 383.3 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007258/0.3632, allocations: 2.812 MB / 386.1 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002616/0.3659, allocations: 64.19 kB / 386.1 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009364/0.3753, allocations: 4.208 MB / 390.3 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005359/0.3807, allocations: 1.046 MB / 391.4 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002684/0.3834, allocations: 0.8144 MB / 392.2 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005928/0.3893, allocations: 4.287 MB / 396.5 MB, free: 364 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01621/0.4055, allocations: 11 MB / 407.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004587/0.4102, allocations: 2.452 MB / 409.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005619/0.4158, allocations: 2.787 MB / 412.7 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002022/0.4179, allocations: 0.6797 MB / 413.4 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003283/0.4212, allocations: 0.8904 MB / 414.3 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00141/0.4226, allocations: 1.317 MB / 415.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004566/0.4272, allocations: 2.673 MB / 418.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01099/0.4382, allocations: 9.104 MB / 427.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4383, allocations: 0 / 427.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4383, allocations: 4 kB / 427.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000244/0.4385, allocations: 3.938 kB / 427.4 MB, free: 9.355 MB / 350.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.01567/0.4542, allocations: 5.669 MB / 433.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.4543, allocations: 12.03 kB / 433.1 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01407/0.4684, allocations: 2.409 MB / 435.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00478/0.4732, allocations: 2.378 MB / 437.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002835/0.4735, allocations: 361.8 kB / 438.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001353/0.4748, allocations: 484 kB / 438.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01366/0.4885, allocations: 6.64 MB / 445.3 MB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.4887, allocations: 7.938 kB / 445.3 MB, free: 7.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005045/0.4892, allocations: 207.9 kB / 445.5 MB, free: 7.047 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002269/0.4894, allocations: 226.1 kB / 445.8 MB, free: 6.824 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/0.5006, allocations: 6.114 MB / 451.9 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03444/0.535, allocations: 22.41 MB / 474.3 MB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/0.5454, allocations: 10.79 MB / 485.1 MB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.5468, allocations: 0.811 MB / 485.9 MB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005349/0.5522, allocations: 3.399 MB / 489.3 MB, free: 8.512 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.5522, allocations: 34.56 kB / 489.3 MB, free: 8.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.555e-06/0.5522, allocations: 4 kB / 489.3 MB, free: 8.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005762/0.5528, allocations: 240.6 kB / 489.5 MB, free: 8.223 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.5529, allocations: 55.34 kB / 489.6 MB, free: 8.156 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002925/0.5558, allocations: 2.145 MB / 491.7 MB, free: 6.004 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.5558, allocations: 25.7 kB / 491.8 MB, free: 5.973 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001497/0.5573, allocations: 2.475 MB / 494.2 MB, free: 3.473 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/0.5574, allocations: 83.72 kB / 494.3 MB, free: 3.391 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007248/0.5582, allocations: 0.5433 MB / 494.9 MB, free: 2.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.5583, allocations: 361.9 kB / 495.2 MB, free: 2.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.5594, allocations: 0.8127 MB / 496 MB, free: 1.664 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/0.5615, allocations: 2.239 MB / 498.3 MB, free: 14.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002958/0.5645, allocations: 2.96 MB / 0.4895 GB, free: 11.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-05/0.5645, allocations: 15.94 kB / 0.4895 GB, free: 11.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004395/0.5689, allocations: 3.016 MB / 0.4925 GB, free: 8.004 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.569, allocations: 29 kB / 0.4925 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.921e-05/0.569, allocations: 48 kB / 0.4925 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.689e-05/0.5691, allocations: 72 kB / 0.4926 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.5707, allocations: 0.5732 MB / 0.4932 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-05/0.5708, allocations: 103.6 kB / 0.4933 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/0.5727, allocations: 405.2 kB / 0.4936 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/0.5729, allocations: 148 kB / 0.4938 GB, free: 6.641 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (307): * Single equations (assignments): 306 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002501/0.5754, allocations: 1.73 MB / 0.4955 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.5756, allocations: 139.1 kB / 0.4956 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004157/0.5761, allocations: 243 kB / 0.4958 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001166/0.5762, allocations: 93.67 kB / 0.4959 GB, free: 4.418 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.5762, allocations: 3.938 kB / 0.4959 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5762, allocations: 0 / 0.4959 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004629/0.5808, allocations: 3.041 MB / 0.4989 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.5809, allocations: 7.969 kB / 0.4989 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.332e-05/0.581, allocations: 11.98 kB / 0.4989 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/0.581, allocations: 4.375 kB / 0.4989 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.581, allocations: 4 kB / 0.4989 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.581, allocations: 7.938 kB / 0.4989 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.581, allocations: 4 kB / 0.4989 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004576/0.5815, allocations: 367.2 kB / 0.4993 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.5818, allocations: 240.1 kB / 0.4995 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.582, allocations: 4 kB / 0.4995 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00046/0.5824, allocations: 23.95 kB / 0.4995 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.5825, allocations: 8 kB / 0.4995 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.5825, allocations: 7.984 kB / 0.4996 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001887/0.5844, allocations: 1.4 MB / 0.5009 GB, free: 15.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5844, allocations: 3.938 kB / 0.5009 GB, free: 15.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003052/0.5875, allocations: 0.9958 MB / 0.5019 GB, free: 14.2 MB / 446.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003392/0.5878, allocations: 158.9 kB / 0.502 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002288/0.5901, allocations: 1.469 MB / 0.5035 GB, free: 12.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5901, allocations: 0.8125 kB / 0.5035 GB, free: 12.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.778e-05/0.5902, allocations: 31.98 kB / 0.5035 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.5917, allocations: 341.2 kB / 0.5038 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009658/0.6014, allocations: 6.177 MB / 0.5099 GB, free: 6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002633/0.6041, allocations: 3.132 MB / 0.5129 GB, free: 2.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001773/0.6058, allocations: 0.7944 MB / 0.5137 GB, free: 2.039 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.606, allocations: 99.44 kB / 0.5138 GB, free: 1.941 MB / 446.1 MB Notification: Performance of SimCode: time 7.62e-07/0.606, allocations: 0 / 0.5138 GB, free: 1.941 MB / 446.1 MB Notification: Performance of Templates: time 0.03262/0.6387, allocations: 17.95 MB / 0.5313 GB, free: 15.96 MB / 478.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile (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)