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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 120.9 kB / 18.41 MB, free: 4.684 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.001359/0.001359, allocations: 191 kB / 21.35 MB, free: 1.754 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.44/1.44, allocations: 222.9 MB / 247 MB, free: 4.238 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.2889, allocations: 37.99 MB / 337.2 MB, free: 12.96 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.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 68.75 kB / 467.5 MB, free: 27.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1046, allocations: 58.07 MB / 0.5133 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01151/0.1162, allocations: 9.557 MB / 0.5226 GB, free: 176 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006279/0.1225, allocations: 3.556 MB / 0.5261 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007216/0.1233, allocations: 35.81 kB / 0.5261 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.1261, allocations: 1.101 MB / 0.5272 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002423/0.1285, allocations: 0.8942 MB / 0.5281 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.1298, allocations: 479 kB / 0.5285 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002516/0.1323, allocations: 1.808 MB / 0.5303 GB, free: 8.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.1336, allocations: 0.966 MB / 0.5312 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.1348, allocations: 0.7743 MB / 0.532 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.1362, allocations: 0.8877 MB / 0.5329 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001859/0.1364, allocations: 104 kB / 0.533 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.1374, allocations: 0.5381 MB / 0.5335 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006426/0.1381, allocations: 0.643 MB / 0.5341 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008066/0.1389, allocations: 0.6997 MB / 0.5348 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002382/0.1413, allocations: 1.911 MB / 0.5367 GB, free: 1.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.1413, allocations: 0 / 0.5367 GB, free: 1.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1413, allocations: 3.938 kB / 0.5367 GB, free: 1.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.61e-05/0.1414, allocations: 4 kB / 0.5367 GB, free: 1.711 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.003097/0.1445, allocations: 1.666 MB / 0.5383 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1445, allocations: 15.89 kB / 0.5383 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/0.1461, allocations: 271.8 kB / 0.5386 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.1481, allocations: 0.9574 MB / 0.5395 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.1481, allocations: 78.11 kB / 0.5396 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003231/0.1485, allocations: 143.8 kB / 0.5397 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.1508, allocations: 1.489 MB / 0.5412 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.702e-05/0.1509, allocations: 4 kB / 0.5412 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.151, allocations: 43.98 kB / 0.5412 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002996/0.1513, allocations: 102.2 kB / 0.5413 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/0.1534, allocations: 1.254 MB / 0.5425 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008004/0.1614, allocations: 5.642 MB / 0.548 GB, free: 5.539 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009691/0.1624, allocations: 0.5937 MB / 0.5486 GB, free: 4.922 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000585/0.163, allocations: 407.2 kB / 0.549 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.636e-05/0.163, allocations: 12.55 kB / 0.549 GB, free: 4.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.1631, allocations: 47.12 kB / 0.5491 GB, free: 4.453 MB / 414.1 MB Notification: Performance of pre-optimization done (n=67): time 2.485e-06/0.1631, allocations: 0 / 0.5491 GB, free: 4.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.007733/0.1708, allocations: 3.657 MB / 0.5526 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.1709, allocations: 97.67 kB / 0.5527 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009381/0.1719, allocations: 0.7352 MB / 0.5535 GB, free: 15.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/0.1719, allocations: 41.7 kB / 0.5535 GB, free: 15.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005338/0.1725, allocations: 0.6052 MB / 0.5541 GB, free: 15.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.1727, allocations: 277.6 kB / 0.5544 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.173, allocations: 182.6 kB / 0.5545 GB, free: 14.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.1733, allocations: 406.7 kB / 0.5549 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006334/0.1739, allocations: 389.8 kB / 0.5553 GB, free: 13.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.1749, allocations: 0.6574 MB / 0.5559 GB, free: 13.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001884/0.1768, allocations: 1.148 MB / 0.557 GB, free: 11.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.1768, allocations: 4 kB / 0.5571 GB, free: 11.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003696/0.1805, allocations: 1.71 MB / 0.5587 GB, free: 10.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.1806, allocations: 8 kB / 0.5587 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002962/0.1835, allocations: 1.317 MB / 0.56 GB, free: 8.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/0.1855, allocations: 0.5718 MB / 0.5606 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006465/0.1861, allocations: 175.7 kB / 0.5607 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/0.2002, allocations: 10.36 MB / 0.5709 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007631/0.201, allocations: 59.91 kB / 0.5709 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.322e-05/0.2011, allocations: 40 kB / 0.571 GB, free: 12.96 MB / 446.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 (93): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0006703/0.2018, allocations: 382.1 kB / 0.5713 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.2019, allocations: 91.39 kB / 0.5714 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/0.2045, allocations: 1.248 MB / 0.5726 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.2045, allocations: 16.08 kB / 0.5726 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.2045, allocations: 8.062 kB / 0.5726 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.2046, allocations: 3.984 kB / 0.5726 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004441/0.209, allocations: 2.401 MB / 0.575 GB, free: 8.684 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.209, allocations: 0 / 0.575 GB, free: 8.684 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/0.2095, allocations: 107.9 kB / 0.5751 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/0.2108, allocations: 376 kB / 0.5755 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.584e-05/0.2108, allocations: 27.98 kB / 0.5755 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2056/0.4165, allocations: 9.279 MB / 0.5845 GB, free: 62.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.4165, allocations: 2.219 kB / 0.5845 GB, free: 62.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/0.4193, allocations: 1.685 MB / 0.5862 GB, free: 62.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/0.4197, allocations: 236.7 kB / 0.5864 GB, free: 62.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.4198, allocations: 27.91 kB / 0.5864 GB, free: 62.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004411/0.4202, allocations: 27.56 kB / 0.5865 GB, free: 62.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.4204, allocations: 65.25 kB / 0.5865 GB, free: 62.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/0.4205, allocations: 23.69 kB / 0.5866 GB, free: 62.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006579/0.4211, allocations: 0.506 MB / 0.587 GB, free: 62.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4211, allocations: 0 / 0.587 GB, free: 62.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001341/0.4225, allocations: 371.5 kB / 0.5874 GB, free: 62.38 MB / 446.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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002823/0.4228, allocations: 142.3 kB / 0.5875 GB, free: 62.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002329/0.4251, allocations: 1.593 MB / 0.5891 GB, free: 61.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.4251, allocations: 0.9375 kB / 0.5891 GB, free: 61.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001458/0.4266, allocations: 1.094 MB / 0.5902 GB, free: 60.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.4277, allocations: 212.9 kB / 0.5904 GB, free: 60.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004015/0.4317, allocations: 2.829 MB / 0.5931 GB, free: 59.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008974/0.4327, allocations: 1.26 MB / 0.5944 GB, free: 58.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.4329, allocations: 69.27 kB / 0.5944 GB, free: 58.61 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4329, allocations: 0 / 0.5944 GB, free: 58.61 MB / 446.1 MB Notification: Performance of Templates: time 0.03182/0.4647, allocations: 32.83 MB / 0.6265 GB, free: 36.91 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.949293070938438] Failed to read output from testmodel.py, exit status != 0: 0.4707286859629676 0.478967432 0.33584199600000003 Calling exit ...