Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001431, allocations: 173 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007657/0.0007658, allocations: 88.97 kB / 271.3 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1724/0.1724, allocations: 38.08 MB / 357.6 MB, free: 1.742 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 16 kB / 423.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2444, allocations: 56.31 MB / 480.3 MB, free: 9.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.375, allocations: 105.6 MB / 0.5721 GB, free: 12.79 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.3753, allocations: 87.95 kB / 0.5722 GB, free: 12.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06828/0.4436, allocations: 28.43 MB / 0.5999 GB, free: 32 kB / 426.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.4436, allocations: 4 kB / 0.5999 GB, free: 28 kB / 426.7 MB Notification: Performance of Transformations before backend: time 5.386e-05/0.4437, allocations: 20 kB / 0.5999 GB, free: 8 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001966/0.4457, allocations: 1.108 MB / 0.601 GB, free: 14.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.4457, allocations: 12.03 kB / 0.601 GB, free: 14.83 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.447, allocations: 207.6 kB / 0.6012 GB, free: 14.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.4482, allocations: 0.6798 MB / 0.6019 GB, free: 13.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/0.4482, allocations: 49.62 kB / 0.602 GB, free: 13.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.4483, allocations: 72.36 kB / 0.602 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.4498, allocations: 0.8823 MB / 0.6029 GB, free: 12.87 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.4498, allocations: 192 / 0.6029 GB, free: 12.87 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.301e-05/0.4499, allocations: 39.91 kB / 0.6029 GB, free: 12.83 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.045e-05/0.45, allocations: 37.3 kB / 0.603 GB, free: 12.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.4514, allocations: 0.7858 MB / 0.6037 GB, free: 12 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004367/0.4558, allocations: 3.28 MB / 0.6069 GB, free: 8.602 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.4577, allocations: 0.9902 MB / 0.6079 GB, free: 7.535 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005538/0.4583, allocations: 315.3 kB / 0.6082 GB, free: 7.223 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.204e-05/0.4583, allocations: 16.55 kB / 0.6082 GB, free: 7.207 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.4584, allocations: 39.12 kB / 0.6082 GB, free: 7.156 MB / 442.7 MB Notification: Performance of pre-optimization done (n=59): time 2.124e-06/0.4584, allocations: 0 / 0.6082 GB, free: 7.156 MB / 442.7 MB Notification: Performance of matching and sorting (n=63): time 0.005007/0.4634, allocations: 2.595 MB / 0.6108 GB, free: 4.461 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.4635, allocations: 115.4 kB / 0.6109 GB, free: 4.324 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007883/0.4643, allocations: 0.5899 MB / 0.6115 GB, free: 3.727 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/0.4643, allocations: 33.7 kB / 0.6115 GB, free: 3.688 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.4646, allocations: 368.3 kB / 0.6119 GB, free: 3.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.4647, allocations: 220.7 kB / 0.6121 GB, free: 3.102 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.4648, allocations: 16 kB / 0.6121 GB, free: 3.086 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.4649, allocations: 386.9 kB / 0.6124 GB, free: 2.699 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000572/0.4655, allocations: 273.8 kB / 0.6127 GB, free: 2.434 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/0.4662, allocations: 429.8 kB / 0.6131 GB, free: 1.957 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.4674, allocations: 0.7046 MB / 0.6138 GB, free: 1.195 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4674, allocations: 4 kB / 0.6138 GB, free: 1.191 MB / 442.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00162/0.4691, allocations: 0.8539 MB / 0.6146 GB, free: 340 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.4692, allocations: 204.2 kB / 0.6148 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.4692, allocations: 4 kB / 0.6148 GB, free: 72 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002646/0.4695, allocations: 68.78 kB / 0.6149 GB, free: 16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007129/0.4702, allocations: 191.7 kB / 0.6151 GB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.4718, allocations: 1.619 MB / 0.6167 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005721/0.4724, allocations: 63.95 kB / 0.6167 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.4724, allocations: 24 kB / 0.6168 GB, free: 13.96 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.4724, allocations: 4 kB / 0.6168 GB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001394/0.4738, allocations: 0.7321 MB / 0.6175 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4739, allocations: 4 kB / 0.6175 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/0.4741, allocations: 65.39 kB / 0.6175 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/0.4748, allocations: 179.7 kB / 0.6177 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.4762, allocations: 1.629 MB / 0.6193 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005304/0.4768, allocations: 51.95 kB / 0.6194 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/0.4768, allocations: 27.94 kB / 0.6194 GB, free: 11.14 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004612/0.4773, allocations: 328.8 kB / 0.6197 GB, free: 10.81 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.4774, allocations: 75.09 kB / 0.6198 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/0.4795, allocations: 0.7919 MB / 0.6205 GB, free: 9.934 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.4795, allocations: 12 kB / 0.6205 GB, free: 9.922 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.4795, allocations: 3.938 kB / 0.6206 GB, free: 9.918 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.4795, allocations: 3.984 kB / 0.6206 GB, free: 9.914 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003951/0.4835, allocations: 2.195 MB / 0.6227 GB, free: 7.582 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.4835, allocations: 4 kB / 0.6227 GB, free: 7.578 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/0.4841, allocations: 136.2 kB / 0.6228 GB, free: 7.445 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001989/0.4843, allocations: 64.69 kB / 0.6229 GB, free: 7.379 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.121e-05/0.4843, allocations: 20 kB / 0.6229 GB, free: 7.359 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.4857, allocations: 1.577 MB / 0.6245 GB, free: 5.652 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.4857, allocations: 11.94 kB / 0.6245 GB, free: 5.641 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/0.488, allocations: 1.349 MB / 0.6258 GB, free: 4.195 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/0.4883, allocations: 204.1 kB / 0.626 GB, free: 3.977 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.189e-05/0.4884, allocations: 24 kB / 0.626 GB, free: 3.953 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/0.4889, allocations: 51.95 kB / 0.6261 GB, free: 3.902 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.4891, allocations: 75.73 kB / 0.6261 GB, free: 3.828 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.4891, allocations: 31.92 kB / 0.6262 GB, free: 3.797 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000655/0.4898, allocations: 419 kB / 0.6266 GB, free: 3.391 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4898, allocations: 0 / 0.6266 GB, free: 3.391 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001107/0.4909, allocations: 267.9 kB / 0.6268 GB, free: 3.129 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 7 (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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000202/0.4911, allocations: 139.2 kB / 0.6269 GB, free: 2.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002337/0.4935, allocations: 1.279 MB / 0.6282 GB, free: 1.676 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.4935, allocations: 0 / 0.6282 GB, free: 1.676 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008777/0.4944, allocations: 499.8 kB / 0.6287 GB, free: 1.176 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.4958, allocations: 154.9 kB / 0.6288 GB, free: 1.023 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/0.4989, allocations: 2.057 MB / 0.6308 GB, free: 14.84 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008815/0.4998, allocations: 0.9861 MB / 0.6318 GB, free: 13.83 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/0.5002, allocations: 55.42 kB / 0.6318 GB, free: 13.77 MB / 474.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5002, allocations: 3.938 kB / 0.6318 GB, free: 13.77 MB / 474.7 MB Notification: Performance of Templates: time 0.01669/0.5169, allocations: 12.47 MB / 0.644 GB, free: 1.297 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.sim & ./PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1)