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.001653/0.001653, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001927/0.001927, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.337/1.337, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.179/0.179, allocations: 38.03 MB / 330.4 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 66.77 kB / 399.5 MB, free: 34.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1089, allocations: 58.06 MB / 457.5 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.008416/0.1173, allocations: 7.505 MB / 465 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004873/0.1222, allocations: 2.98 MB / 468 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005182/0.1228, allocations: 27.81 kB / 468 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.1247, allocations: 0.7383 MB / 468.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.1263, allocations: 0.692 MB / 469.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008641/0.1272, allocations: 371.2 kB / 469.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001509/0.1287, allocations: 1.34 MB / 471.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000857/0.1296, allocations: 0.7247 MB / 471.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006523/0.1303, allocations: 0.5448 MB / 472.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007987/0.1311, allocations: 0.6267 MB / 473.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.1312, allocations: 76 kB / 473.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007773/0.132, allocations: 483.1 kB / 473.6 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003748/0.1324, allocations: 454.9 kB / 474.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004777/0.1329, allocations: 0.5054 MB / 474.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.1342, allocations: 1.406 MB / 476 MB, free: 5.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1342, allocations: 0 / 476 MB, free: 5.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1342, allocations: 0 / 476 MB, free: 5.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.1342, allocations: 4 kB / 476 MB, free: 5.52 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.002102/0.1363, allocations: 1.28 MB / 477.3 MB, free: 4.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1364, allocations: 11.89 kB / 477.3 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.1376, allocations: 211.5 kB / 477.5 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.1388, allocations: 0.702 MB / 478.2 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/0.1389, allocations: 62.38 kB / 478.2 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.1391, allocations: 103.8 kB / 478.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.1406, allocations: 1.092 MB / 479.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.1406, allocations: 4 kB / 479.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-05/0.1407, allocations: 35.98 kB / 479.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001612/0.1409, allocations: 73.95 kB / 479.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.1422, allocations: 0.8704 MB / 480.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004842/0.147, allocations: 4.008 MB / 484.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000597/0.1477, allocations: 431.8 kB / 484.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003616/0.148, allocations: 281.2 kB / 485.1 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.1481, allocations: 12.36 kB / 485.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.1481, allocations: 42.98 kB / 485.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 3.356e-06/0.1481, allocations: 3.984 kB / 485.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.00281/0.1509, allocations: 1.721 MB / 486.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.151, allocations: 85.55 kB / 487 MB, free: 10.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006037/0.1516, allocations: 0.59 MB / 487.6 MB, free: 9.457 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.1517, allocations: 37.7 kB / 487.6 MB, free: 9.414 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.152, allocations: 466.5 kB / 488.1 MB, free: 8.949 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.1521, allocations: 185.4 kB / 488.2 MB, free: 8.766 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.1523, allocations: 146.5 kB / 488.4 MB, free: 8.613 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1525, allocations: 374.8 kB / 488.8 MB, free: 8.238 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.1528, allocations: 253.8 kB / 489 MB, free: 7.992 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005036/0.1533, allocations: 480.9 kB / 489.5 MB, free: 7.426 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000934/0.1543, allocations: 0.7702 MB / 490.2 MB, free: 6.559 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1543, allocations: 4 kB / 490.2 MB, free: 6.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001853/0.1562, allocations: 1.111 MB / 491.4 MB, free: 5.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1562, allocations: 8 kB / 491.4 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001292/0.1575, allocations: 0.7917 MB / 492.2 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007632/0.1583, allocations: 226.5 kB / 492.4 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/0.1588, allocations: 155.7 kB / 492.5 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006035/0.1648, allocations: 5.672 MB / 498.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005622/0.1654, allocations: 39.97 kB / 498.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.1655, allocations: 36.06 kB / 498.3 MB, free: 14.02 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.0004884/0.166, allocations: 306.3 kB / 498.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.1661, allocations: 71.14 kB / 498.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.1671, allocations: 0.6046 MB / 499.3 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1672, allocations: 12 kB / 499.3 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.1672, allocations: 0 / 499.3 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.1672, allocations: 3.984 kB / 499.3 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.1694, allocations: 1.486 MB / 0.489 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1695, allocations: 4 kB / 0.489 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/0.1701, allocations: 123.9 kB / 0.4891 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1701, allocations: 4 kB / 0.4891 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.1701, allocations: 19.94 kB / 0.4892 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.1701, allocations: 7.938 kB / 0.4892 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1701, allocations: 160 / 0.4892 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.1714, allocations: 0.9271 MB / 0.4901 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002298/0.1717, allocations: 192.1 kB / 0.4903 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.183e-05/0.1718, allocations: 19.94 kB / 0.4903 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.1721, allocations: 19.98 kB / 0.4903 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.1721, allocations: 32.39 kB / 0.4903 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.1722, allocations: 16 kB / 0.4903 GB, free: 10.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004575/0.1726, allocations: 419 kB / 0.4907 GB, free: 9.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1727, allocations: 0 / 0.4907 GB, free: 9.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007781/0.1734, allocations: 236 kB / 0.491 GB, free: 9.41 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.0002528/0.1737, allocations: 146.4 kB / 0.4911 GB, free: 9.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001949/0.1757, allocations: 1.159 MB / 0.4922 GB, free: 8.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1757, allocations: 0 / 0.4922 GB, free: 8.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003543/0.176, allocations: 262.6 kB / 0.4925 GB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000774/0.1768, allocations: 153.7 kB / 0.4926 GB, free: 7.664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/0.1799, allocations: 2.131 MB / 0.4947 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006561/0.1806, allocations: 1.075 MB / 0.4958 GB, free: 4.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.1808, allocations: 67.41 kB / 0.4958 GB, free: 4.316 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1808, allocations: 0 / 0.4958 GB, free: 4.316 MB / 382.1 MB Notification: Performance of Templates: time 0.01894/0.1997, allocations: 15.23 MB / 0.5107 GB, free: 5.09 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)