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.006133/0.006133, allocations: 102.5 kB / 15.73 MB, free: 5.957 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.001438/0.001438, allocations: 192.2 kB / 16.67 MB, free: 5.879 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.468/1.468, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.001198/0.001198, allocations: 58.86 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1048, allocations: 46.62 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01106/0.1159, allocations: 10.07 MB / 383.2 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005842/0.1218, allocations: 2.826 MB / 386.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009313/0.1228, allocations: 63.81 kB / 386.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008812/0.1316, allocations: 4.22 MB / 390.4 MB, free: 32 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003476/0.1351, allocations: 1.045 MB / 391.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.1369, allocations: 0.8336 MB / 392.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004306/0.1413, allocations: 4.288 MB / 396.5 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01316/0.1544, allocations: 10.99 MB / 407.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003266/0.1577, allocations: 2.455 MB / 410 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003752/0.1615, allocations: 2.784 MB / 412.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001086/0.1626, allocations: 0.6797 MB / 413.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.1644, allocations: 0.8865 MB / 414.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001118/0.1655, allocations: 1.325 MB / 415.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002911/0.1684, allocations: 2.669 MB / 418.3 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008524/0.177, allocations: 9.076 MB / 427.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.177, allocations: 4 kB / 427.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.177, allocations: 4 kB / 427.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002094/0.1772, allocations: 0 / 427.4 MB, free: 10.79 MB / 366.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.01309/0.1903, allocations: 5.57 MB / 433 MB, free: 5.152 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1904, allocations: 12.03 kB / 433 MB, free: 5.141 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01306/0.2035, allocations: 2.391 MB / 435.4 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004447/0.2079, allocations: 2.369 MB / 437.7 MB, free: 336 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002614/0.2082, allocations: 365.9 kB / 438.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008435/0.2091, allocations: 479.9 kB / 438.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01152/0.2206, allocations: 6.639 MB / 445.2 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-05/0.2207, allocations: 0 / 445.2 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004559/0.2212, allocations: 204 kB / 445.4 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000208/0.2214, allocations: 234.1 kB / 445.6 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00974/0.2312, allocations: 6.126 MB / 451.8 MB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2258/0.457, allocations: 22.33 MB / 474.1 MB, free: 53.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007984/0.465, allocations: 10.79 MB / 484.9 MB, free: 42.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/0.4662, allocations: 0.8102 MB / 485.7 MB, free: 41.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004235/0.4704, allocations: 3.391 MB / 489.1 MB, free: 38.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.4705, allocations: 39.59 kB / 489.1 MB, free: 38.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.4705, allocations: 0 / 489.1 MB, free: 38.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005325/0.471, allocations: 231.4 kB / 489.3 MB, free: 38.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.471, allocations: 52.97 kB / 489.4 MB, free: 38.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.4736, allocations: 2.134 MB / 491.5 MB, free: 37.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.4736, allocations: 25.7 kB / 491.6 MB, free: 37.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009433/0.4746, allocations: 2.383 MB / 493.9 MB, free: 35.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.404e-05/0.4746, allocations: 71.34 kB / 494 MB, free: 35.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006009/0.4752, allocations: 0.5481 MB / 494.6 MB, free: 35.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.4753, allocations: 358.9 kB / 494.9 MB, free: 34.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009545/0.4763, allocations: 0.8118 MB / 495.7 MB, free: 34.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.4777, allocations: 2.234 MB / 498 MB, free: 31.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002176/0.4798, allocations: 2.959 MB / 0.4892 GB, free: 29.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.213e-05/0.4799, allocations: 14.88 kB / 0.4892 GB, free: 29.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.00359/0.4835, allocations: 3.019 MB / 0.4921 GB, free: 27.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.4835, allocations: 29.09 kB / 0.4922 GB, free: 27.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.494e-05/0.4836, allocations: 52 kB / 0.4922 GB, free: 26.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.64e-05/0.4837, allocations: 64 kB / 0.4923 GB, free: 26.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.485, allocations: 0.5771 MB / 0.4928 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.472e-05/0.4851, allocations: 96.22 kB / 0.4929 GB, free: 26.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.4868, allocations: 404.2 kB / 0.4933 GB, free: 25.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.4869, allocations: 148 kB / 0.4935 GB, free: 25.7 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 (307): * Single equations (assignments): 306 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001875/0.4888, allocations: 1.726 MB / 0.4951 GB, free: 23.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.489, allocations: 138.2 kB / 0.4953 GB, free: 23.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.4893, allocations: 247 kB / 0.4955 GB, free: 23.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-05/0.4894, allocations: 97.36 kB / 0.4956 GB, free: 23.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4894, allocations: 0 / 0.4956 GB, free: 23.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4894, allocations: 0 / 0.4956 GB, free: 23.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004261/0.4937, allocations: 3.051 MB / 0.4986 GB, free: 20.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4937, allocations: 0 / 0.4986 GB, free: 20.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.516e-05/0.4938, allocations: 12 kB / 0.4986 GB, free: 20.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4938, allocations: 0 / 0.4986 GB, free: 20.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.4938, allocations: 3.984 kB / 0.4986 GB, free: 20.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4938, allocations: 8.031 kB / 0.4986 GB, free: 20.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4938, allocations: 3.188 kB / 0.4986 GB, free: 20.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.4941, allocations: 370.1 kB / 0.499 GB, free: 19.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/0.4944, allocations: 215.4 kB / 0.4992 GB, free: 19.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.4946, allocations: 11.98 kB / 0.4992 GB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004233/0.495, allocations: 23.97 kB / 0.4992 GB, free: 19.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.495, allocations: 8.047 kB / 0.4992 GB, free: 19.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.495, allocations: 7.938 kB / 0.4992 GB, free: 19.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001389/0.4964, allocations: 1.4 MB / 0.5006 GB, free: 18.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4964, allocations: 0 / 0.5006 GB, free: 18.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002026/0.4985, allocations: 0.9902 MB / 0.5015 GB, free: 17.3 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002016/0.4987, allocations: 142.1 kB / 0.5017 GB, free: 17.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.5002, allocations: 1.468 MB / 0.5031 GB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5002, allocations: 3.281 kB / 0.5031 GB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.625e-05/0.5003, allocations: 39.92 kB / 0.5032 GB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.5016, allocations: 333.9 kB / 0.5035 GB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007915/0.5095, allocations: 6.057 MB / 0.5094 GB, free: 9.285 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002461/0.512, allocations: 3.136 MB / 0.5125 GB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00142/0.5134, allocations: 0.7905 MB / 0.5132 GB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.5136, allocations: 103.4 kB / 0.5133 GB, free: 5.223 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5136, allocations: 0 / 0.5133 GB, free: 5.223 MB / 382.1 MB Notification: Performance of Templates: time 0.03091/0.5445, allocations: 17.96 MB / 0.5309 GB, free: 3.25 MB / 398.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)