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.001543/0.001543, allocations: 114.7 kB / 17.28 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.001754/0.001754, 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 1.432/1.432, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1775/0.1775, allocations: 38.03 MB / 330.1 MB, free: 8.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 62.91 kB / 398.9 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1161, allocations: 58.06 MB / 457 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.01078/0.1269, allocations: 8.756 MB / 465.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006114/0.1331, allocations: 3.342 MB / 469.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009417/0.134, allocations: 51.69 kB / 469.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002048/0.1361, allocations: 0.6888 MB / 469.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.138, allocations: 0.6302 MB / 470.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009799/0.139, allocations: 335.4 kB / 470.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001871/0.1409, allocations: 1.356 MB / 472.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.142, allocations: 0.7599 MB / 472.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.1431, allocations: 0.5564 MB / 473.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009362/0.144, allocations: 0.6658 MB / 474.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.1442, allocations: 80 kB / 474.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008238/0.145, allocations: 483.1 kB / 474.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004129/0.1454, allocations: 450.9 kB / 475.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000536/0.146, allocations: 0.5092 MB / 475.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.1472, allocations: 1.084 MB / 476.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.1473, allocations: 0 / 476.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1473, allocations: 7.938 kB / 476.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.1473, allocations: 0 / 476.7 MB, free: 4.617 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.002229/0.1495, allocations: 1.27 MB / 478 MB, free: 3.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1496, allocations: 15.89 kB / 478 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.1508, allocations: 207.5 kB / 478.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.1523, allocations: 0.7058 MB / 478.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.064e-05/0.1524, allocations: 58.38 kB / 479 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002308/0.1526, allocations: 107.8 kB / 479.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.1543, allocations: 1.1 MB / 480.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/0.1543, allocations: 7.984 kB / 480.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.112e-05/0.1544, allocations: 35.98 kB / 480.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/0.1546, allocations: 65.97 kB / 480.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.156, allocations: 0.8704 MB / 481.2 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005456/0.1614, allocations: 4.001 MB / 485.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006374/0.1621, allocations: 435.8 kB / 485.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/0.1625, allocations: 280.8 kB / 485.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.222e-05/0.1625, allocations: 4.438 kB / 485.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.1626, allocations: 39 kB / 485.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 4.418e-06/0.1626, allocations: 0 / 485.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.002934/0.1655, allocations: 1.721 MB / 487.6 MB, free: 9.273 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.1656, allocations: 89.67 kB / 487.7 MB, free: 9.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006572/0.1663, allocations: 0.5859 MB / 488.3 MB, free: 8.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.1663, allocations: 33.7 kB / 488.3 MB, free: 8.531 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.1666, allocations: 462.5 kB / 488.8 MB, free: 8.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.1668, allocations: 193.3 kB / 489 MB, free: 7.879 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/0.167, allocations: 142.6 kB / 489.1 MB, free: 7.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1671, allocations: 382.7 kB / 489.5 MB, free: 7.348 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.1675, allocations: 249.8 kB / 489.7 MB, free: 7.105 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/0.168, allocations: 480.9 kB / 490.2 MB, free: 6.543 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009396/0.169, allocations: 0.7742 MB / 491 MB, free: 5.672 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.169, allocations: 4 kB / 491 MB, free: 5.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001987/0.171, allocations: 1.117 MB / 492.1 MB, free: 4.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.171, allocations: 11.94 kB / 492.1 MB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001344/0.1724, allocations: 0.7959 MB / 492.9 MB, free: 3.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007099/0.1731, allocations: 222.3 kB / 493.1 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.1736, allocations: 159.8 kB / 493.3 MB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005474/0.1791, allocations: 5.654 MB / 498.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005867/0.1797, allocations: 39.97 kB / 499 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.138e-05/0.1798, allocations: 35.94 kB / 499 MB, free: 13.14 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.0004367/0.1802, allocations: 302.4 kB / 499.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.1804, allocations: 67.16 kB / 499.4 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009426/0.1813, allocations: 0.6201 MB / 500 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.1813, allocations: 8 kB / 500 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.1813, allocations: 3.984 kB / 500 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1814, allocations: 0 / 500 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/0.1837, allocations: 1.486 MB / 0.4897 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1837, allocations: 4 kB / 0.4897 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006214/0.1843, allocations: 123.9 kB / 0.4898 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.1843, allocations: 4 kB / 0.4898 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.1844, allocations: 20.09 kB / 0.4899 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.1844, allocations: 11.98 kB / 0.4899 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1844, allocations: 0 / 0.4899 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.1856, allocations: 0.9233 MB / 0.4908 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002588/0.1858, allocations: 188.1 kB / 0.491 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.392e-05/0.1859, allocations: 15.91 kB / 0.491 GB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.1863, allocations: 23.98 kB / 0.491 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.1864, allocations: 32.33 kB / 0.491 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.1864, allocations: 12 kB / 0.491 GB, free: 9.168 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004859/0.1869, allocations: 423 kB / 0.4914 GB, free: 8.758 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1869, allocations: 8 kB / 0.4914 GB, free: 8.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008547/0.1877, allocations: 228 kB / 0.4917 GB, free: 8.527 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.0002976/0.1881, allocations: 150.2 kB / 0.4918 GB, free: 8.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001893/0.19, allocations: 1.167 MB / 0.4929 GB, free: 7.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.19, allocations: 4.125 kB / 0.493 GB, free: 7.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003543/0.1903, allocations: 262.3 kB / 0.4932 GB, free: 6.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008087/0.1911, allocations: 152.3 kB / 0.4933 GB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.1945, allocations: 2.493 MB / 0.4958 GB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006811/0.1952, allocations: 1.082 MB / 0.4968 GB, free: 3.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.1954, allocations: 59.42 kB / 0.4969 GB, free: 3.066 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1954, allocations: 0 / 0.4969 GB, free: 3.066 MB / 382.1 MB Notification: Performance of Templates: time 0.02013/0.2155, allocations: 15.23 MB / 0.5118 GB, free: 3.836 MB / 398.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)