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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008255/0.0008255, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004297/0.004297, allocations: 158.4 kB / 24.7 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8756/0.8756, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2373/0.2373, allocations: 29.42 MB / 290.8 MB, free: 2.434 MB / 266.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 9.32e-07/9.32e-07, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.538e-05, allocations: 10.22 kB / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.00561/0.005625, allocations: 7.101 MB / 438.6 MB, free: 5.949 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.008309, allocations: 2.828 MB / 441.4 MB, free: 3.113 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.008529, allocations: 35.69 kB / 441.5 MB, free: 3.078 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.009568, allocations: 0.7076 MB / 442.2 MB, free: 2.367 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007793/0.01035, allocations: 0.7264 MB / 442.9 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.01075, allocations: 394.9 kB / 443.3 MB, free: 1.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1402/0.1509, allocations: 1.389 MB / 444.7 MB, free: 44.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007739/0.1517, allocations: 0.5467 MB / 445.2 MB, free: 44.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000756/0.1524, allocations: 0.7616 MB / 446 MB, free: 44.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005434/0.153, allocations: 0.5873 MB / 446.6 MB, free: 44.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.831e-05/0.1531, allocations: 73.75 kB / 446.6 MB, free: 44.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005579/0.1536, allocations: 0.5007 MB / 447.1 MB, free: 44.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.1538, allocations: 475.1 kB / 447.6 MB, free: 44.06 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.154, allocations: 358.8 kB / 447.9 MB, free: 44.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008996/0.1549, allocations: 1.449 MB / 449.4 MB, free: 43.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.1549, allocations: 0 / 449.4 MB, free: 43.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1549, allocations: 0 / 449.4 MB, free: 43.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.1549, allocations: 2.875 kB / 449.4 MB, free: 43.93 MB / 410.7 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.001232/0.1562, allocations: 1.221 MB / 450.6 MB, free: 43.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.1562, allocations: 13.48 kB / 450.6 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006409/0.1568, allocations: 227.6 kB / 450.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008/0.1576, allocations: 0.6675 MB / 451.5 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.1577, allocations: 58.31 kB / 451.6 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.1578, allocations: 103.9 kB / 451.7 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008575/0.1587, allocations: 1.097 MB / 452.8 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.1587, allocations: 10.66 kB / 452.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.021e-05/0.1588, allocations: 33.81 kB / 452.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.949e-05/0.1588, allocations: 69.78 kB / 452.9 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007503/0.1596, allocations: 0.8662 MB / 453.8 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.1619, allocations: 3.514 MB / 457.3 MB, free: 40.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/0.1623, allocations: 339.3 kB / 457.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.1625, allocations: 258.5 kB / 457.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1625, allocations: 7.406 kB / 457.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.1625, allocations: 39.12 kB / 457.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 2.023e-06/0.1625, allocations: 0 / 457.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=51): time 0.001602/0.1641, allocations: 1.664 MB / 459.6 MB, free: 39.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.1642, allocations: 88.02 kB / 459.6 MB, free: 39.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.1645, allocations: 0.5287 MB / 460.2 MB, free: 39.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1645, allocations: 33.83 kB / 460.2 MB, free: 39.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.1646, allocations: 490.6 kB / 460.7 MB, free: 38.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/0.1647, allocations: 199.9 kB / 460.9 MB, free: 38.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.1648, allocations: 134.9 kB / 461 MB, free: 38.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.974e-05/0.1648, allocations: 374.6 kB / 461.4 MB, free: 38.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.1651, allocations: 255.8 kB / 461.6 MB, free: 38.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/0.1653, allocations: 476.2 kB / 462.1 MB, free: 37.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/0.1659, allocations: 0.775 MB / 462.9 MB, free: 37.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1659, allocations: 4 kB / 462.9 MB, free: 37.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00106/0.1669, allocations: 1.03 MB / 463.9 MB, free: 37.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.167, allocations: 12.75 kB / 463.9 MB, free: 37.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006874/0.1676, allocations: 0.7215 MB / 464.6 MB, free: 36.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000387/0.168, allocations: 218.2 kB / 464.9 MB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.1683, allocations: 154.7 kB / 465 MB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/0.1709, allocations: 5.258 MB / 470.3 MB, free: 32.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.1711, allocations: 38.58 kB / 470.3 MB, free: 32.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.1711, allocations: 35.88 kB / 470.3 MB, free: 32.58 MB / 410.7 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.0002166/0.1713, allocations: 300.2 kB / 470.6 MB, free: 32.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.1714, allocations: 68.22 kB / 470.7 MB, free: 32.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000507/0.1719, allocations: 0.6071 MB / 471.3 MB, free: 32.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1719, allocations: 6.125 kB / 471.3 MB, free: 32.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.1719, allocations: 10.91 kB / 471.3 MB, free: 32.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1719, allocations: 7.359 kB / 471.3 MB, free: 32.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.1731, allocations: 1.279 MB / 472.6 MB, free: 31.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-06/0.1731, allocations: 6.938 kB / 472.6 MB, free: 31.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.1734, allocations: 129.7 kB / 472.7 MB, free: 31.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1734, allocations: 6.812 kB / 472.7 MB, free: 31.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.1734, allocations: 14.38 kB / 472.8 MB, free: 31.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1734, allocations: 4.719 kB / 472.8 MB, free: 31.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1734, allocations: 0 / 472.8 MB, free: 31.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006524/0.174, allocations: 0.9283 MB / 473.7 MB, free: 31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.1742, allocations: 101.8 kB / 473.8 MB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.1742, allocations: 18.09 kB / 473.8 MB, free: 30.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.1743, allocations: 23.09 kB / 473.8 MB, free: 30.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-05/0.1744, allocations: 38.06 kB / 473.9 MB, free: 30.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.1744, allocations: 16.59 kB / 473.9 MB, free: 30.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002127/0.1746, allocations: 365.8 kB / 474.2 MB, free: 30.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1746, allocations: 0 / 474.2 MB, free: 30.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004617/0.1751, allocations: 234.7 kB / 474.5 MB, free: 30.74 MB / 410.7 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.0002022/0.1753, allocations: 138.5 kB / 474.6 MB, free: 30.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008007/0.1761, allocations: 1.015 MB / 475.6 MB, free: 30.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1761, allocations: 0 / 475.6 MB, free: 30.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.1763, allocations: 252.6 kB / 475.9 MB, free: 30.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.1767, allocations: 139.2 kB / 476 MB, free: 29.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.1783, allocations: 1.95 MB / 478 MB, free: 28.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.1786, allocations: 480.5 kB / 478.4 MB, free: 28.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.1787, allocations: 65.38 kB / 478.5 MB, free: 28.78 MB / 410.7 MB Notification: Performance of SimCode: time 7.42e-07/0.1787, allocations: 0 / 478.5 MB, free: 28.78 MB / 410.7 MB Notification: Performance of Templates: time 0.01346/0.1922, allocations: 15.56 MB / 494 MB, free: 27.26 MB / 410.7 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: 5.765037423931062] Failed to read output from testmodel.py, exit status != 0: 0.19695200491696596 0.20491561600000002 0.048049111000000005 Calling exit ...