Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.00104/0.00104, allocations: 87.22 kB / 16.31 MB, free: 6.449 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.001288/0.001288, allocations: 183.3 kB / 17.21 MB, free: 6.32 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.698/1.698, allocations: 205.4 MB / 223.4 MB, free: 5.742 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.0004582/0.0004583, allocations: 11.98 kB / 280.2 MB, free: 13.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2615, allocations: 47.59 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.009302/0.2709, allocations: 8.644 MB / 336.4 MB, free: 10.62 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00756/0.2785, allocations: 2.557 MB / 338.9 MB, free: 8.309 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002612/0.2811, allocations: 59.81 kB / 339 MB, free: 8.25 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.2834, allocations: 429.4 kB / 339.4 MB, free: 7.828 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004569/0.288, allocations: 0.8555 MB / 340.3 MB, free: 6.969 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.2904, allocations: 0.6509 MB / 340.9 MB, free: 6.316 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005791/0.2962, allocations: 3.945 MB / 344.9 MB, free: 2.355 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01944/0.3156, allocations: 9.32 MB / 354.2 MB, free: 8.953 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003663/0.3193, allocations: 1.713 MB / 355.9 MB, free: 7.234 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004068/0.3234, allocations: 1.961 MB / 357.9 MB, free: 5.266 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001107/0.3246, allocations: 284 kB / 358.1 MB, free: 4.988 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.327, allocations: 483.8 kB / 358.6 MB, free: 4.516 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001338/0.3284, allocations: 0.7941 MB / 359.4 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0019/0.3303, allocations: 0.9019 MB / 360.3 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009152/0.3395, allocations: 7.625 MB / 367.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.3395, allocations: 0 / 367.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3395, allocations: 0 / 367.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000363/0.3399, allocations: 0 / 367.9 MB, free: 11.16 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.01382/0.3537, allocations: 4.594 MB / 372.5 MB, free: 6.504 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3538, allocations: 12.03 kB / 372.5 MB, free: 6.492 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01371/0.3675, allocations: 2.398 MB / 374.9 MB, free: 4.086 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005458/0.373, allocations: 2.357 MB / 377.3 MB, free: 1.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004426/0.3735, allocations: 361.8 kB / 377.6 MB, free: 1.324 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002102/0.3756, allocations: 476 kB / 378.1 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01986/0.3955, allocations: 6.628 MB / 384.7 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/0.3957, allocations: 0 / 384.7 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005371/0.3962, allocations: 200 kB / 384.9 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002512/0.3965, allocations: 226.1 kB / 385.2 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/0.4085, allocations: 6.094 MB / 391.2 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03735/0.4459, allocations: 22.7 MB / 413.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.4571, allocations: 10.81 MB / 424.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.4586, allocations: 0.858 MB / 425.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006183/0.4648, allocations: 3.507 MB / 429.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.4649, allocations: 34.56 kB / 429.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 2.465e-06/0.4649, allocations: 4 kB / 429.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008486/0.4658, allocations: 327.9 kB / 429.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.4658, allocations: 63.33 kB / 429.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003925/0.4698, allocations: 2.125 MB / 431.7 MB, free: 8.434 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.4698, allocations: 25.7 kB / 431.7 MB, free: 8.402 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001994/0.4718, allocations: 2.378 MB / 434.1 MB, free: 5.988 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.4719, allocations: 87.41 kB / 434.2 MB, free: 5.902 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.4721, allocations: 44 kB / 434.2 MB, free: 5.859 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003199/0.4724, allocations: 471.7 kB / 434.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.4739, allocations: 0.8323 MB / 435.5 MB, free: 4.555 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002523/0.4764, allocations: 2.259 MB / 437.7 MB, free: 1.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002068/0.4785, allocations: 1.415 MB / 439.2 MB, free: 180 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-05/0.4785, allocations: 12 kB / 439.2 MB, free: 168 kB / 366.1 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.005137/0.4837, allocations: 3.077 MB / 442.2 MB, free: 13.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.942e-05/0.4838, allocations: 24 kB / 442.3 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.859e-05/0.4838, allocations: 52 kB / 442.3 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.504e-05/0.4839, allocations: 72 kB / 442.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.4856, allocations: 0.5693 MB / 443 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-05/0.4857, allocations: 107.5 kB / 443.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.4876, allocations: 396.6 kB / 443.5 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/0.4879, allocations: 148 kB / 443.6 MB, free: 11.72 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.002987/0.4908, allocations: 1.738 MB / 445.3 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003108/0.4912, allocations: 134.2 kB / 445.5 MB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000594/0.4918, allocations: 314.9 kB / 445.8 MB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002009/0.492, allocations: 161.6 kB / 445.9 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.492, allocations: 0 / 445.9 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.492, allocations: 3.984 kB / 445.9 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005462/0.4975, allocations: 3.15 MB / 449.1 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.4975, allocations: 4 kB / 449.1 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.39e-05/0.4976, allocations: 15.94 kB / 449.1 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.4976, allocations: 0 / 449.1 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.4976, allocations: 4.281 kB / 449.1 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.4976, allocations: 32 / 449.1 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4976, allocations: 4 kB / 449.1 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005896/0.4982, allocations: 494.2 kB / 449.6 MB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004329/0.4987, allocations: 263.2 kB / 449.9 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.4988, allocations: 0 / 449.9 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/0.4993, allocations: 31.95 kB / 449.9 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.4993, allocations: 12.05 kB / 449.9 MB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.4993, allocations: 8 kB / 449.9 MB, free: 5.285 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001971/0.5013, allocations: 1.38 MB / 451.3 MB, free: 3.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5013, allocations: 4 kB / 451.3 MB, free: 3.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00271/0.504, allocations: 0.9864 MB / 452.3 MB, free: 2.914 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.0002606/0.5043, allocations: 143.2 kB / 452.4 MB, free: 2.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002434/0.5068, allocations: 1.535 MB / 454 MB, free: 1.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5068, allocations: 0 / 454 MB, free: 1.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.5069, allocations: 81.64 kB / 454 MB, free: 1.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.5084, allocations: 321.8 kB / 454.3 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2092/0.7176, allocations: 7.682 MB / 462 MB, free: 105.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002556/0.7202, allocations: 3.14 MB / 465.2 MB, free: 104.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001801/0.7221, allocations: 0.7923 MB / 466 MB, free: 104.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.7222, allocations: 97.38 kB / 466.1 MB, free: 104.4 MB / 382.1 MB Notification: Performance of SimCode: time 1.613e-06/0.7222, allocations: 0 / 466.1 MB, free: 104.4 MB / 382.1 MB Notification: Performance of Templates: time 0.02813/0.7504, allocations: 16.85 MB / 482.9 MB, free: 91.37 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1)