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.0009056/0.0009058, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004824/0.004824, allocations: 170.5 kB / 16.27 MB, free: 6.648 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.49/1.49, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004404/0.0004406, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2579, allocations: 47.58 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.009601/0.2675, allocations: 9.301 MB / 336.3 MB, free: 9.973 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006318/0.2739, allocations: 2.761 MB / 339.1 MB, free: 7.262 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.2756, allocations: 63.81 kB / 339.2 MB, free: 7.199 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.2775, allocations: 0.5949 MB / 339.8 MB, free: 6.602 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004191/0.2817, allocations: 0.9255 MB / 340.7 MB, free: 5.672 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.2842, allocations: 0.7716 MB / 341.5 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00518/0.2894, allocations: 4.124 MB / 345.6 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01587/0.3053, allocations: 11.14 MB / 356.7 MB, free: 5.504 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.3077, allocations: 1.72 MB / 358.4 MB, free: 3.777 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00228/0.3099, allocations: 2.073 MB / 360.5 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003863/0.3103, allocations: 280 kB / 360.8 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.3114, allocations: 499.7 kB / 361.3 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005944/0.312, allocations: 0.8016 MB / 362.1 MB, free: 132 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001816/0.3139, allocations: 2.12 MB / 364.2 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006705/0.3206, allocations: 8.534 MB / 372.7 MB, free: 5.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3206, allocations: 0 / 372.7 MB, free: 5.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3206, allocations: 0 / 372.7 MB, free: 5.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001313/0.3207, allocations: 0 / 372.7 MB, free: 5.43 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.01059/0.3313, allocations: 4.551 MB / 377.3 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.3314, allocations: 8.031 kB / 377.3 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01334/0.3447, allocations: 2.399 MB / 379.7 MB, free: 14.4 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004446/0.3492, allocations: 2.377 MB / 382.1 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/0.3495, allocations: 365.8 kB / 382.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001158/0.3507, allocations: 479.9 kB / 382.9 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0135/0.3642, allocations: 6.655 MB / 389.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/0.3644, allocations: 11.89 kB / 389.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004561/0.3648, allocations: 200 kB / 389.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002019/0.365, allocations: 226.1 kB / 390 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01081/0.3759, allocations: 6.137 MB / 396.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0328/0.4087, allocations: 22.7 MB / 418.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/0.4192, allocations: 10.83 MB / 429.6 MB, free: 9.902 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.4207, allocations: 0.8656 MB / 430.5 MB, free: 9.039 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005472/0.4262, allocations: 3.495 MB / 434 MB, free: 5.195 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.4263, allocations: 34.56 kB / 434 MB, free: 5.152 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.834e-06/0.4263, allocations: 0 / 434 MB, free: 5.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006172/0.4269, allocations: 351.7 kB / 434.4 MB, free: 4.801 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.4269, allocations: 51.41 kB / 434.4 MB, free: 4.738 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002888/0.4298, allocations: 2.133 MB / 436.6 MB, free: 2.598 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.4299, allocations: 29.7 kB / 436.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001392/0.4313, allocations: 2.374 MB / 439 MB, free: 156 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.848e-05/0.4313, allocations: 87.41 kB / 439 MB, free: 68 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.4316, allocations: 202.7 kB / 439.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4317, allocations: 353.9 kB / 439.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.4329, allocations: 0.8479 MB / 440.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002055/0.4349, allocations: 2.27 MB / 442.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002825/0.4378, allocations: 3.043 MB / 445.7 MB, free: 7.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-05/0.4378, allocations: 12 kB / 445.8 MB, free: 7.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.004264/0.4421, allocations: 3.092 MB / 448.8 MB, free: 4.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.4421, allocations: 24 kB / 448.9 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-05/0.4422, allocations: 52 kB / 448.9 MB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.522e-05/0.4422, allocations: 72.8 kB / 449 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.4438, allocations: 0.5654 MB / 449.6 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.042e-05/0.4439, allocations: 99.64 kB / 449.7 MB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.4456, allocations: 400.2 kB / 450 MB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/0.4458, allocations: 148 kB / 450.2 MB, free: 3.477 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002416/0.4482, allocations: 1.734 MB / 451.9 MB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.4484, allocations: 130.3 kB / 452.1 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004758/0.4489, allocations: 334.8 kB / 452.4 MB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001949/0.4491, allocations: 161.6 kB / 452.5 MB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4491, allocations: 0 / 452.5 MB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.4491, allocations: 0 / 452.5 MB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1874/0.6366, allocations: 3.153 MB / 455.7 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.6366, allocations: 1.344 kB / 455.7 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.6367, allocations: 19.58 kB / 455.7 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.6367, allocations: 0 / 455.7 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.6368, allocations: 6.438 kB / 455.7 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.6368, allocations: 3.688 kB / 455.7 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6368, allocations: 0 / 455.7 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007488/0.6375, allocations: 489.9 kB / 456.2 MB, free: 106.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004682/0.638, allocations: 258.9 kB / 456.5 MB, free: 106.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.6382, allocations: 10 kB / 456.5 MB, free: 106.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004888/0.6386, allocations: 26.06 kB / 456.5 MB, free: 106.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.6387, allocations: 9.641 kB / 456.5 MB, free: 106.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.6387, allocations: 10.94 kB / 456.5 MB, free: 106.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001747/0.6405, allocations: 1.395 MB / 457.9 MB, free: 106.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6405, allocations: 0 / 457.9 MB, free: 106.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002722/0.6432, allocations: 0.9876 MB / 458.9 MB, free: 105.9 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 (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.0002505/0.6435, allocations: 143.8 kB / 459 MB, free: 105.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00193/0.6454, allocations: 1.545 MB / 460.6 MB, free: 105.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6454, allocations: 0 / 460.6 MB, free: 105.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.854e-05/0.6455, allocations: 85.75 kB / 460.7 MB, free: 105.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.6472, allocations: 306 kB / 461 MB, free: 105.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008843/0.656, allocations: 8.133 MB / 469.1 MB, free: 100.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002059/0.6581, allocations: 3.133 MB / 472.2 MB, free: 99.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001762/0.6599, allocations: 0.7953 MB / 473 MB, free: 98.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.66, allocations: 100.7 kB / 473.1 MB, free: 98.87 MB / 382.1 MB Notification: Performance of SimCode: time 1.753e-06/0.6601, allocations: 0 / 473.1 MB, free: 98.87 MB / 382.1 MB Notification: Performance of Templates: time 0.0274/0.6875, allocations: 17.14 MB / 490.3 MB, free: 82.38 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)