Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 116 kB / 16.51 MB, free: 6.672 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.001217/0.001217, allocations: 201.2 kB / 17.43 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 241.1 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1796/0.1796, allocations: 38.02 MB / 329.3 MB, free: 8.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.2 kB / 398.1 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09769/0.09894, allocations: 58.06 MB / 456.1 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.009531/0.1085, allocations: 8.748 MB / 464.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005335/0.1139, allocations: 3.384 MB / 468.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008136/0.1147, allocations: 55.69 kB / 468.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.1167, allocations: 0.681 MB / 469 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00176/0.1185, allocations: 0.6341 MB / 469.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008895/0.1194, allocations: 331.4 kB / 470 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002092/0.1215, allocations: 2 MB / 472 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009722/0.1225, allocations: 0.6659 MB / 472.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007537/0.1232, allocations: 485.9 kB / 473.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.1245, allocations: 0.6618 MB / 473.8 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.1246, allocations: 56 kB / 473.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008005/0.1254, allocations: 483 kB / 474.3 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003801/0.1258, allocations: 434.9 kB / 474.7 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004921/0.1263, allocations: 493.5 kB / 475.2 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.1277, allocations: 1.375 MB / 476.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1277, allocations: 0 / 476.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1277, allocations: 3.984 kB / 476.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1277, allocations: 0 / 476.6 MB, free: 3.984 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002154/0.1299, allocations: 1.273 MB / 477.9 MB, free: 2.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1299, allocations: 12.03 kB / 477.9 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.1311, allocations: 215.5 kB / 478.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.1324, allocations: 0.7058 MB / 478.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/0.1325, allocations: 62.36 kB / 478.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/0.1327, allocations: 107.8 kB / 479 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.1343, allocations: 1.096 MB / 480 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.1343, allocations: 7.938 kB / 480.1 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.249e-05/0.1344, allocations: 32 kB / 480.1 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/0.1346, allocations: 69.95 kB / 480.2 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.1359, allocations: 0.8704 MB / 481 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005069/0.141, allocations: 4.001 MB / 485 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/0.1416, allocations: 438 kB / 485.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/0.142, allocations: 278.9 kB / 485.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.966e-05/0.1421, allocations: 8.438 kB / 485.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.1421, allocations: 35 kB / 485.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.074e-06/0.1421, allocations: 0 / 485.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003126/0.1452, allocations: 1.717 MB / 487.5 MB, free: 8.633 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.1453, allocations: 81.55 kB / 487.6 MB, free: 8.535 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006396/0.146, allocations: 0.59 MB / 488.2 MB, free: 7.934 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.146, allocations: 37.7 kB / 488.2 MB, free: 7.891 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004108/0.1464, allocations: 466.5 kB / 488.6 MB, free: 7.426 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.1467, allocations: 193.2 kB / 488.8 MB, free: 7.234 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003128/0.147, allocations: 138.6 kB / 489 MB, free: 7.094 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1471, allocations: 386.7 kB / 489.4 MB, free: 6.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004686/0.1476, allocations: 249.8 kB / 489.6 MB, free: 6.465 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005188/0.1481, allocations: 473 kB / 490.1 MB, free: 5.906 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.1492, allocations: 0.782 MB / 490.8 MB, free: 5.027 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1492, allocations: 0 / 490.8 MB, free: 5.027 MB / 366.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002138/0.1514, allocations: 1.114 MB / 492 MB, free: 3.879 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.1514, allocations: 8 kB / 492 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001493/0.1529, allocations: 0.7998 MB / 492.8 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008807/0.1538, allocations: 230.4 kB / 493 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/0.1543, allocations: 151.7 kB / 493.1 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006908/0.1613, allocations: 5.237 MB / 498.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006377/0.1619, allocations: 35.97 kB / 498.4 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.781e-05/0.162, allocations: 32 kB / 498.4 MB, free: 12.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0005187/0.1625, allocations: 314.2 kB / 498.7 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.1627, allocations: 67.16 kB / 498.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.1638, allocations: 0.6046 MB / 499.4 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.1638, allocations: 15.92 kB / 499.4 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1638, allocations: 0 / 499.4 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.1638, allocations: 7.922 kB / 499.4 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/0.1664, allocations: 1.486 MB / 0.4892 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.1664, allocations: 0 / 0.4892 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006045/0.167, allocations: 131.8 kB / 0.4893 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.167, allocations: 4.156 kB / 0.4893 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/0.1671, allocations: 12 kB / 0.4893 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.1671, allocations: 4.281 kB / 0.4893 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.1671, allocations: 4 kB / 0.4893 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.1683, allocations: 0.931 MB / 0.4902 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/0.1686, allocations: 188.1 kB / 0.4904 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.1687, allocations: 16 kB / 0.4904 GB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.1691, allocations: 15.98 kB / 0.4905 GB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.1691, allocations: 36.39 kB / 0.4905 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.1692, allocations: 23.88 kB / 0.4905 GB, free: 8.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004939/0.1697, allocations: 427 kB / 0.4909 GB, free: 8.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1697, allocations: 0 / 0.4909 GB, free: 8.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008152/0.1705, allocations: 232 kB / 0.4911 GB, free: 8.324 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000314/0.1708, allocations: 142.1 kB / 0.4913 GB, free: 8.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00175/0.1726, allocations: 1.034 MB / 0.4923 GB, free: 7.105 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.1726, allocations: 4.062 kB / 0.4923 GB, free: 7.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003869/0.173, allocations: 258.3 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008528/0.1739, allocations: 146.2 kB / 0.4927 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/0.1774, allocations: 2.412 MB / 0.495 GB, free: 4.258 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008295/0.1783, allocations: 1.079 MB / 0.4961 GB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005616/0.1788, allocations: 185.9 kB / 0.4963 GB, free: 2.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.179, allocations: 63.42 kB / 0.4963 GB, free: 2.906 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.179, allocations: 0 / 0.4963 GB, free: 2.906 MB / 382.1 MB Notification: Performance of Templates: time 0.2189/0.3979, allocations: 8.831 MB / 0.5049 GB, free: 54.38 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1)