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.001101/0.001102, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001341/0.001342, allocations: 172.7 kB / 15.95 MB, free: 208 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.726/1.726, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.0005025/0.0005026, allocations: 12 kB / 278.9 MB, free: 13.05 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2752, allocations: 47.58 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.008996/0.2842, allocations: 8.651 MB / 335.1 MB, free: 10.57 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006698/0.291, allocations: 2.553 MB / 337.7 MB, free: 8.289 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.2922, allocations: 59.81 kB / 337.7 MB, free: 8.23 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.2935, allocations: 433.3 kB / 338.2 MB, free: 7.805 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003076/0.2966, allocations: 0.8593 MB / 339 MB, free: 6.941 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.2986, allocations: 0.6431 MB / 339.7 MB, free: 6.297 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005124/0.3037, allocations: 3.948 MB / 343.6 MB, free: 2.332 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0176/0.3213, allocations: 9.32 MB / 352.9 MB, free: 8.93 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003264/0.3246, allocations: 1.709 MB / 354.6 MB, free: 7.215 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003568/0.3282, allocations: 1.965 MB / 356.6 MB, free: 5.242 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001043/0.3293, allocations: 280 kB / 356.9 MB, free: 4.969 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002376/0.3317, allocations: 483.8 kB / 357.4 MB, free: 4.496 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00135/0.333, allocations: 0.7941 MB / 358.1 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002016/0.3351, allocations: 0.9058 MB / 359.1 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00886/0.3439, allocations: 7.621 MB / 366.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.344, allocations: 0 / 366.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.429e-06/0.344, allocations: 0 / 366.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002968/0.3443, allocations: 7.938 kB / 366.7 MB, free: 11.14 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.01321/0.3575, allocations: 4.594 MB / 371.3 MB, free: 6.477 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3576, allocations: 8.031 kB / 371.3 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01384/0.3714, allocations: 2.402 MB / 373.7 MB, free: 4.059 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005785/0.3772, allocations: 2.353 MB / 376 MB, free: 1.656 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004967/0.3777, allocations: 365.8 kB / 376.4 MB, free: 1.297 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002132/0.3799, allocations: 476 kB / 376.9 MB, free: 0.832 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01895/0.3989, allocations: 6.628 MB / 383.5 MB, free: 10.17 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001862/0.3991, allocations: 0 / 383.5 MB, free: 10.17 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00142/0.4005, allocations: 196 kB / 383.7 MB, free: 9.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002827/0.4008, allocations: 230.1 kB / 383.9 MB, free: 9.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01543/0.4163, allocations: 6.098 MB / 390 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04251/0.4588, allocations: 22.68 MB / 412.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/0.4693, allocations: 10.81 MB / 423.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/0.4709, allocations: 0.8619 MB / 424.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005781/0.4767, allocations: 3.503 MB / 427.9 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.4767, allocations: 38.5 kB / 427.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 2.545e-06/0.4767, allocations: 4 kB / 427.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008053/0.4776, allocations: 339.8 kB / 428.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.4776, allocations: 51.41 kB / 428.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003523/0.4811, allocations: 2.129 MB / 430.4 MB, free: 8.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.4812, allocations: 25.7 kB / 430.4 MB, free: 8.379 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001765/0.483, allocations: 2.374 MB / 432.8 MB, free: 5.969 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.4831, allocations: 91.39 kB / 432.9 MB, free: 5.879 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.4833, allocations: 48 kB / 432.9 MB, free: 5.832 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002805/0.4835, allocations: 459.7 kB / 433.4 MB, free: 5.375 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.4849, allocations: 0.8323 MB / 434.2 MB, free: 4.539 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002388/0.4873, allocations: 2.27 MB / 436.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/0.4893, allocations: 1.411 MB / 437.9 MB, free: 156 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.856e-05/0.4894, allocations: 12 kB / 437.9 MB, free: 144 kB / 366.1 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.005152/0.4946, allocations: 3.073 MB / 441 MB, free: 13.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.284e-05/0.4946, allocations: 24 kB / 441 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.501e-05/0.4947, allocations: 52.09 kB / 441.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.172e-05/0.4948, allocations: 80 kB / 441.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/0.4965, allocations: 0.5692 MB / 441.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001015/0.4966, allocations: 103.6 kB / 441.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/0.4987, allocations: 392.3 kB / 442.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/0.4989, allocations: 148 kB / 442.3 MB, free: 11.7 MB / 382.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 (310): * Single equations (assignments): 306 * 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.002874/0.5018, allocations: 1.738 MB / 444.1 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/0.5021, allocations: 134.2 kB / 444.2 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006054/0.5027, allocations: 314.9 kB / 444.5 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002169/0.5029, allocations: 161.6 kB / 444.7 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.503, allocations: 0 / 444.7 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.503, allocations: 3.984 kB / 444.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006147/0.5091, allocations: 3.154 MB / 447.8 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.5091, allocations: 4 kB / 447.8 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.598e-05/0.5092, allocations: 8 kB / 447.8 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.5092, allocations: 0 / 447.8 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.5093, allocations: 8 kB / 447.9 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.5093, allocations: 80 / 447.9 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.5093, allocations: 3.984 kB / 447.9 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006062/0.5099, allocations: 0.4904 MB / 448.3 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004479/0.5103, allocations: 259.2 kB / 448.6 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.5105, allocations: 0 / 448.6 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000427/0.5109, allocations: 35.95 kB / 448.6 MB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.511, allocations: 7.984 kB / 448.6 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.511, allocations: 4 kB / 448.6 MB, free: 5.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001882/0.5129, allocations: 1.384 MB / 450 MB, free: 3.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5129, allocations: 0 / 450 MB, free: 3.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003005/0.5159, allocations: 0.9903 MB / 451 MB, free: 2.891 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.0003114/0.5162, allocations: 143.2 kB / 451.2 MB, free: 2.742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002488/0.5187, allocations: 1.54 MB / 452.7 MB, free: 1.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5187, allocations: 0 / 452.7 MB, free: 1.203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.5188, allocations: 75.95 kB / 452.8 MB, free: 1.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.5204, allocations: 318.1 kB / 453.1 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2025/0.7229, allocations: 7.688 MB / 460.8 MB, free: 95.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00268/0.7257, allocations: 3.139 MB / 463.9 MB, free: 95.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001943/0.7276, allocations: 0.789 MB / 464.7 MB, free: 94.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.7278, allocations: 106.6 kB / 464.8 MB, free: 94.98 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.7278, allocations: 0 / 464.8 MB, free: 94.98 MB / 382.1 MB Notification: Performance of Templates: time 0.02737/0.7552, allocations: 16.84 MB / 481.6 MB, free: 81.23 MB / 382.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)