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.001613/0.001613, allocations: 100.8 kB / 16.5 MB, free: 6.695 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.001672/0.001672, allocations: 194.4 kB / 17.42 MB, free: 6.09 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.453/1.453, allocations: 205.1 MB / 223.3 MB, free: 12.52 MB / 190.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.001978/0.001978, allocations: 47.94 kB / 279.3 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1118, allocations: 46.64 MB / 326 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01647/0.1283, allocations: 9.956 MB / 335.9 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007319/0.1357, allocations: 2.796 MB / 338.7 MB, free: 8.078 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.1371, allocations: 59.81 kB / 338.8 MB, free: 8.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01144/0.1485, allocations: 3.993 MB / 342.8 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004005/0.1526, allocations: 0.9372 MB / 343.7 MB, free: 3.07 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.155, allocations: 0.7755 MB / 344.5 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004355/0.1594, allocations: 4.139 MB / 348.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01209/0.1715, allocations: 9.225 MB / 357.8 MB, free: 4.797 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003058/0.1745, allocations: 2.212 MB / 360.1 MB, free: 2.578 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003974/0.1785, allocations: 2.713 MB / 362.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001457/0.18, allocations: 0.5195 MB / 363.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002318/0.1824, allocations: 0.7263 MB / 364 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001627/0.184, allocations: 1.153 MB / 365.2 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005761/0.1898, allocations: 2.493 MB / 367.7 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009619/0.1994, allocations: 8.924 MB / 376.6 MB, free: 2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1994, allocations: 0 / 376.6 MB, free: 2 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.1995, allocations: 0 / 376.6 MB, free: 2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002174/0.1997, allocations: 0 / 376.6 MB, free: 2 MB / 318.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.1524/0.3521, allocations: 5.585 MB / 382.2 MB, free: 48.06 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.3522, allocations: 9.906 kB / 382.2 MB, free: 48.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01376/0.3659, allocations: 2.39 MB / 384.6 MB, free: 47.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004754/0.3707, allocations: 2.378 MB / 386.9 MB, free: 46.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003726/0.3711, allocations: 363 kB / 387.3 MB, free: 46.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001152/0.3723, allocations: 476.8 kB / 387.8 MB, free: 45.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/0.3833, allocations: 6.662 MB / 394.4 MB, free: 42.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.865e-05/0.3835, allocations: 2.75 kB / 394.4 MB, free: 42.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004186/0.3839, allocations: 203.7 kB / 394.6 MB, free: 42.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001691/0.3841, allocations: 234.5 kB / 394.9 MB, free: 42.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009105/0.3932, allocations: 6.138 MB / 401 MB, free: 37.42 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02528/0.4185, allocations: 22.64 MB / 423.6 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006835/0.4254, allocations: 10.82 MB / 434.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009297/0.4263, allocations: 0.8614 MB / 435.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004568/0.4309, allocations: 3.505 MB / 438.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.4309, allocations: 42.5 kB / 438.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.833e-06/0.431, allocations: 0 / 438.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005754/0.4315, allocations: 345.7 kB / 439.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.4316, allocations: 51.41 kB / 439.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0026/0.4342, allocations: 2.137 MB / 441.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.4342, allocations: 25.7 kB / 441.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.4355, allocations: 2.374 MB / 443.8 MB, free: 7.973 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.1e-05/0.4356, allocations: 95.25 kB / 443.9 MB, free: 7.879 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006915/0.4363, allocations: 0.5546 MB / 444.4 MB, free: 7.316 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4364, allocations: 357.9 kB / 444.8 MB, free: 6.961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.4375, allocations: 0.8401 MB / 445.6 MB, free: 6.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/0.4395, allocations: 2.278 MB / 447.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002802/0.4423, allocations: 3.039 MB / 450.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.127e-05/0.4423, allocations: 12 kB / 451 MB, free: 15.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.004373/0.4467, allocations: 3.1 MB / 454.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.4467, allocations: 28.12 kB / 454.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-05/0.4468, allocations: 59.94 kB / 454.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.401e-05/0.4469, allocations: 68 kB / 454.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.4484, allocations: 0.5614 MB / 454.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.098e-05/0.4485, allocations: 99.64 kB / 454.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/0.4504, allocations: 400.2 kB / 455.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/0.4506, allocations: 148 kB / 455.4 MB, free: 10.93 MB / 350.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.00233/0.4529, allocations: 1.726 MB / 457.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.4531, allocations: 142.2 kB / 457.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000489/0.4536, allocations: 317.5 kB / 457.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001873/0.4538, allocations: 165.6 kB / 457.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4539, allocations: 0 / 457.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.4539, allocations: 3.984 kB / 457.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004309/0.4582, allocations: 3.16 MB / 460.9 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.4582, allocations: 0 / 460.9 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.457e-05/0.4583, allocations: 11.98 kB / 460.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.4583, allocations: 4 kB / 460.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.4583, allocations: 8 kB / 460.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.654e-06/0.4583, allocations: 0 / 460.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.4583, allocations: 4 kB / 460.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000555/0.4589, allocations: 0.4901 MB / 461.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/0.4592, allocations: 223.4 kB / 461.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.4594, allocations: 0 / 461.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004577/0.4598, allocations: 27.97 kB / 461.7 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.4599, allocations: 7.984 kB / 461.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.4599, allocations: 4 kB / 461.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001696/0.4616, allocations: 1.4 MB / 463.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4616, allocations: 4.062 kB / 463.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002409/0.464, allocations: 0.9889 MB / 464.1 MB, free: 2.141 MB / 350.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.0002533/0.4643, allocations: 148.5 kB / 464.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.4663, allocations: 1.544 MB / 465.8 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4663, allocations: 3.938 kB / 465.8 MB, free: 452 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.4664, allocations: 79.95 kB / 465.8 MB, free: 372 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.4679, allocations: 313.9 kB / 466.1 MB, free: 60 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.4787, allocations: 8.073 MB / 474.2 MB, free: 7.965 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002759/0.4815, allocations: 3.132 MB / 477.4 MB, free: 4.805 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00199/0.4835, allocations: 0.7945 MB / 478.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.4837, allocations: 103.4 kB / 478.2 MB, free: 3.902 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4837, allocations: 3.938 kB / 478.3 MB, free: 3.898 MB / 366.1 MB Notification: Performance of Templates: time 0.02888/0.5126, allocations: 17.22 MB / 495.5 MB, free: 2.668 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)