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.00114/0.001139, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.008945/0.008945, allocations: 169 kB / 16.26 MB, free: 6.613 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.507/1.507, 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.0004419/0.0004422, allocations: 12 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2312, allocations: 47.58 MB / 327 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.008698/0.24, allocations: 9.309 MB / 336.3 MB, free: 9.996 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00523/0.2452, allocations: 2.76 MB / 339.1 MB, free: 7.277 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.2468, allocations: 59.81 kB / 339.2 MB, free: 7.219 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.2486, allocations: 0.6027 MB / 339.8 MB, free: 6.613 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003559/0.2521, allocations: 0.9294 MB / 340.7 MB, free: 5.68 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.2541, allocations: 0.7677 MB / 341.5 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00595/0.26, allocations: 4.124 MB / 345.6 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01739/0.2775, allocations: 11.14 MB / 356.7 MB, free: 5.508 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/0.2799, allocations: 1.716 MB / 358.4 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002357/0.2823, allocations: 2.061 MB / 360.5 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004147/0.2827, allocations: 280 kB / 360.8 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.2838, allocations: 499.8 kB / 361.3 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005994/0.2844, allocations: 0.8055 MB / 362.1 MB, free: 148 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00188/0.2863, allocations: 2.12 MB / 364.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00674/0.293, allocations: 8.534 MB / 372.7 MB, free: 5.445 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.293, allocations: 0 / 372.7 MB, free: 5.445 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2931, allocations: 0 / 372.7 MB, free: 5.445 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001556/0.2932, allocations: 4 kB / 372.7 MB, free: 5.441 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.01047/0.3037, allocations: 4.551 MB / 377.3 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3037, allocations: 8.031 kB / 377.3 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01349/0.3172, allocations: 2.403 MB / 379.7 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00523/0.3225, allocations: 2.369 MB / 382.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003679/0.3229, allocations: 369.8 kB / 382.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001575/0.3245, allocations: 480 kB / 382.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01414/0.3386, allocations: 6.655 MB / 389.5 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.846e-05/0.3388, allocations: 7.906 kB / 389.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004671/0.3393, allocations: 204 kB / 389.7 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002147/0.3395, allocations: 230.1 kB / 390 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01167/0.3512, allocations: 6.141 MB / 396.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03199/0.3832, allocations: 22.7 MB / 418.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/0.3935, allocations: 10.82 MB / 429.6 MB, free: 9.914 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.3951, allocations: 0.8617 MB / 430.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004972/0.4001, allocations: 3.499 MB / 434 MB, free: 5.207 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.4002, allocations: 42.56 kB / 434 MB, free: 5.156 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 2.625e-06/0.4002, allocations: 0 / 434 MB, free: 5.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006007/0.4008, allocations: 343.8 kB / 434.4 MB, free: 4.812 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.4008, allocations: 55.34 kB / 434.4 MB, free: 4.746 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002685/0.4035, allocations: 2.133 MB / 436.6 MB, free: 2.605 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.4036, allocations: 25.7 kB / 436.6 MB, free: 2.574 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/0.4049, allocations: 2.378 MB / 439 MB, free: 164 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.817e-05/0.4049, allocations: 87.41 kB / 439 MB, free: 76 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.4052, allocations: 202.7 kB / 439.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4053, allocations: 353.9 kB / 439.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.4065, allocations: 0.8479 MB / 440.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/0.4085, allocations: 2.27 MB / 442.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002923/0.4114, allocations: 3.035 MB / 445.7 MB, free: 7.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.467e-05/0.4114, allocations: 16 kB / 445.8 MB, free: 7.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.004359/0.4158, allocations: 3.092 MB / 448.9 MB, free: 4.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.4159, allocations: 28.19 kB / 448.9 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.511e-05/0.4159, allocations: 52 kB / 448.9 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.845e-05/0.416, allocations: 68 kB / 449 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.4176, allocations: 0.5732 MB / 449.6 MB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.098e-05/0.4177, allocations: 99.64 kB / 449.7 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.4195, allocations: 400.2 kB / 450.1 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.4197, allocations: 148 kB / 450.2 MB, free: 3.48 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.002395/0.4221, allocations: 1.734 MB / 451.9 MB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.4223, allocations: 134.2 kB / 452.1 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004939/0.4228, allocations: 326.9 kB / 452.4 MB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001924/0.423, allocations: 157.6 kB / 452.5 MB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.423, allocations: 0 / 452.5 MB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.423, allocations: 4 kB / 452.5 MB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.179/0.602, allocations: 3.151 MB / 455.7 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.6021, allocations: 0 / 455.7 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.632e-05/0.6022, allocations: 13.16 kB / 455.7 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.6022, allocations: 0 / 455.7 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.6022, allocations: 5.75 kB / 455.7 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.6022, allocations: 3.469 kB / 455.7 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6022, allocations: 3.844 kB / 455.7 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/0.6028, allocations: 487.2 kB / 456.2 MB, free: 106.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003824/0.6032, allocations: 253.3 kB / 456.4 MB, free: 106.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.6033, allocations: 10.03 kB / 456.5 MB, free: 106.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004514/0.6038, allocations: 34.42 kB / 456.5 MB, free: 106.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.6038, allocations: 6.609 kB / 456.5 MB, free: 106.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.6039, allocations: 8 kB / 456.5 MB, free: 106.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001802/0.6057, allocations: 1.401 MB / 457.9 MB, free: 106.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6057, allocations: 1.594 kB / 457.9 MB, free: 106.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002685/0.6084, allocations: 0.9813 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.000239/0.6086, allocations: 141.2 kB / 459 MB, free: 105.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001874/0.6105, allocations: 1.551 MB / 460.6 MB, free: 105.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.6105, allocations: 3.812 kB / 460.6 MB, free: 105.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.403e-05/0.6106, allocations: 74.52 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.001578/0.6122, allocations: 311 kB / 461 MB, free: 105.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008711/0.6209, allocations: 8.131 MB / 469.1 MB, free: 100.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002208/0.6231, allocations: 3.139 MB / 472.2 MB, free: 99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001783/0.6249, allocations: 0.7917 MB / 473 MB, free: 98.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.6251, allocations: 96.62 kB / 473.1 MB, free: 98.92 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6251, allocations: 3.938 kB / 473.1 MB, free: 98.91 MB / 382.1 MB Notification: Performance of Templates: time 0.02702/0.6521, allocations: 17.14 MB / 490.3 MB, free: 82.41 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)