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 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.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.001669/0.001669, allocations: 111.4 kB / 17.29 MB, free: 6.219 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.001966/0.001966, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.206/2.206, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1847/0.1847, allocations: 38.02 MB / 330 MB, free: 8.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 60.2 kB / 398.9 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.11, allocations: 58.07 MB / 457 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01323/0.1233, allocations: 11.19 MB / 468.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008077/0.1314, allocations: 4.039 MB / 472.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.1332, allocations: 63.62 kB / 472.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003281/0.1366, allocations: 1.043 MB / 473.3 MB, free: 8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002829/0.1394, allocations: 0.8209 MB / 474.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.1409, allocations: 427.3 kB / 474.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002775/0.1437, allocations: 1.812 MB / 476.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.1455, allocations: 1.04 MB / 477.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.1469, allocations: 0.7704 MB / 478.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.1482, allocations: 0.9657 MB / 479.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.1484, allocations: 107.9 kB / 479.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.1494, allocations: 0.5343 MB / 479.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005784/0.15, allocations: 0.643 MB / 480.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007379/0.1508, allocations: 0.6998 MB / 481.1 MB, free: 148 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.1524, allocations: 1.469 MB / 482.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1525, allocations: 0 / 482.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1525, allocations: 0 / 482.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.672e-05/0.1525, allocations: 0 / 482.6 MB, free: 14.67 MB / 366.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.00298/0.1555, allocations: 1.625 MB / 484.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1555, allocations: 11.89 kB / 484.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.1572, allocations: 271.1 kB / 484.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.1591, allocations: 0.9061 MB / 485.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.859e-05/0.1591, allocations: 82.09 kB / 485.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003147/0.1595, allocations: 135.9 kB / 485.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.1619, allocations: 1.486 MB / 487.1 MB, free: 9.996 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.728e-05/0.1619, allocations: 11.84 kB / 487.1 MB, free: 9.984 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.162, allocations: 43.98 kB / 487.2 MB, free: 9.941 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002942/0.1623, allocations: 102.2 kB / 487.3 MB, free: 9.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.1644, allocations: 1.258 MB / 488.5 MB, free: 8.574 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008038/0.1724, allocations: 5.656 MB / 494.2 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000879/0.1734, allocations: 0.5937 MB / 494.8 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005558/0.1739, allocations: 395.3 kB / 495.2 MB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-05/0.174, allocations: 16.55 kB / 495.2 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.174, allocations: 43.12 kB / 495.2 MB, free: 1.492 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 2.826e-06/0.174, allocations: 0 / 495.2 MB, free: 1.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.007706/0.1818, allocations: 3.634 MB / 498.9 MB, free: 13.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.1818, allocations: 93.64 kB / 499 MB, free: 13.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009713/0.1828, allocations: 0.7351 MB / 499.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.279e-05/0.1829, allocations: 41.7 kB / 499.7 MB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004088/0.1833, allocations: 0.588 MB / 0.4886 GB, free: 12.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/0.1836, allocations: 260.3 kB / 0.4888 GB, free: 11.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002626/0.1838, allocations: 182.5 kB / 0.489 GB, free: 11.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.184, allocations: 410.7 kB / 0.4894 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000579/0.1846, allocations: 385.8 kB / 0.4898 GB, free: 10.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007716/0.1854, allocations: 0.6613 MB / 0.4904 GB, free: 10.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.1869, allocations: 1.148 MB / 0.4915 GB, free: 8.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.1869, allocations: 3.938 kB / 0.4915 GB, free: 8.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003762/0.1907, allocations: 1.705 MB / 0.4932 GB, free: 7.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.1907, allocations: 8 kB / 0.4932 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002767/0.1935, allocations: 1.311 MB / 0.4945 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001908/0.1954, allocations: 0.5885 MB / 0.4951 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006253/0.1961, allocations: 171.7 kB / 0.4952 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/0.2083, allocations: 10.37 MB / 0.5054 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009214/0.2092, allocations: 47.95 kB / 0.5054 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.848e-05/0.2093, allocations: 40 kB / 0.5054 GB, free: 10.05 MB / 398.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.0006801/0.21, allocations: 384.4 kB / 0.5058 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.2102, allocations: 90.88 kB / 0.5059 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.2125, allocations: 1.248 MB / 0.5071 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.2125, allocations: 8 kB / 0.5071 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.2125, allocations: 4 kB / 0.5071 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.2126, allocations: 7.984 kB / 0.5071 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004531/0.2171, allocations: 2.4 MB / 0.5095 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/0.2171, allocations: 3.984 kB / 0.5095 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004765/0.2176, allocations: 111.8 kB / 0.5096 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/0.2187, allocations: 376 kB / 0.51 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.591e-05/0.2188, allocations: 27.98 kB / 0.51 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2531/0.4719, allocations: 9.279 MB / 0.519 GB, free: 66.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.472, allocations: 7.453 kB / 0.519 GB, free: 66.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002879/0.4749, allocations: 1.673 MB / 0.5207 GB, free: 65.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/0.4754, allocations: 231 kB / 0.5209 GB, free: 65.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.4755, allocations: 31.09 kB / 0.5209 GB, free: 65.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/0.476, allocations: 31.03 kB / 0.521 GB, free: 65.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.4762, allocations: 58.45 kB / 0.521 GB, free: 65.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.346e-05/0.4762, allocations: 29.42 kB / 0.521 GB, free: 65.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007177/0.477, allocations: 0.504 MB / 0.5215 GB, free: 65.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.477, allocations: 0 / 0.5215 GB, free: 65.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001406/0.4784, allocations: 362.9 kB / 0.5219 GB, free: 65.62 MB / 398.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.0003294/0.4787, allocations: 151.7 kB / 0.522 GB, free: 65.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002809/0.4815, allocations: 1.767 MB / 0.5238 GB, free: 64.69 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.4816, allocations: 3.031 kB / 0.5238 GB, free: 64.69 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.4831, allocations: 1.087 MB / 0.5248 GB, free: 63.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.4842, allocations: 214.7 kB / 0.525 GB, free: 63.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004913/0.4891, allocations: 3.321 MB / 0.5283 GB, free: 62.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.4902, allocations: 1.254 MB / 0.5295 GB, free: 61.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.4904, allocations: 73.23 kB / 0.5296 GB, free: 61.25 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4904, allocations: 4 kB / 0.5296 GB, free: 61.25 MB / 398.1 MB Notification: Performance of Templates: time 0.03563/0.5261, allocations: 32.73 MB / 0.5615 GB, free: 37.95 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile (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)