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.001469/0.001469, allocations: 95.27 kB / 16.3 MB, free: 5.285 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.001397/0.001397, allocations: 179.3 kB / 17.19 MB, free: 5.195 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.672/1.672, allocations: 205.4 MB / 223.4 MB, free: 13.01 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.0004691/0.0004692, allocations: 12.16 kB / 280.1 MB, free: 3.707 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09499/0.09548, allocations: 47.58 MB / 327.7 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.008308/0.1038, allocations: 8.091 MB / 335.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005341/0.1092, allocations: 2.634 MB / 338.4 MB, free: 9.289 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.1108, allocations: 63.81 kB / 338.5 MB, free: 9.227 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.1122, allocations: 457.5 kB / 338.9 MB, free: 8.777 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002595/0.1148, allocations: 0.8763 MB / 339.8 MB, free: 7.898 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.1165, allocations: 0.6585 MB / 340.5 MB, free: 7.238 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003839/0.1203, allocations: 2.846 MB / 343.3 MB, free: 4.387 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01539/0.1357, allocations: 9.207 MB / 352.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00265/0.1384, allocations: 1.585 MB / 354.1 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002745/0.1412, allocations: 1.813 MB / 355.9 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004842/0.1417, allocations: 280 kB / 356.2 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.1429, allocations: 463.7 kB / 356.6 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006172/0.1435, allocations: 0.7747 MB / 357.4 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000913/0.1444, allocations: 0.9019 MB / 358.3 MB, free: 5.273 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006425/0.1509, allocations: 7.624 MB / 365.9 MB, free: 13.63 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1509, allocations: 0 / 365.9 MB, free: 13.63 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.1509, allocations: 0 / 365.9 MB, free: 13.63 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001996/0.1511, allocations: 3.938 kB / 366 MB, free: 13.62 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.01172/0.1628, allocations: 4.594 MB / 370.5 MB, free: 8.965 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1629, allocations: 12.03 kB / 370.6 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01363/0.1765, allocations: 2.402 MB / 373 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005234/0.1818, allocations: 2.337 MB / 375.3 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002794/0.1821, allocations: 361.8 kB / 375.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001212/0.1833, allocations: 480 kB / 376.1 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2253/0.4086, allocations: 6.58 MB / 382.7 MB, free: 30.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001348/0.4088, allocations: 0.625 kB / 382.7 MB, free: 30.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005672/0.4094, allocations: 198.4 kB / 382.9 MB, free: 30.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002914/0.4097, allocations: 231 kB / 383.1 MB, free: 30.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01485/0.4245, allocations: 6.099 MB / 389.2 MB, free: 30.78 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03535/0.4599, allocations: 22.69 MB / 411.9 MB, free: 18.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008061/0.468, allocations: 10.81 MB / 422.7 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005652/0.4737, allocations: 3.575 MB / 426.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.4738, allocations: 38.56 kB / 426.3 MB, free: 2.801 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 3.557e-06/0.4738, allocations: 4 kB / 426.3 MB, free: 2.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009653/0.4748, allocations: 0.6711 MB / 427 MB, free: 2.047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.4748, allocations: 55.41 kB / 427.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/0.4778, allocations: 2.141 MB / 429.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.4779, allocations: 29.7 kB / 429.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001906/0.4798, allocations: 2.374 MB / 431.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.48, allocations: 101.5 kB / 431.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.4801, allocations: 52 kB / 431.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002977/0.4804, allocations: 459.7 kB / 432.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.4817, allocations: 0.8636 MB / 433.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002193/0.4839, allocations: 2.261 MB / 435.3 MB, free: 9.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.4857, allocations: 1.424 MB / 436.7 MB, free: 7.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.202e-05/0.4858, allocations: 16 kB / 436.8 MB, free: 7.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.004485/0.4903, allocations: 3.114 MB / 439.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/0.4903, allocations: 24 kB / 439.9 MB, free: 4.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.356e-05/0.4904, allocations: 56.16 kB / 440 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.937e-05/0.4905, allocations: 72 kB / 440 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.4921, allocations: 0.5759 MB / 440.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-05/0.4922, allocations: 97.33 kB / 440.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.4942, allocations: 400.2 kB / 441.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/0.4943, allocations: 148 kB / 441.2 MB, free: 3.5 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 227 * 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 (312): * Single equations (assignments): 308 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00272/0.4971, allocations: 1.732 MB / 443 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.4973, allocations: 138.2 kB / 443.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005443/0.4979, allocations: 334.1 kB / 443.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002082/0.4981, allocations: 182.6 kB / 443.6 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.4981, allocations: 4 kB / 443.6 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4981, allocations: 0 / 443.6 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004875/0.503, allocations: 3.193 MB / 446.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.503, allocations: 0 / 446.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.46e-05/0.5031, allocations: 8 kB / 446.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.5031, allocations: 11.97 kB / 446.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.5031, allocations: 10.73 kB / 446.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5031, allocations: 0 / 446.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5032, allocations: 4.078 kB / 446.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006359/0.5038, allocations: 0.5317 MB / 447.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004934/0.5043, allocations: 255.2 kB / 447.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.5044, allocations: 4.375 kB / 447.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/0.5049, allocations: 27.95 kB / 447.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.505, allocations: 11.94 kB / 447.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.505, allocations: 4 kB / 447.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00184/0.5068, allocations: 1.408 MB / 449.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5069, allocations: 0 / 449.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002933/0.5098, allocations: 0.9822 MB / 450.1 MB, free: 10.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002865/0.5101, allocations: 150.1 kB / 450.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002509/0.5126, allocations: 1.578 MB / 451.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5126, allocations: 0 / 451.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.5127, allocations: 83.97 kB / 451.9 MB, free: 8.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.5141, allocations: 311 kB / 452.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/0.5262, allocations: 7.568 MB / 459.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00304/0.5293, allocations: 3.202 MB / 462.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00228/0.5316, allocations: 0.7945 MB / 463.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.5318, allocations: 103.4 kB / 463.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of SimCode: time 1.793e-06/0.5318, allocations: 0 / 463.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of Templates: time 0.03469/0.5665, allocations: 16.95 MB / 480.8 MB, free: 12.08 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: