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.002027/0.002027, allocations: 114.7 kB / 16.63 MB, free: 6.332 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.00213/0.00213, allocations: 187.2 kB / 17.55 MB, free: 5.805 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.384/1.384, allocations: 222.9 MB / 241.2 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.182/0.182, allocations: 38.02 MB / 329.4 MB, free: 8.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 61.08 kB / 398.3 MB, free: 34.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1024, allocations: 58.06 MB / 456.3 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.00947/0.1119, allocations: 8.748 MB / 465.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005389/0.1173, allocations: 3.346 MB / 468.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005744/0.1179, allocations: 51.69 kB / 468.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.1197, allocations: 0.6945 MB / 469.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.1212, allocations: 0.6302 MB / 469.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008439/0.1221, allocations: 331.4 kB / 470.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001642/0.1237, allocations: 1.36 MB / 471.5 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.1248, allocations: 0.7521 MB / 472.2 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.1259, allocations: 0.5603 MB / 472.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009804/0.1268, allocations: 0.6697 MB / 473.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.127, allocations: 76 kB / 473.5 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009709/0.128, allocations: 479.1 kB / 474 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004572/0.1284, allocations: 450.9 kB / 474.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006069/0.129, allocations: 0.5092 MB / 475 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.1308, allocations: 1.398 MB / 476.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1308, allocations: 0 / 476.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1308, allocations: 4 kB / 476.4 MB, free: 4.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.1308, allocations: 0 / 476.4 MB, free: 4.301 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.002248/0.1331, allocations: 1.277 MB / 477.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1332, allocations: 11.89 kB / 477.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.1344, allocations: 203.5 kB / 477.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.1357, allocations: 0.7175 MB / 478.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.173e-05/0.1357, allocations: 58.38 kB / 478.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002362/0.136, allocations: 99.81 kB / 478.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.1378, allocations: 1.092 MB / 479.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.753e-05/0.1379, allocations: 3.938 kB / 479.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.505e-05/0.138, allocations: 35.98 kB / 479.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001712/0.1382, allocations: 73.95 kB / 479.9 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.1395, allocations: 0.8782 MB / 480.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005164/0.1447, allocations: 3.997 MB / 484.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006317/0.1454, allocations: 435.8 kB / 485.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/0.1458, allocations: 275 kB / 485.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.1458, allocations: 4.438 kB / 485.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.1458, allocations: 50.92 kB / 485.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.274e-06/0.1459, allocations: 0 / 485.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003002/0.1489, allocations: 1.709 MB / 487.3 MB, free: 8.957 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.1489, allocations: 89.48 kB / 487.3 MB, free: 8.852 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006608/0.1496, allocations: 0.5937 MB / 487.9 MB, free: 8.246 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.1496, allocations: 33.7 kB / 488 MB, free: 8.207 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.15, allocations: 462.5 kB / 488.4 MB, free: 7.746 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.1501, allocations: 185.3 kB / 488.6 MB, free: 7.562 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.1503, allocations: 154.5 kB / 488.8 MB, free: 7.402 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1505, allocations: 378.8 kB / 489.1 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/0.1509, allocations: 249.8 kB / 489.4 MB, free: 6.781 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/0.1514, allocations: 473 kB / 489.8 MB, free: 6.227 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009957/0.1524, allocations: 0.7742 MB / 490.6 MB, free: 5.355 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.1524, allocations: 4 kB / 490.6 MB, free: 5.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001977/0.1544, allocations: 1.118 MB / 491.7 MB, free: 4.199 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1545, allocations: 8 kB / 491.7 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001366/0.1558, allocations: 0.8028 MB / 492.5 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007535/0.1566, allocations: 218.4 kB / 492.8 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/0.1572, allocations: 155.7 kB / 492.9 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005867/0.163, allocations: 5.674 MB / 498.6 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006427/0.1637, allocations: 39.97 kB / 498.6 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.897e-05/0.1638, allocations: 28 kB / 498.6 MB, free: 12.82 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.0005522/0.1643, allocations: 314.4 kB / 499 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.1645, allocations: 67.16 kB / 499 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.1655, allocations: 0.6084 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.1655, allocations: 8 kB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.1655, allocations: 0 / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.1655, allocations: 3.984 kB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002566/0.1681, allocations: 1.478 MB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.1681, allocations: 8 kB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006744/0.1688, allocations: 132 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.1688, allocations: 4 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.1689, allocations: 15.94 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.1689, allocations: 0 / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1689, allocations: 7.938 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.1702, allocations: 0.9311 MB / 0.4904 GB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003053/0.1705, allocations: 188.1 kB / 0.4906 GB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.1707, allocations: 19.91 kB / 0.4906 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.171, allocations: 15.98 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.1711, allocations: 36.39 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.1712, allocations: 16 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005174/0.1717, allocations: 423 kB / 0.4911 GB, free: 8.434 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1717, allocations: 0 / 0.4911 GB, free: 8.434 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009684/0.1727, allocations: 232 kB / 0.4913 GB, free: 8.207 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.0003206/0.173, allocations: 147.3 kB / 0.4915 GB, free: 8.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00213/0.1751, allocations: 1.166 MB / 0.4926 GB, free: 6.848 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1752, allocations: 3.938 kB / 0.4926 GB, free: 6.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003761/0.1755, allocations: 259.8 kB / 0.4929 GB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.1766, allocations: 156.4 kB / 0.493 GB, free: 6.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.1801, allocations: 2.415 MB / 0.4954 GB, free: 3.996 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007789/0.1809, allocations: 1.086 MB / 0.4964 GB, free: 2.883 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006076/0.1815, allocations: 193.9 kB / 0.4966 GB, free: 2.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.1817, allocations: 55.42 kB / 0.4967 GB, free: 2.637 MB / 382.1 MB Notification: Performance of SimCode: time 1.373e-06/0.1817, allocations: 0 / 0.4967 GB, free: 2.637 MB / 382.1 MB Notification: Performance of Templates: time 0.01757/0.1993, allocations: 9.22 MB / 0.5057 GB, free: 9.473 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)