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.001058/0.001058, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001105/0.001105, allocations: 189.2 kB / 16.14 MB, free: 6.66 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.418/1.418, allocations: 205.1 MB / 222 MB, free: 4.711 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.001298/0.001298, allocations: 51.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2161, allocations: 46.62 MB / 324.7 MB, free: 1.953 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01054/0.2267, allocations: 9.956 MB / 334.6 MB, free: 10.04 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005621/0.2324, allocations: 2.797 MB / 337.4 MB, free: 7.375 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009772/0.2334, allocations: 59.88 kB / 337.5 MB, free: 7.316 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007519/0.241, allocations: 3.993 MB / 341.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002911/0.2439, allocations: 0.9371 MB / 342.4 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.2457, allocations: 0.7761 MB / 343.2 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004126/0.2498, allocations: 4.128 MB / 347.3 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01085/0.2607, allocations: 9.23 MB / 356.6 MB, free: 4.102 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003174/0.2639, allocations: 2.22 MB / 358.8 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004038/0.268, allocations: 2.709 MB / 361.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007868/0.2688, allocations: 0.5156 MB / 362 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.2704, allocations: 0.7303 MB / 362.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009181/0.2714, allocations: 1.153 MB / 363.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002457/0.2738, allocations: 2.505 MB / 366.4 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008072/0.2819, allocations: 8.92 MB / 375.3 MB, free: 1.293 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2819, allocations: 0 / 375.3 MB, free: 1.293 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.282, allocations: 0 / 375.3 MB, free: 1.293 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001991/0.2822, allocations: 0 / 375.3 MB, free: 1.293 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.01242/0.2946, allocations: 5.586 MB / 380.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.2946, allocations: 8.031 kB / 380.9 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01298/0.3076, allocations: 2.391 MB / 383.3 MB, free: 9.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004368/0.312, allocations: 2.377 MB / 385.7 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004115/0.3125, allocations: 369.8 kB / 386 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001126/0.3136, allocations: 476 kB / 386.5 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01279/0.3264, allocations: 6.655 MB / 393.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-05/0.3265, allocations: 7.906 kB / 393.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004466/0.327, allocations: 199.9 kB / 393.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002131/0.3272, allocations: 230.1 kB / 393.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/0.3373, allocations: 6.149 MB / 399.7 MB, free: 8.695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03152/0.3688, allocations: 22.63 MB / 422.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.3791, allocations: 10.84 MB / 433.2 MB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.3805, allocations: 0.8656 MB / 434.1 MB, free: 3.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005699/0.3862, allocations: 3.488 MB / 437.5 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.3862, allocations: 38.56 kB / 437.6 MB, free: 32 kB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.824e-06/0.3863, allocations: 4 kB / 437.6 MB, free: 28 kB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007722/0.387, allocations: 335.9 kB / 437.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.3871, allocations: 51.41 kB / 438 MB, free: 15.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003542/0.3906, allocations: 2.141 MB / 440.1 MB, free: 13.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3907, allocations: 25.7 kB / 440.1 MB, free: 13.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001466/0.3922, allocations: 2.37 MB / 442.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.3923, allocations: 95.33 kB / 442.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008425/0.3931, allocations: 0.5546 MB / 443.2 MB, free: 10.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.3933, allocations: 357.9 kB / 443.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.3946, allocations: 0.8557 MB / 444.4 MB, free: 9.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/0.3967, allocations: 2.27 MB / 446.6 MB, free: 6.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003168/0.3999, allocations: 3.031 MB / 449.7 MB, free: 2.461 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.033e-05/0.4, allocations: 16 kB / 449.7 MB, free: 2.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.1927/0.5926, allocations: 3.095 MB / 452.8 MB, free: 105.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.663e-05/0.5928, allocations: 28.25 kB / 452.8 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001484/0.5929, allocations: 49.94 kB / 452.8 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001544/0.5931, allocations: 67.5 kB / 452.9 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/0.5952, allocations: 0.5737 MB / 453.5 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001011/0.5953, allocations: 96.8 kB / 453.6 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.5977, allocations: 404.5 kB / 454 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003396/0.5981, allocations: 149.9 kB / 454.1 MB, free: 105.9 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.002865/0.6009, allocations: 1.729 MB / 455.8 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003183/0.6013, allocations: 133.6 kB / 456 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006771/0.602, allocations: 325.8 kB / 456.3 MB, free: 105.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002043/0.6022, allocations: 167.6 kB / 456.5 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.6022, allocations: 0 / 456.5 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6022, allocations: 0.9062 kB / 456.5 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005847/0.608, allocations: 3.152 MB / 459.6 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6081, allocations: 0.7812 kB / 459.6 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.272e-05/0.6082, allocations: 13.88 kB / 459.6 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.6082, allocations: 3.312 kB / 459.6 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.6082, allocations: 10.16 kB / 459.6 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.6082, allocations: 0.6875 kB / 459.6 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6082, allocations: 4.688 kB / 459.6 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006772/0.6089, allocations: 496.1 kB / 460.1 MB, free: 104 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004599/0.6094, allocations: 222.5 kB / 460.3 MB, free: 103.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/0.6097, allocations: 0 / 460.3 MB, free: 103.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005418/0.6102, allocations: 27.28 kB / 460.4 MB, free: 103.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.6103, allocations: 19.31 kB / 460.4 MB, free: 103.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.6103, allocations: 3.969 kB / 460.4 MB, free: 103.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001681/0.612, allocations: 1.399 MB / 461.8 MB, free: 103.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.21e-07/0.612, allocations: 0 / 461.8 MB, free: 103.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002984/0.615, allocations: 0.9919 MB / 462.8 MB, free: 103 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.0002743/0.6153, allocations: 146.2 kB / 462.9 MB, free: 102.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002298/0.6176, allocations: 1.543 MB / 464.5 MB, free: 102.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.6176, allocations: 0 / 464.5 MB, free: 102.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.6177, allocations: 91.75 kB / 464.6 MB, free: 102.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.6194, allocations: 310 kB / 464.9 MB, free: 102.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/0.6341, allocations: 8.073 MB / 472.9 MB, free: 97.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003438/0.6376, allocations: 3.139 MB / 476.1 MB, free: 94.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001915/0.6395, allocations: 0.7922 MB / 476.9 MB, free: 94.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.6398, allocations: 99.42 kB / 477 MB, free: 94.35 MB / 382.1 MB Notification: Performance of SimCode: time 1.382e-06/0.6398, allocations: 0 / 477 MB, free: 94.35 MB / 382.1 MB Notification: Performance of Templates: time 0.02906/0.6689, allocations: 17.22 MB / 494.2 MB, free: 77.16 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)