Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001497/0.001501, allocations: 185.1 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.966/1.966, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001094, allocations: 95.98 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2689/0.2689, allocations: 37.97 MB / 353.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.448e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 56.32 MB / 473.1 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5656/0.6718, allocations: 103.3 MB / 0.5629 GB, free: 424 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/0.6722, allocations: 83.95 kB / 0.563 GB, free: 340 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09719/0.7694, allocations: 22.38 MB / 0.5849 GB, free: 9.781 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.438e-06/0.7695, allocations: 3.984 kB / 0.5849 GB, free: 9.777 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.283e-05/0.7696, allocations: 20 kB / 0.5849 GB, free: 9.758 MB / 426.7 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.002624/0.7722, allocations: 0.9404 MB / 0.5858 GB, free: 8.773 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.7723, allocations: 11.97 kB / 0.5858 GB, free: 8.762 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/0.7739, allocations: 178.8 kB / 0.586 GB, free: 8.586 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.7755, allocations: 0.5816 MB / 0.5865 GB, free: 7.961 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.633e-05/0.7756, allocations: 49.31 kB / 0.5866 GB, free: 7.914 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.7758, allocations: 63.91 kB / 0.5867 GB, free: 7.852 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.7777, allocations: 0.7097 MB / 0.5873 GB, free: 7.102 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/0.7778, allocations: 4 kB / 0.5873 GB, free: 7.098 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-05/0.7779, allocations: 20 kB / 0.5874 GB, free: 7.078 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.749e-05/0.778, allocations: 33.25 kB / 0.5874 GB, free: 7.047 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.7796, allocations: 0.5634 MB / 0.5879 GB, free: 6.484 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007038/0.7867, allocations: 2.942 MB / 0.5908 GB, free: 3.418 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.7886, allocations: 0.6292 MB / 0.5914 GB, free: 2.746 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005276/0.7892, allocations: 195.1 kB / 0.5916 GB, free: 2.551 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.711e-05/0.7893, allocations: 8.422 kB / 0.5916 GB, free: 2.543 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.7893, allocations: 39 kB / 0.5917 GB, free: 2.496 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 4.017e-06/0.7893, allocations: 0 / 0.5917 GB, free: 2.496 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.001485/0.7908, allocations: 457.2 kB / 0.5921 GB, free: 2.047 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.026e-05/0.7909, allocations: 107.2 kB / 0.5922 GB, free: 1.918 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.792, allocations: 0.4917 MB / 0.5927 GB, free: 1.418 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.621e-05/0.7921, allocations: 37.7 kB / 0.5927 GB, free: 1.375 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.7925, allocations: 371.6 kB / 0.5931 GB, free: 1.008 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/0.7927, allocations: 177.4 kB / 0.5932 GB, free: 0.832 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.7928, allocations: 12 kB / 0.5933 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.793, allocations: 338.8 kB / 0.5936 GB, free: 492 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005223/0.7935, allocations: 169.1 kB / 0.5937 GB, free: 324 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007245/0.7942, allocations: 300.6 kB / 0.594 GB, free: 15.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000603/0.7949, allocations: 209.5 kB / 0.5942 GB, free: 15.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.7949, allocations: 3.938 kB / 0.5942 GB, free: 15.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002107/0.797, allocations: 0.6369 MB / 0.5949 GB, free: 15.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006803/0.7977, allocations: 1.407 MB / 0.5962 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.7977, allocations: 4 kB / 0.5962 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006424/0.7984, allocations: 109.3 kB / 0.5963 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.7995, allocations: 139.9 kB / 0.5965 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009504/0.8005, allocations: 0.7045 MB / 0.5972 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008895/0.8014, allocations: 87.39 kB / 0.5972 GB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/0.8015, allocations: 24.06 kB / 0.5973 GB, free: 12.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.8015, allocations: 4 kB / 0.5973 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002322/0.8038, allocations: 0.5538 MB / 0.5978 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.8039, allocations: 4.094 kB / 0.5978 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005766/0.8045, allocations: 104.7 kB / 0.5979 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.8059, allocations: 131.8 kB / 0.598 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004233/0.8101, allocations: 1.987 MB / 0.6 GB, free: 9.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007532/0.8109, allocations: 59.64 kB / 0.6 GB, free: 9.531 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.181e-05/0.8111, allocations: 23.98 kB / 0.6001 GB, free: 9.508 MB / 442.7 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 () * 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 (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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003367/0.8114, allocations: 140.8 kB / 0.6002 GB, free: 9.363 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/0.8118, allocations: 67.16 kB / 0.6003 GB, free: 9.297 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/0.8139, allocations: 499 kB / 0.6007 GB, free: 8.801 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.8139, allocations: 12 kB / 0.6007 GB, free: 8.789 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.814, allocations: 0 / 0.6007 GB, free: 8.789 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.814, allocations: 0 / 0.6007 GB, free: 8.789 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004085/0.8181, allocations: 1.209 MB / 0.6019 GB, free: 7.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.8182, allocations: 0 / 0.6019 GB, free: 7.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/0.8197, allocations: 119.8 kB / 0.602 GB, free: 7.402 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-05/0.8198, allocations: 7.984 kB / 0.602 GB, free: 7.395 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.8199, allocations: 15.98 kB / 0.6021 GB, free: 7.379 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.8199, allocations: 0 / 0.6021 GB, free: 7.379 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.8199, allocations: 4 kB / 0.6021 GB, free: 7.375 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002792/0.8227, allocations: 0.8016 MB / 0.6028 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005679/0.8233, allocations: 192.2 kB / 0.603 GB, free: 6.348 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.8235, allocations: 12 kB / 0.603 GB, free: 6.336 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.8246, allocations: 44.05 kB / 0.6031 GB, free: 6.293 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.8248, allocations: 40.31 kB / 0.6031 GB, free: 6.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.765e-05/0.8249, allocations: 12 kB / 0.6031 GB, free: 6.238 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001111/0.826, allocations: 407.1 kB / 0.6035 GB, free: 5.844 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.826, allocations: 0 / 0.6035 GB, free: 5.844 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001954/0.828, allocations: 263.3 kB / 0.6038 GB, free: 5.586 MB / 442.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003215/0.8283, allocations: 131 kB / 0.6039 GB, free: 5.449 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003301/0.8316, allocations: 0.8353 MB / 0.6047 GB, free: 4.602 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.8317, allocations: 0 / 0.6047 GB, free: 4.602 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008779/0.8326, allocations: 222.4 kB / 0.6049 GB, free: 4.387 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.8343, allocations: 120.3 kB / 0.605 GB, free: 4.273 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005628/0.8399, allocations: 1.213 MB / 0.6062 GB, free: 3.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.841, allocations: 0.9577 MB / 0.6072 GB, free: 2.035 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004975/0.8415, allocations: 47.42 kB / 0.6072 GB, free: 1.988 MB / 442.7 MB Notification: Performance of SimCode: time 1.552e-06/0.8416, allocations: 7.938 kB / 0.6072 GB, free: 1.98 MB / 442.7 MB Notification: Performance of Templates: time 0.02328/0.8649, allocations: 9.355 MB / 0.6163 GB, free: 8.613 MB / 458.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.sim & ./PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1)