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.001082/0.001082, allocations: 108.5 kB / 16.51 MB, free: 6.707 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.001074/0.001074, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.332/1.332, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1726/0.1726, allocations: 38.03 MB / 329.3 MB, free: 8.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 64.89 kB / 398.1 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1116, allocations: 58.04 MB / 456.1 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01203/0.1237, allocations: 11.19 MB / 467.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007228/0.131, allocations: 4.09 MB / 471.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.1321, allocations: 63.62 kB / 471.5 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002691/0.1349, allocations: 1.042 MB / 472.5 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002259/0.1371, allocations: 0.8171 MB / 473.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.1385, allocations: 431.3 kB / 473.8 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003216/0.1417, allocations: 2.775 MB / 476.5 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.1433, allocations: 0.9222 MB / 477.5 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.1447, allocations: 0.6534 MB / 478.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.1465, allocations: 0.9579 MB / 479.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003259/0.1468, allocations: 76 kB / 479.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.1484, allocations: 0.5303 MB / 479.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008883/0.1493, allocations: 0.6078 MB / 480.3 MB, free: 268 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001551/0.1508, allocations: 0.6646 MB / 480.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002867/0.1537, allocations: 1.85 MB / 482.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1537, allocations: 0 / 482.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1538, allocations: 0 / 482.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.653e-05/0.1538, allocations: 0 / 482.8 MB, free: 13.74 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.004687/0.1585, allocations: 1.633 MB / 484.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.1586, allocations: 12.03 kB / 484.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.1603, allocations: 271.1 kB / 484.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.1621, allocations: 0.9061 MB / 485.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.388e-05/0.1622, allocations: 82.05 kB / 485.7 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003094/0.1625, allocations: 131.9 kB / 485.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/0.1648, allocations: 1.493 MB / 487.3 MB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.341e-05/0.1649, allocations: 7.844 kB / 487.3 MB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.165, allocations: 47.98 kB / 487.4 MB, free: 8.996 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003005/0.1653, allocations: 98.16 kB / 487.5 MB, free: 8.898 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.1673, allocations: 1.254 MB / 488.7 MB, free: 7.637 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007615/0.1749, allocations: 5.66 MB / 494.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009056/0.1759, allocations: 0.6016 MB / 495 MB, free: 1.008 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005623/0.1764, allocations: 399.3 kB / 495.4 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.285e-05/0.1765, allocations: 8.562 kB / 495.4 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.1765, allocations: 43.12 kB / 495.4 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 4.89e-06/0.1766, allocations: 4 kB / 495.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.007675/0.1842, allocations: 3.63 MB / 499.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.1843, allocations: 97.67 kB / 499.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00094/0.1853, allocations: 0.739 MB / 499.9 MB, free: 11.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/0.1854, allocations: 37.7 kB / 499.9 MB, free: 11.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/0.1858, allocations: 0.588 MB / 0.4888 GB, free: 11.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/0.186, allocations: 268.3 kB / 0.489 GB, free: 10.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000264/0.1863, allocations: 182.5 kB / 0.4892 GB, free: 10.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.1865, allocations: 402.7 kB / 0.4896 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/0.1871, allocations: 393.8 kB / 0.49 GB, free: 10.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000751/0.1879, allocations: 0.6574 MB / 0.4906 GB, free: 9.238 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.1893, allocations: 1.14 MB / 0.4917 GB, free: 7.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.1893, allocations: 4 kB / 0.4917 GB, free: 7.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003283/0.1926, allocations: 1.701 MB / 0.4934 GB, free: 6.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.1926, allocations: 12 kB / 0.4934 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002592/0.1952, allocations: 1.311 MB / 0.4947 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/0.1971, allocations: 0.5796 MB / 0.4952 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005856/0.1977, allocations: 175.7 kB / 0.4954 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/0.2088, allocations: 9.47 MB / 0.5047 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008644/0.2097, allocations: 55.86 kB / 0.5047 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.2098, allocations: 40 kB / 0.5048 GB, free: 10.04 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.0007171/0.2105, allocations: 385.4 kB / 0.5051 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.2107, allocations: 90.88 kB / 0.5052 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/0.2133, allocations: 1.248 MB / 0.5064 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.679e-06/0.2134, allocations: 8 kB / 0.5064 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.2134, allocations: 4 kB / 0.5064 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-06/0.2134, allocations: 3.984 kB / 0.5064 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004571/0.218, allocations: 2.404 MB / 0.5088 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.218, allocations: 4 kB / 0.5088 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/0.2184, allocations: 99.88 kB / 0.5089 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001168/0.2196, allocations: 383.9 kB / 0.5093 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.161e-05/0.2197, allocations: 27.98 kB / 0.5093 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2151/0.4349, allocations: 8.48 MB / 0.5176 GB, free: 66.6 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.4349, allocations: 11.06 kB / 0.5176 GB, free: 66.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00321/0.4381, allocations: 1.673 MB / 0.5192 GB, free: 66.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004256/0.4386, allocations: 227.5 kB / 0.5194 GB, free: 66.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.4387, allocations: 32.14 kB / 0.5195 GB, free: 66.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/0.4391, allocations: 27.48 kB / 0.5195 GB, free: 66.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.4393, allocations: 59.2 kB / 0.5195 GB, free: 66.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.277e-05/0.4394, allocations: 22.44 kB / 0.5196 GB, free: 66.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000817/0.4402, allocations: 0.5082 MB / 0.5201 GB, free: 66.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.062e-06/0.4402, allocations: 0 / 0.5201 GB, free: 66.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001453/0.4417, allocations: 364.2 kB / 0.5204 GB, free: 66.04 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.000311/0.442, allocations: 153.3 kB / 0.5205 GB, free: 65.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.4443, allocations: 1.571 MB / 0.5221 GB, free: 65.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4443, allocations: 4.156 kB / 0.5221 GB, free: 65.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001617/0.4459, allocations: 1.085 MB / 0.5231 GB, free: 64.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.4471, allocations: 192 kB / 0.5233 GB, free: 64.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005069/0.4522, allocations: 3.219 MB / 0.5265 GB, free: 62.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.4534, allocations: 1.257 MB / 0.5277 GB, free: 61.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007422/0.4541, allocations: 220.8 kB / 0.5279 GB, free: 61.76 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.4543, allocations: 63.92 kB / 0.528 GB, free: 61.75 MB / 398.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4543, allocations: 3.281 kB / 0.528 GB, free: 61.75 MB / 398.1 MB Notification: Performance of Templates: time 0.02234/0.4766, allocations: 14.69 MB / 0.5423 GB, free: 56.82 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)