Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) 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(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009027/0.0009026, allocations: 95.94 kB / 16.3 MB, free: 5.992 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.0009446/0.0009447, allocations: 181.6 kB / 17.2 MB, free: 5.906 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.498/1.498, allocations: 205.4 MB / 223.4 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3378/0.3378, allocations: 38.06 MB / 309.7 MB, free: 8.934 MB / 254.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.0005298/0.0005302, allocations: 12 kB / 376.5 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1378, allocations: 56.34 MB / 432.8 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01141/0.1493, allocations: 9.551 MB / 442.4 MB, free: 13.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008805/0.1581, allocations: 3.852 MB / 446.2 MB, free: 9.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.1598, allocations: 63.56 kB / 446.3 MB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.1609, allocations: 322.1 kB / 446.6 MB, free: 8.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003225/0.1642, allocations: 0.7243 MB / 447.3 MB, free: 8.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.1659, allocations: 463 kB / 447.8 MB, free: 7.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001885/0.1678, allocations: 0.9249 MB / 448.7 MB, free: 6.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002295/0.1701, allocations: 1.318 MB / 450 MB, free: 5.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.1712, allocations: 0.5215 MB / 450.5 MB, free: 4.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008725/0.1721, allocations: 0.5685 MB / 451.1 MB, free: 4.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.1722, allocations: 52 kB / 451.2 MB, free: 4.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009013/0.1731, allocations: 399.4 kB / 451.6 MB, free: 3.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005716/0.1737, allocations: 0.53 MB / 452.1 MB, free: 3.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003159/0.1741, allocations: 265 kB / 452.3 MB, free: 3.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.1755, allocations: 1.418 MB / 453.8 MB, free: 1.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1755, allocations: 0 / 453.8 MB, free: 1.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1755, allocations: 0 / 453.8 MB, free: 1.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.1756, allocations: 4 kB / 453.8 MB, free: 1.672 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.002678/0.1782, allocations: 1.411 MB / 455.2 MB, free: 212 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1783, allocations: 12.03 kB / 455.2 MB, free: 200 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2737/0.452, allocations: 279.3 kB / 455.5 MB, free: 51.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/0.4548, allocations: 0.8863 MB / 456.3 MB, free: 51.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.076e-05/0.4548, allocations: 81.02 kB / 456.4 MB, free: 51.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003357/0.4552, allocations: 135.9 kB / 456.6 MB, free: 51.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.4573, allocations: 1.472 MB / 458 MB, free: 50.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.842e-05/0.4574, allocations: 6.281 kB / 458 MB, free: 50.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.4575, allocations: 41.61 kB / 458.1 MB, free: 50.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002962/0.4578, allocations: 102 kB / 458.2 MB, free: 50.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.4596, allocations: 1.239 MB / 459.4 MB, free: 50.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007738/0.4673, allocations: 5.661 MB / 465.1 MB, free: 48.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009401/0.4683, allocations: 0.5946 MB / 465.7 MB, free: 47.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.333e-05/0.4684, allocations: 11.14 kB / 465.7 MB, free: 47.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.4684, allocations: 46.44 kB / 465.7 MB, free: 47.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=67): time 2.745e-06/0.4684, allocations: 3.188 kB / 465.7 MB, free: 47.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.006276/0.4747, allocations: 3.527 MB / 469.3 MB, free: 46.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.4747, allocations: 84.08 kB / 469.3 MB, free: 45.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007681/0.4755, allocations: 0.728 MB / 470.1 MB, free: 45.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/0.4756, allocations: 37.02 kB / 470.1 MB, free: 45.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/0.4759, allocations: 0.591 MB / 470.7 MB, free: 45.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.476, allocations: 263.6 kB / 471 MB, free: 44.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.4761, allocations: 19.41 kB / 471 MB, free: 44.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4762, allocations: 403.6 kB / 471.4 MB, free: 44.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/0.4767, allocations: 387.8 kB / 471.7 MB, free: 44.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005631/0.4773, allocations: 0.6492 MB / 472.4 MB, free: 43.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005978/0.4779, allocations: 0.5051 MB / 472.9 MB, free: 43.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.4779, allocations: 2.875 kB / 472.9 MB, free: 43.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002781/0.4807, allocations: 1.706 MB / 474.6 MB, free: 43.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.4807, allocations: 9.75 kB / 474.6 MB, free: 43.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002234/0.4829, allocations: 1.303 MB / 475.9 MB, free: 42.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/0.4846, allocations: 0.5629 MB / 476.5 MB, free: 42.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/0.4852, allocations: 177.7 kB / 476.7 MB, free: 42.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009243/0.4944, allocations: 9.619 MB / 486.3 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.4955, allocations: 49.73 kB / 486.3 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.086e-05/0.4956, allocations: 43.91 kB / 486.4 MB, free: 35.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006878/0.4963, allocations: 378.8 kB / 486.7 MB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.4964, allocations: 97.53 kB / 486.8 MB, free: 35.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/0.4984, allocations: 1.25 MB / 488.1 MB, free: 34.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.4984, allocations: 8.656 kB / 488.1 MB, free: 34.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.4984, allocations: 3.062 kB / 488.1 MB, free: 34.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.4985, allocations: 3.422 kB / 488.1 MB, free: 34.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003759/0.5022, allocations: 2.396 MB / 490.5 MB, free: 33.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.5022, allocations: 3.469 kB / 490.5 MB, free: 33.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004304/0.5027, allocations: 111 kB / 490.6 MB, free: 33.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009458/0.5036, allocations: 379 kB / 491 MB, free: 33.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.522e-05/0.5037, allocations: 30.95 kB / 491 MB, free: 33.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006674/0.5104, allocations: 8.577 MB / 499.6 MB, free: 26.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5104, allocations: 1.438 kB / 499.6 MB, free: 26.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003042/0.5135, allocations: 1.77 MB / 0.4896 GB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006578/0.5141, allocations: 231.7 kB / 0.4898 GB, free: 24.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.5143, allocations: 25.81 kB / 0.4898 GB, free: 24.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004762/0.5148, allocations: 29.11 kB / 0.4899 GB, free: 24.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/0.515, allocations: 61.39 kB / 0.4899 GB, free: 24.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/0.515, allocations: 28.48 kB / 0.49 GB, free: 24.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008744/0.5159, allocations: 0.4987 MB / 0.4904 GB, free: 24.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5159, allocations: 0 / 0.4904 GB, free: 24.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0017/0.5176, allocations: 364.6 kB / 0.4908 GB, free: 24.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003729/0.518, allocations: 145.2 kB / 0.4909 GB, free: 24.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002627/0.5206, allocations: 1.576 MB / 0.4925 GB, free: 23.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5207, allocations: 0 / 0.4925 GB, free: 23.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.5221, allocations: 1.087 MB / 0.4935 GB, free: 22.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008875/0.523, allocations: 188.6 kB / 0.4937 GB, free: 22.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00521/0.5282, allocations: 3.292 MB / 0.4969 GB, free: 21.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/0.5295, allocations: 1.282 MB / 0.4982 GB, free: 20.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008681/0.5304, allocations: 218.6 kB / 0.4984 GB, free: 20.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.5306, allocations: 68.47 kB / 0.4985 GB, free: 20.18 MB / 382.1 MB Notification: Performance of SimCode: time 9.01e-07/0.5306, allocations: 0 / 0.4985 GB, free: 20.18 MB / 382.1 MB Notification: Performance of Templates: time 0.03073/0.5613, allocations: 14.03 MB / 0.5122 GB, free: 15.2 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) Environment - environmentSimulation: