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.006686/0.006686, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001234/0.001234, allocations: 196.2 kB / 16.68 MB, free: 5.93 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.458/1.458, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.001117/0.001117, allocations: 51.03 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08623/0.08736, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.009639/0.09703, allocations: 10.08 MB / 383.2 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004365/0.1014, allocations: 2.823 MB / 386.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005019/0.1019, allocations: 63.81 kB / 386.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007995/0.1099, allocations: 4.205 MB / 390.3 MB, free: 64 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002695/0.1127, allocations: 1.053 MB / 391.4 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.1144, allocations: 0.8259 MB / 392.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003942/0.1184, allocations: 4.28 MB / 396.5 MB, free: 9.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01143/0.1298, allocations: 11 MB / 407.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002961/0.1328, allocations: 2.447 MB / 409.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003447/0.1363, allocations: 2.784 MB / 412.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009541/0.1373, allocations: 0.6797 MB / 413.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.1392, allocations: 0.8904 MB / 414.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.1402, allocations: 1.329 MB / 415.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002841/0.1431, allocations: 2.665 MB / 418.3 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008437/0.1515, allocations: 9.096 MB / 427.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1516, allocations: 0 / 427.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1516, allocations: 0 / 427.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001715/0.1518, allocations: 4 kB / 427.4 MB, free: 10.8 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.0141/0.1659, allocations: 5.677 MB / 433.1 MB, free: 5.055 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1659, allocations: 8.031 kB / 433.1 MB, free: 5.047 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01375/0.1797, allocations: 2.413 MB / 435.5 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004118/0.1838, allocations: 2.381 MB / 437.9 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002628/0.1841, allocations: 365.9 kB / 438.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008011/0.1849, allocations: 475.9 kB / 438.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01154/0.1965, allocations: 6.643 MB / 445.3 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.179e-05/0.1966, allocations: 11.83 kB / 445.3 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004526/0.197, allocations: 200 kB / 445.5 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001895/0.1972, allocations: 234 kB / 445.8 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009707/0.2069, allocations: 6.114 MB / 451.9 MB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2363/0.4432, allocations: 22.39 MB / 474.3 MB, free: 52.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008152/0.4514, allocations: 10.79 MB / 485.1 MB, free: 42.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009508/0.4524, allocations: 0.8123 MB / 485.9 MB, free: 41.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004077/0.4565, allocations: 3.399 MB / 489.3 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.4565, allocations: 38.5 kB / 489.3 MB, free: 38.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.4565, allocations: 3.938 kB / 489.3 MB, free: 38.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004505/0.457, allocations: 236.5 kB / 489.5 MB, free: 38.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.457, allocations: 56.09 kB / 489.6 MB, free: 38.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002305/0.4593, allocations: 2.14 MB / 491.7 MB, free: 37.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.4594, allocations: 29.7 kB / 491.8 MB, free: 37.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009039/0.4603, allocations: 2.471 MB / 494.2 MB, free: 35.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.4603, allocations: 71.61 kB / 494.3 MB, free: 35.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005848/0.4609, allocations: 0.5537 MB / 494.9 MB, free: 35.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.084e-05/0.461, allocations: 358.3 kB / 495.2 MB, free: 34.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009288/0.4619, allocations: 0.8112 MB / 496 MB, free: 34.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.4633, allocations: 2.238 MB / 498.3 MB, free: 31.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/0.4655, allocations: 2.958 MB / 0.4895 GB, free: 29.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.929e-05/0.4655, allocations: 15.16 kB / 0.4895 GB, free: 29.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.003598/0.4691, allocations: 3.03 MB / 0.4924 GB, free: 27.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.4692, allocations: 25.09 kB / 0.4925 GB, free: 27.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.825e-05/0.4692, allocations: 56.09 kB / 0.4925 GB, free: 27.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.598e-05/0.4693, allocations: 72 kB / 0.4926 GB, free: 26.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.4707, allocations: 0.5692 MB / 0.4932 GB, free: 26.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-05/0.4708, allocations: 91.66 kB / 0.4932 GB, free: 26.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.4725, allocations: 413.3 kB / 0.4936 GB, free: 25.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.4727, allocations: 148 kB / 0.4938 GB, free: 25.76 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.002587/0.4753, allocations: 1.729 MB / 0.4955 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.4755, allocations: 143 kB / 0.4956 GB, free: 23.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/0.4759, allocations: 243 kB / 0.4958 GB, free: 23.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.973e-05/0.476, allocations: 89.45 kB / 0.4959 GB, free: 23.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.476, allocations: 0 / 0.4959 GB, free: 23.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.476, allocations: 3.984 kB / 0.4959 GB, free: 23.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003726/0.4797, allocations: 3.06 MB / 0.4989 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4797, allocations: 5.969 kB / 0.4989 GB, free: 20.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.872e-05/0.4798, allocations: 8 kB / 0.4989 GB, free: 20.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4798, allocations: 0 / 0.4989 GB, free: 20.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.4798, allocations: 4 kB / 0.4989 GB, free: 20.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4798, allocations: 3.984 kB / 0.4989 GB, free: 20.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4799, allocations: 0 / 0.4989 GB, free: 20.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.4802, allocations: 387 kB / 0.4993 GB, free: 20.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.4804, allocations: 224.2 kB / 0.4995 GB, free: 19.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.4806, allocations: 3.984 kB / 0.4995 GB, free: 19.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004305/0.481, allocations: 23.97 kB / 0.4995 GB, free: 19.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.481, allocations: 7.984 kB / 0.4995 GB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-06/0.4811, allocations: 7.938 kB / 0.4996 GB, free: 19.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00142/0.4825, allocations: 1.396 MB / 0.5009 GB, free: 18.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4825, allocations: 0 / 0.5009 GB, free: 18.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002282/0.4848, allocations: 1.004 MB / 0.5019 GB, free: 17.33 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.0002169/0.485, allocations: 145.9 kB / 0.502 GB, free: 17.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.4866, allocations: 1.473 MB / 0.5035 GB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4866, allocations: 1 kB / 0.5035 GB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.663e-05/0.4867, allocations: 35.92 kB / 0.5035 GB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.4881, allocations: 340.5 kB / 0.5038 GB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007753/0.4959, allocations: 6.171 MB / 0.5099 GB, free: 9.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001956/0.4979, allocations: 3.14 MB / 0.5129 GB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001612/0.4995, allocations: 0.7905 MB / 0.5137 GB, free: 5.207 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.4997, allocations: 103.4 kB / 0.5138 GB, free: 5.105 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4997, allocations: 0 / 0.5138 GB, free: 5.105 MB / 382.1 MB Notification: Performance of Templates: time 0.0324/0.5321, allocations: 17.96 MB / 0.5313 GB, free: 3.141 MB / 398.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)