Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002045/0.002045, allocations: 181.9 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.604/1.604, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001785/0.001785, allocations: 112.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1788/0.1788, allocations: 37.91 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.881e-05/3.883e-05, allocations: 4 kB / 397.5 MB, free: 1.043 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3391, allocations: 53.22 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3621/0.7012, allocations: 99.26 MB / 0.5371 GB, free: 88.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004208/0.7017, allocations: 90.14 kB / 0.5372 GB, free: 88.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06309/0.7648, allocations: 27.38 MB / 0.564 GB, free: 64.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.7649, allocations: 0 / 0.564 GB, free: 64.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.824e-05/0.7649, allocations: 23.94 kB / 0.564 GB, free: 64.67 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001566/0.7665, allocations: 0.9678 MB / 0.5649 GB, free: 63.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.7665, allocations: 12.03 kB / 0.5649 GB, free: 63.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.7678, allocations: 206.6 kB / 0.5651 GB, free: 63.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008681/0.7687, allocations: 0.5856 MB / 0.5657 GB, free: 62.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/0.7687, allocations: 49.31 kB / 0.5658 GB, free: 62.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.7688, allocations: 71.84 kB / 0.5658 GB, free: 62.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.7699, allocations: 0.7646 MB / 0.5666 GB, free: 61.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.77, allocations: 0 / 0.5666 GB, free: 61.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-05/0.77, allocations: 24 kB / 0.5666 GB, free: 61.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.524e-05/0.7701, allocations: 45.28 kB / 0.5666 GB, free: 61.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008939/0.771, allocations: 0.665 MB / 0.5673 GB, free: 61.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00361/0.7746, allocations: 2.877 MB / 0.5701 GB, free: 58.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.7757, allocations: 0.8467 MB / 0.5709 GB, free: 57.26 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.776, allocations: 259.4 kB / 0.5712 GB, free: 57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.806e-05/0.7761, allocations: 4.562 kB / 0.5712 GB, free: 57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.7762, allocations: 39.12 kB / 0.5712 GB, free: 56.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 2.936e-06/0.7762, allocations: 0 / 0.5712 GB, free: 56.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=62): time 0.002659/0.7788, allocations: 1.922 MB / 0.5731 GB, free: 54.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.7789, allocations: 111.4 kB / 0.5732 GB, free: 54.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004691/0.7794, allocations: 453 kB / 0.5736 GB, free: 54.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.7794, allocations: 33.7 kB / 0.5737 GB, free: 54.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.7796, allocations: 344.4 kB / 0.574 GB, free: 53.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.7797, allocations: 220.8 kB / 0.5742 GB, free: 53.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.7797, allocations: 12 kB / 0.5742 GB, free: 53.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.7798, allocations: 378.7 kB / 0.5746 GB, free: 53.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.7802, allocations: 213.5 kB / 0.5748 GB, free: 53.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.7805, allocations: 340.3 kB / 0.5751 GB, free: 52.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.7809, allocations: 251.2 kB / 0.5753 GB, free: 52.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7809, allocations: 0 / 0.5753 GB, free: 52.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0009332/0.7818, allocations: 0.7058 MB / 0.576 GB, free: 51.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002048/0.782, allocations: 1.14 MB / 0.5771 GB, free: 50.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.782, allocations: 7.984 kB / 0.5771 GB, free: 50.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002455/0.7823, allocations: 60.81 kB / 0.5772 GB, free: 50.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006612/0.783, allocations: 175.8 kB / 0.5774 GB, free: 50.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.7843, allocations: 1.62 MB / 0.579 GB, free: 48.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004717/0.7847, allocations: 51.95 kB / 0.579 GB, free: 48.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.7848, allocations: 27.98 kB / 0.579 GB, free: 48.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.285e-06/0.7848, allocations: 8 kB / 0.579 GB, free: 48.51 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008863/0.7857, allocations: 0.6189 MB / 0.5796 GB, free: 47.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7857, allocations: 0 / 0.5796 GB, free: 47.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.7859, allocations: 65.33 kB / 0.5797 GB, free: 47.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006033/0.7865, allocations: 171.7 kB / 0.5799 GB, free: 47.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.7877, allocations: 1.621 MB / 0.5815 GB, free: 45.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.7882, allocations: 51.91 kB / 0.5815 GB, free: 45.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.7882, allocations: 20 kB / 0.5815 GB, free: 45.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0001549/0.7884, allocations: 144.6 kB / 0.5817 GB, free: 45.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.7885, allocations: 67.16 kB / 0.5817 GB, free: 45.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.7896, allocations: 0.6782 MB / 0.5824 GB, free: 44.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.7896, allocations: 4 kB / 0.5824 GB, free: 44.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.7896, allocations: 7.984 kB / 0.5824 GB, free: 44.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.7896, allocations: 144 / 0.5824 GB, free: 44.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/0.7926, allocations: 2.014 MB / 0.5844 GB, free: 42.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.7926, allocations: 11.94 kB / 0.5844 GB, free: 42.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005193/0.7932, allocations: 136.2 kB / 0.5845 GB, free: 42.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001855/0.7934, allocations: 60.81 kB / 0.5846 GB, free: 42.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.193e-05/0.7934, allocations: 20 kB / 0.5846 GB, free: 42.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009808/0.7944, allocations: 1.581 MB / 0.5861 GB, free: 40.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.7944, allocations: 11.94 kB / 0.5861 GB, free: 40.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.7958, allocations: 1.442 MB / 0.5875 GB, free: 39.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.796, allocations: 200.2 kB / 0.5877 GB, free: 38.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.017e-05/0.7961, allocations: 23.98 kB / 0.5878 GB, free: 38.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000451/0.7966, allocations: 55.91 kB / 0.5878 GB, free: 38.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.7967, allocations: 67.81 kB / 0.5879 GB, free: 38.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.7967, allocations: 24 kB / 0.5879 GB, free: 38.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003671/0.7971, allocations: 357.5 kB / 0.5882 GB, free: 38.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.7971, allocations: 3.938 kB / 0.5882 GB, free: 38.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009466/0.7981, allocations: 260.7 kB / 0.5885 GB, free: 38.13 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * 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.0001881/0.7983, allocations: 135.2 kB / 0.5886 GB, free: 37.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.7998, allocations: 1.111 MB / 0.5897 GB, free: 36.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.7998, allocations: 0 / 0.5897 GB, free: 36.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005745/0.8004, allocations: 471.4 kB / 0.5902 GB, free: 36.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006821/0.8011, allocations: 128.5 kB / 0.5903 GB, free: 36.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.8029, allocations: 1.278 MB / 0.5915 GB, free: 34.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.8033, allocations: 0.9869 MB / 0.5925 GB, free: 33.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006344/0.804, allocations: 187.1 kB / 0.5927 GB, free: 33.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.8041, allocations: 43.42 kB / 0.5927 GB, free: 33.64 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.8041, allocations: 0 / 0.5927 GB, free: 33.64 MB / 378.7 MB Notification: Performance of Templates: time 0.01241/0.8165, allocations: 8.506 MB / 0.601 GB, free: 25.14 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1)