Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.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.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001471/0.001471, allocations: 189 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.3 MB / 213.7 MB, free: 1.75 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 90.62 kB / 261.8 MB, free: 1.68 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.2901/0.2901, allocations: 37.99 MB / 347.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.117e-05/2.118e-05, allocations: 0 / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 56.33 MB / 466.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5819/0.6922, allocations: 102.9 MB / 0.5557 GB, free: 8.719 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.6925, allocations: 84.98 kB / 0.5558 GB, free: 8.707 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08819/0.7807, allocations: 22.42 MB / 0.5777 GB, free: 6.539 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.7808, allocations: 0 / 0.5777 GB, free: 6.539 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.723e-05/0.7809, allocations: 19.94 kB / 0.5777 GB, free: 6.52 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002959/0.7838, allocations: 0.9504 MB / 0.5786 GB, free: 5.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.7839, allocations: 12.03 kB / 0.5786 GB, free: 5.559 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/0.7858, allocations: 186.2 kB / 0.5788 GB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.7877, allocations: 0.5954 MB / 0.5794 GB, free: 4.844 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.75e-05/0.7878, allocations: 19.75 kB / 0.5794 GB, free: 4.828 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.788, allocations: 36 kB / 0.5795 GB, free: 4.793 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001404/0.7894, allocations: 462.5 kB / 0.5799 GB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.7911, allocations: 0.6254 MB / 0.5805 GB, free: 4.027 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.7911, allocations: 0 / 0.5805 GB, free: 4.027 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.708e-05/0.7912, allocations: 3.953 kB / 0.5805 GB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.566e-05/0.7913, allocations: 28.88 kB / 0.5805 GB, free: 4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007104/0.7984, allocations: 2.886 MB / 0.5834 GB, free: 1.609 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.8003, allocations: 0.6274 MB / 0.584 GB, free: 1.137 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004943/0.8008, allocations: 188.5 kB / 0.5841 GB, free: 1.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.399e-05/0.8009, allocations: 8.422 kB / 0.5842 GB, free: 1.012 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.801, allocations: 38.38 kB / 0.5842 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 3.427e-06/0.801, allocations: 0 / 0.5842 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.001324/0.8023, allocations: 435.1 kB / 0.5846 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.8024, allocations: 111.2 kB / 0.5847 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007857/0.8032, allocations: 403.6 kB / 0.5851 GB, free: 216 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.8033, allocations: 29.64 kB / 0.5851 GB, free: 180 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.8037, allocations: 386.2 kB / 0.5855 GB, free: 15.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.804, allocations: 169.9 kB / 0.5857 GB, free: 15.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.804, allocations: 3.938 kB / 0.5857 GB, free: 15.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.8042, allocations: 336.7 kB / 0.586 GB, free: 15.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/0.8047, allocations: 162.4 kB / 0.5861 GB, free: 15.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005535/0.8053, allocations: 293.5 kB / 0.5864 GB, free: 15.06 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005519/0.8058, allocations: 201.5 kB / 0.5866 GB, free: 14.94 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/0.8058, allocations: 4 kB / 0.5866 GB, free: 14.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00201/0.8079, allocations: 0.6183 MB / 0.5872 GB, free: 14.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005929/0.8085, allocations: 1.386 MB / 0.5886 GB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.8085, allocations: 4 kB / 0.5886 GB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/0.8091, allocations: 119.9 kB / 0.5887 GB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.8103, allocations: 143.5 kB / 0.5888 GB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009173/0.8113, allocations: 0.7223 MB / 0.5895 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009387/0.8122, allocations: 71.48 kB / 0.5896 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.624e-05/0.8123, allocations: 19.44 kB / 0.5896 GB, free: 12.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.8123, allocations: 4 kB / 0.5896 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001583/0.8139, allocations: 0.5125 MB / 0.5901 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.814, allocations: 0 / 0.5901 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004115/0.8144, allocations: 101 kB / 0.5902 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.8156, allocations: 142.2 kB / 0.5904 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/0.8185, allocations: 1.93 MB / 0.5922 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006789/0.8192, allocations: 47.73 kB / 0.5923 GB, free: 9.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.288e-05/0.8193, allocations: 30.11 kB / 0.5923 GB, free: 9.648 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: powerPlant.primaryControl.addFF.y:VARIABLE() "Connector of Real output signal" type: Real 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 (62): * Single equations (assignments): 61 * 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.0002669/0.8196, allocations: 116.8 kB / 0.5924 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/0.8198, allocations: 59.25 kB / 0.5925 GB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.8211, allocations: 479.8 kB / 0.5929 GB, free: 9.145 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.8211, allocations: 8 kB / 0.5929 GB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.8211, allocations: 0 / 0.5929 GB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.758e-05/0.8212, allocations: 3.984 kB / 0.5929 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002777/0.824, allocations: 1.117 MB / 0.594 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.824, allocations: 0 / 0.594 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/0.8253, allocations: 135.3 kB / 0.5942 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.8253, allocations: 4 kB / 0.5942 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.854e-05/0.8254, allocations: 7.062 kB / 0.5942 GB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.8254, allocations: 0 / 0.5942 GB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.8254, allocations: 0 / 0.5942 GB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.8272, allocations: 0.7964 MB / 0.595 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003752/0.8276, allocations: 185.3 kB / 0.5951 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.8278, allocations: 7.234 kB / 0.5951 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007461/0.8285, allocations: 43.89 kB / 0.5952 GB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.8287, allocations: 51.41 kB / 0.5952 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/0.8287, allocations: 14.12 kB / 0.5952 GB, free: 7.281 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005338/0.8293, allocations: 305.4 kB / 0.5955 GB, free: 7.059 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8293, allocations: 0 / 0.5955 GB, free: 7.059 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001287/0.8306, allocations: 255.6 kB / 0.5958 GB, free: 6.809 MB / 394.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 (52): * Single equations (assignments): 51 * 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.0002481/0.8309, allocations: 119.1 kB / 0.5959 GB, free: 6.684 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002304/0.8332, allocations: 0.829 MB / 0.5967 GB, free: 6.086 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.8332, allocations: 0 / 0.5967 GB, free: 6.086 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005579/0.8338, allocations: 212.2 kB / 0.5969 GB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.8349, allocations: 115.9 kB / 0.597 GB, free: 5.852 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/0.8388, allocations: 1.198 MB / 0.5982 GB, free: 4.707 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008183/0.8396, allocations: 0.9573 MB / 0.5991 GB, free: 3.723 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/0.84, allocations: 55.42 kB / 0.5992 GB, free: 3.668 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.84, allocations: 0 / 0.5992 GB, free: 3.668 MB / 394.7 MB Notification: Performance of Templates: time 0.02324/0.8633, allocations: 9.248 MB / 0.6082 GB, free: 10.42 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.sim & ./PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe 2>&1)