Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0008654/0.0008655, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0009393/0.0009397, allocations: 168.7 kB / 15.95 MB, free: 204 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.508/1.508, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.000505/0.0005053, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2837, allocations: 47.6 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.00991/0.2937, allocations: 8.642 MB / 335.1 MB, free: 10.61 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006689/0.3004, allocations: 2.552 MB / 337.7 MB, free: 8.285 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.3018, allocations: 63.81 kB / 337.7 MB, free: 8.223 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.303, allocations: 425.3 kB / 338.2 MB, free: 7.805 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00302/0.306, allocations: 0.8671 MB / 339 MB, free: 6.934 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.3078, allocations: 0.6393 MB / 339.7 MB, free: 6.293 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004696/0.3125, allocations: 3.937 MB / 343.6 MB, free: 2.34 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01558/0.3281, allocations: 9.32 MB / 352.9 MB, free: 8.938 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003371/0.3315, allocations: 1.713 MB / 354.6 MB, free: 7.219 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002888/0.3344, allocations: 1.957 MB / 356.6 MB, free: 5.254 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005278/0.3349, allocations: 280 kB / 356.9 MB, free: 4.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.3363, allocations: 491.7 kB / 357.4 MB, free: 4.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006907/0.337, allocations: 0.7902 MB / 358.1 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.3382, allocations: 0.9019 MB / 359 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007596/0.3458, allocations: 7.629 MB / 366.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3458, allocations: 3.938 kB / 366.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3458, allocations: 0 / 366.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002294/0.3461, allocations: 4 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.01183/0.3579, allocations: 4.594 MB / 371.3 MB, free: 6.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.176e-05/0.358, allocations: 8.031 kB / 371.3 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0135/0.3715, allocations: 2.402 MB / 373.7 MB, free: 4.062 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005823/0.3774, allocations: 2.349 MB / 376 MB, free: 1.664 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003022/0.3777, allocations: 365.8 kB / 376.4 MB, free: 1.305 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001066/0.3788, allocations: 476 kB / 376.9 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01543/0.3942, allocations: 6.631 MB / 383.5 MB, free: 10.17 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-05/0.3944, allocations: 0 / 383.5 MB, free: 10.17 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004908/0.3949, allocations: 196 kB / 383.7 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002558/0.3951, allocations: 230.1 kB / 383.9 MB, free: 9.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/0.4081, allocations: 6.094 MB / 390 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03856/0.4467, allocations: 22.69 MB / 412.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/0.4572, allocations: 10.81 MB / 423.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.4587, allocations: 0.858 MB / 424.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006028/0.4648, allocations: 3.503 MB / 427.9 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.4648, allocations: 38.56 kB / 427.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 2.565e-06/0.4648, allocations: 0 / 427.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008053/0.4656, allocations: 336.1 kB / 428.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.4657, allocations: 55.41 kB / 428.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003971/0.4697, allocations: 2.121 MB / 430.4 MB, free: 8.422 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.4697, allocations: 29.7 kB / 430.4 MB, free: 8.387 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001967/0.4717, allocations: 2.382 MB / 432.8 MB, free: 5.969 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.4719, allocations: 91.39 kB / 432.9 MB, free: 5.879 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.472, allocations: 48 kB / 432.9 MB, free: 5.832 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002975/0.4723, allocations: 459.7 kB / 433.4 MB, free: 5.375 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/0.4738, allocations: 0.8362 MB / 434.2 MB, free: 4.535 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002554/0.4764, allocations: 2.263 MB / 436.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002229/0.4787, allocations: 1.407 MB / 437.9 MB, free: 164 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.177e-05/0.4787, allocations: 16 kB / 437.9 MB, free: 148 kB / 366.1 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.00571/0.4844, allocations: 3.077 MB / 441 MB, free: 13.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.049e-05/0.4845, allocations: 28 kB / 441 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001021/0.4846, allocations: 48 kB / 441.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-05/0.4847, allocations: 80.06 kB / 441.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.4865, allocations: 0.5731 MB / 441.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001035/0.4866, allocations: 95.64 kB / 441.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/0.4888, allocations: 396.2 kB / 442.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002973/0.4892, allocations: 144 kB / 442.3 MB, free: 11.71 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.003594/0.4928, allocations: 1.742 MB / 444.1 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003276/0.4931, allocations: 138.2 kB / 444.2 MB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006102/0.4937, allocations: 314.9 kB / 444.5 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002073/0.4939, allocations: 161.6 kB / 444.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.494, allocations: 0 / 444.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.494, allocations: 0 / 444.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006791/0.5008, allocations: 3.158 MB / 447.8 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.5008, allocations: 0 / 447.8 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.574e-05/0.5009, allocations: 19.92 kB / 447.9 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.5009, allocations: 4 kB / 447.9 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.5009, allocations: 0 / 447.9 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5009, allocations: 0 / 447.9 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5009, allocations: 4 kB / 447.9 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006973/0.5016, allocations: 494.2 kB / 448.3 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005021/0.5022, allocations: 259.2 kB / 448.6 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.5023, allocations: 0 / 448.6 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.5027, allocations: 31.95 kB / 448.6 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.5028, allocations: 4 kB / 448.6 MB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.5028, allocations: 4 kB / 448.6 MB, free: 5.273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001967/0.5048, allocations: 1.388 MB / 450 MB, free: 3.891 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5048, allocations: 0 / 450 MB, free: 3.891 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003044/0.5078, allocations: 0.9825 MB / 451 MB, free: 2.902 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.0003161/0.5082, allocations: 151.2 kB / 451.2 MB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.5107, allocations: 1.528 MB / 452.7 MB, free: 1.219 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5107, allocations: 4.125 kB / 452.7 MB, free: 1.215 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.5108, allocations: 83.91 kB / 452.8 MB, free: 1.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.5123, allocations: 317.9 kB / 453.1 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2001/0.7125, allocations: 7.691 MB / 460.8 MB, free: 105.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003189/0.7158, allocations: 3.139 MB / 463.9 MB, free: 104.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001874/0.7177, allocations: 0.7933 MB / 464.7 MB, free: 104.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.7178, allocations: 97.12 kB / 464.8 MB, free: 104.3 MB / 382.1 MB Notification: Performance of SimCode: time 1.513e-06/0.7179, allocations: 0 / 464.8 MB, free: 104.3 MB / 382.1 MB Notification: Performance of Templates: time 0.03794/0.7558, allocations: 16.85 MB / 481.7 MB, free: 91.37 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1)