Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.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.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 107 kB / 16.92 MB, free: 5.684 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.001112/0.001112, allocations: 190.1 kB / 17.85 MB, free: 5.176 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.318/1.318, allocations: 222.9 MB / 241.5 MB, free: 15.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.188/0.188, allocations: 38.02 MB / 329.7 MB, free: 8.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.41 kB / 398.8 MB, free: 34.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1102, allocations: 58.05 MB / 456.8 MB, free: 8.121 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.007849/0.1181, allocations: 5.426 MB / 462.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003853/0.122, allocations: 2.249 MB / 464.5 MB, free: 420 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000481/0.1225, allocations: 27.88 kB / 464.5 MB, free: 392 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.1235, allocations: 274.2 kB / 464.8 MB, free: 116 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008437/0.1244, allocations: 342 kB / 465.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.1255, allocations: 0.5023 MB / 465.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.1266, allocations: 1.034 MB / 466.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00092/0.1275, allocations: 0.6269 MB / 467.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006136/0.1282, allocations: 390.5 kB / 467.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004439/0.1286, allocations: 390.2 kB / 468.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.1287, allocations: 83.94 kB / 468.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006457/0.1294, allocations: 367.2 kB / 468.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.1296, allocations: 207.4 kB / 468.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003225/0.1299, allocations: 397.8 kB / 469.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.131, allocations: 1.051 MB / 470.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.131, allocations: 0 / 470.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.131, allocations: 0 / 470.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.131, allocations: 0 / 470.2 MB, free: 10.74 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002029/0.1331, allocations: 1.11 MB / 471.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1331, allocations: 11.89 kB / 471.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008701/0.134, allocations: 167.8 kB / 471.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008783/0.1349, allocations: 0.5734 MB / 472 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/0.1349, allocations: 45.69 kB / 472.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.1351, allocations: 64.31 kB / 472.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.1363, allocations: 0.7681 MB / 472.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.1364, allocations: 0 / 472.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.173e-05/0.1364, allocations: 20 kB / 472.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-05/0.1365, allocations: 37.31 kB / 472.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.1377, allocations: 0.6296 MB / 473.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004005/0.1418, allocations: 2.914 MB / 476.5 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.1431, allocations: 0.7032 MB / 477.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004492/0.1436, allocations: 231 kB / 477.4 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.1436, allocations: 12.47 kB / 477.4 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1437, allocations: 39 kB / 477.5 MB, free: 3.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 1.954e-06/0.1437, allocations: 0 / 477.5 MB, free: 3.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.001537/0.1452, allocations: 0.702 MB / 478.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.1453, allocations: 111.2 kB / 478.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007404/0.1461, allocations: 0.5782 MB / 478.9 MB, free: 1.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.1461, allocations: 37.7 kB / 478.9 MB, free: 1.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.1464, allocations: 352.4 kB / 479.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.1465, allocations: 177.5 kB / 479.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.1467, allocations: 102.2 kB / 479.5 MB, free: 1.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1468, allocations: 378.8 kB / 479.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004665/0.1473, allocations: 211 kB / 480.1 MB, free: 444 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005314/0.1479, allocations: 344.5 kB / 480.4 MB, free: 48 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009878/0.1489, allocations: 0.549 MB / 481 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/0.1489, allocations: 3.938 kB / 481 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001689/0.1506, allocations: 0.7885 MB / 481.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1506, allocations: 4 kB / 481.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1506, allocations: 4 kB / 481.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003861/0.151, allocations: 121.1 kB / 481.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005484/0.1516, allocations: 135.8 kB / 482 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002898/0.1545, allocations: 2.416 MB / 484.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004517/0.1549, allocations: 79.34 kB / 484.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.155, allocations: 20 kB / 484.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006217/0.1556, allocations: 369.1 kB / 484.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004854/0.1561, allocations: 324.5 kB / 485.2 MB, free: 11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009132/0.157, allocations: 0.5372 MB / 485.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-06/0.1571, allocations: 3.984 kB / 485.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.00134/0.1584, allocations: 0.6948 MB / 486.4 MB, free: 9.699 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.1584, allocations: 8.109 kB / 486.5 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1584, allocations: 8.406 kB / 486.5 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002715/0.1587, allocations: 100.8 kB / 486.6 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005283/0.1593, allocations: 132 kB / 486.7 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/0.1614, allocations: 2.221 MB / 488.9 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/0.1618, allocations: 79.42 kB / 489 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.1619, allocations: 20 kB / 489 MB, free: 6.996 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.throttleCosts.local_reset,powerPlant.hotwellLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.1621, allocations: 214.5 kB / 489.2 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.1622, allocations: 71.2 kB / 489.3 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.1634, allocations: 0.5692 MB / 489.9 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.1634, allocations: 4 kB / 489.9 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.1634, allocations: 0 / 489.9 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.1634, allocations: 3.984 kB / 489.9 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.1657, allocations: 1.326 MB / 491.2 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.1657, allocations: 0 / 491.2 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/0.1663, allocations: 107.9 kB / 491.3 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.1663, allocations: 4 kB / 491.3 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.814e-05/0.1664, allocations: 8 kB / 491.3 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1664, allocations: 4 kB / 491.3 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1664, allocations: 0 / 491.3 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.168, allocations: 0.9091 MB / 492.2 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/0.1683, allocations: 188.1 kB / 492.4 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.1684, allocations: 15.98 kB / 492.4 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.1688, allocations: 31.97 kB / 492.5 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.169, allocations: 36.39 kB / 492.5 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.169, allocations: 15.98 kB / 492.5 MB, free: 3.395 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006689/0.1697, allocations: 427 kB / 492.9 MB, free: 2.984 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1697, allocations: 0 / 492.9 MB, free: 2.984 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009539/0.1707, allocations: 263.2 kB / 493.2 MB, free: 2.727 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (powerPlant.rotor.phi,powerPlant.rotor.w,powerPlant.evaporator.y,powerPlant.superheater1.y,powerPlant.superheater2.y,powerPlant.transferFunction.x_scaled[1],powerPlant.hotwellLevel.y,powerPlant.throttleDynamics.y,powerPlant.throttleCosts.y) * 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 (50): * Single equations (assignments): 49 * 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.0001462/0.1708, allocations: 111.8 kB / 493.3 MB, free: 2.609 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002327/0.1731, allocations: 1.146 MB / 494.4 MB, free: 1.438 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.1732, allocations: 0 / 494.4 MB, free: 1.438 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005218/0.1737, allocations: 258.3 kB / 494.7 MB, free: 1.188 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007893/0.1745, allocations: 144.1 kB / 494.8 MB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.1776, allocations: 1.534 MB / 496.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/0.1782, allocations: 0.9418 MB / 497.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004403/0.1786, allocations: 124.6 kB / 497.4 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.1788, allocations: 39.44 kB / 497.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1788, allocations: 0 / 497.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of Templates: time 0.01497/0.1938, allocations: 8.24 MB / 0.4938 GB, free: 6.172 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1)