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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001254, allocations: 117 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 186.9 kB / 21.34 MB, free: 1.738 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 247.1 MB, free: 4.34 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2888/0.2888, allocations: 38.01 MB / 337.2 MB, free: 13.01 MB / 270.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 68.02 kB / 467.5 MB, free: 27.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1045, allocations: 58.07 MB / 0.5133 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.009737/0.1143, allocations: 7.519 MB / 0.5206 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005048/0.1194, allocations: 2.976 MB / 0.5235 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000554/0.12, allocations: 27.81 kB / 0.5236 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.122, allocations: 0.7273 MB / 0.5243 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.1237, allocations: 0.6959 MB / 0.5249 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009351/0.1247, allocations: 371.2 kB / 0.5253 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001787/0.1265, allocations: 1.348 MB / 0.5266 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009362/0.1274, allocations: 0.7169 MB / 0.5273 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007708/0.1282, allocations: 0.5565 MB / 0.5279 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009304/0.1292, allocations: 0.6228 MB / 0.5285 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.1293, allocations: 76 kB / 0.5285 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008966/0.1302, allocations: 483.1 kB / 0.529 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004477/0.1307, allocations: 450.9 kB / 0.5294 GB, free: 9.141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000566/0.1313, allocations: 0.5092 MB / 0.5299 GB, free: 8.629 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.133, allocations: 1.428 MB / 0.5313 GB, free: 7.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.133, allocations: 0 / 0.5313 GB, free: 7.195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.133, allocations: 3.938 kB / 0.5313 GB, free: 7.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.1331, allocations: 0 / 0.5313 GB, free: 7.191 MB / 398.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.00231/0.1354, allocations: 1.307 MB / 0.5326 GB, free: 5.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1354, allocations: 11.89 kB / 0.5326 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.1367, allocations: 208.1 kB / 0.5328 GB, free: 5.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.1382, allocations: 0.757 MB / 0.5336 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.548e-05/0.1383, allocations: 58.38 kB / 0.5336 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002289/0.1385, allocations: 103.8 kB / 0.5337 GB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.1402, allocations: 1.096 MB / 0.5348 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/0.1403, allocations: 7.953 kB / 0.5348 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.65e-05/0.1403, allocations: 28 kB / 0.5348 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001696/0.1405, allocations: 77.95 kB / 0.5349 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.142, allocations: 0.8665 MB / 0.5357 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005412/0.1474, allocations: 3.982 MB / 0.5396 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00065/0.1481, allocations: 431.8 kB / 0.54 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004201/0.1485, allocations: 282.9 kB / 0.5403 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.1485, allocations: 8.422 kB / 0.5403 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.1486, allocations: 43 kB / 0.5404 GB, free: 13.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 1.884e-06/0.1486, allocations: 0 / 0.5404 GB, free: 13.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=51): time 0.003103/0.1517, allocations: 1.739 MB / 0.5421 GB, free: 11.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.1518, allocations: 81.55 kB / 0.5421 GB, free: 11.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007313/0.1525, allocations: 0.5938 MB / 0.5427 GB, free: 11.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.1526, allocations: 33.64 kB / 0.5427 GB, free: 11.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/0.153, allocations: 483.8 kB / 0.5432 GB, free: 10.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.1531, allocations: 194.3 kB / 0.5434 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.1533, allocations: 138.6 kB / 0.5435 GB, free: 10.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.1535, allocations: 378.8 kB / 0.5439 GB, free: 9.832 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/0.154, allocations: 257.8 kB / 0.5441 GB, free: 9.578 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005838/0.1546, allocations: 477 kB / 0.5446 GB, free: 9.016 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.1556, allocations: 0.7741 MB / 0.5453 GB, free: 8.148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.1556, allocations: 4 kB / 0.5453 GB, free: 8.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002057/0.1577, allocations: 1.115 MB / 0.5464 GB, free: 6.992 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1577, allocations: 8 kB / 0.5464 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001457/0.1592, allocations: 0.7953 MB / 0.5472 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007208/0.1599, allocations: 226.2 kB / 0.5474 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/0.1605, allocations: 155.7 kB / 0.5476 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006118/0.1666, allocations: 5.68 MB / 0.5531 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005837/0.1672, allocations: 36.05 kB / 0.5532 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-05/0.1673, allocations: 35.98 kB / 0.5532 GB, free: 15.6 MB / 430.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.000453/0.1677, allocations: 305.4 kB / 0.5535 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.1679, allocations: 71.53 kB / 0.5536 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.1689, allocations: 0.6008 MB / 0.5541 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.1689, allocations: 12 kB / 0.5542 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1689, allocations: 0 / 0.5542 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.1689, allocations: 3.984 kB / 0.5542 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.1714, allocations: 1.487 MB / 0.5556 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1714, allocations: 0 / 0.5556 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006208/0.1721, allocations: 131.9 kB / 0.5557 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.1721, allocations: 7.938 kB / 0.5557 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.707e-05/0.1721, allocations: 15.94 kB / 0.5558 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.1721, allocations: 7.938 kB / 0.5558 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1722, allocations: 4 kB / 0.5558 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.1735, allocations: 0.9365 MB / 0.5567 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/0.1737, allocations: 184.5 kB / 0.5569 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.1739, allocations: 27.97 kB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.1742, allocations: 19.98 kB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.1743, allocations: 32.39 kB / 0.5569 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.1743, allocations: 16 kB / 0.557 GB, free: 11.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005186/0.1748, allocations: 419 kB / 0.5574 GB, free: 11.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1748, allocations: 0 / 0.5574 GB, free: 11.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008082/0.1757, allocations: 235.9 kB / 0.5576 GB, free: 10.97 MB / 430.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.000268/0.1759, allocations: 146.6 kB / 0.5577 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.1776, allocations: 1.041 MB / 0.5587 GB, free: 9.746 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.1776, allocations: 5.312 kB / 0.5587 GB, free: 9.742 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004012/0.1781, allocations: 258.6 kB / 0.559 GB, free: 9.492 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007766/0.1788, allocations: 157.8 kB / 0.5591 GB, free: 9.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.1822, allocations: 2.147 MB / 0.5612 GB, free: 7.141 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000802/0.183, allocations: 1.082 MB / 0.5623 GB, free: 6.027 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.1832, allocations: 63.42 kB / 0.5623 GB, free: 5.965 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1832, allocations: 0 / 0.5623 GB, free: 5.965 MB / 430.1 MB Notification: Performance of Templates: time 0.02086/0.2041, allocations: 15.31 MB / 0.5773 GB, free: 6.66 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.447971491958015] Failed to read output from testmodel.py, exit status != 0: 0.21064047806430608 0.411547407 0.276087435 Calling exit ...