Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009548/0.0009548, allocations: 72.95 kB / 20.74 MB, free: 3.754 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 177 kB / 24.17 MB, free: 336 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.045/1.045, allocations: 177.1 MB / 204.6 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09131/0.09131, allocations: 18.14 MB / 279.2 MB, free: 11.16 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ElecSys_generator_models.TurbineFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.TurbineFollows") translateModel(AES.Coursework.ElecSys_generator_models.TurbineFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.TurbineFollows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 304.6 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.882e-05, allocations: 4.203 kB / 304.6 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.003631/0.00366, allocations: 2.868 MB / 307.4 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.005642, allocations: 1.091 MB / 308.5 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002694/0.005911, allocations: 23.81 kB / 308.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.006173, allocations: 92.12 kB / 308.6 MB, free: 13.65 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.006373, allocations: 88.17 kB / 308.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007953/0.007168, allocations: 325.3 kB / 309 MB, free: 13.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006232/0.007791, allocations: 0.55 MB / 309.6 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003355/0.008127, allocations: 178.9 kB / 309.8 MB, free: 12.68 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.008341, allocations: 175.4 kB / 309.9 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.008527, allocations: 143.4 kB / 310.1 MB, free: 12.36 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.702e-05/0.008584, allocations: 44 kB / 310.1 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.302e-05/0.008627, allocations: 52 kB / 310.2 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.292e-05/0.0087, allocations: 111.5 kB / 310.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.008808, allocations: 131.5 kB / 310.4 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.009246, allocations: 362.5 kB / 310.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.009252, allocations: 0 / 310.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.009254, allocations: 3.938 kB / 310.8 MB, free: 11.67 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.009263, allocations: 0 / 310.8 MB, free: 11.67 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0009319/0.01019, allocations: 0.7276 MB / 311.5 MB, free: 10.92 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.01025, allocations: 8.922 kB / 311.5 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.87e-05/0.01035, allocations: 68.88 kB / 311.6 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.01078, allocations: 323.7 kB / 311.9 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.01082, allocations: 29.38 kB / 311.9 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.01087, allocations: 36.38 kB / 311.9 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.01132, allocations: 445.2 kB / 312.4 MB, free: 9.941 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.01134, allocations: 12.12 kB / 312.4 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.01136, allocations: 16.38 kB / 312.4 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.01137, allocations: 11.94 kB / 312.4 MB, free: 9.902 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.01151, allocations: 88.48 kB / 312.5 MB, free: 9.816 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.01269, allocations: 1.099 MB / 313.6 MB, free: 8.676 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.01301, allocations: 165 kB / 313.8 MB, free: 8.508 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.657e-05/0.01307, allocations: 41.31 kB / 313.8 MB, free: 8.465 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.01311, allocations: 8.234 kB / 313.8 MB, free: 8.457 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.01314, allocations: 34.8 kB / 313.9 MB, free: 8.414 MB / 282.7 MB Notification: Performance of pre-optimization done (n=28): time 2.204e-06/0.01314, allocations: 0 / 313.9 MB, free: 8.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.0003043/0.01345, allocations: 171.6 kB / 314 MB, free: 8.242 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/0.01353, allocations: 162.2 kB / 314.2 MB, free: 8.047 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.01379, allocations: 351.3 kB / 314.5 MB, free: 7.688 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.01381, allocations: 33.7 kB / 314.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.01394, allocations: 217.2 kB / 314.8 MB, free: 7.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/0.01399, allocations: 107.1 kB / 314.9 MB, free: 7.324 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.176e-05/0.01408, allocations: 69.61 kB / 314.9 MB, free: 7.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.0142, allocations: 362.7 kB / 315.3 MB, free: 6.887 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.502e-05/0.01427, allocations: 40.92 kB / 315.3 MB, free: 6.844 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.01441, allocations: 219.4 kB / 315.5 MB, free: 6.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.01463, allocations: 193 kB / 315.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.01464, allocations: 4 kB / 315.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002382/0.01487, allocations: 195.3 kB / 315.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.0149, allocations: 4 kB / 315.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.0149, allocations: 4 kB / 315.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.01492, allocations: 0 / 315.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.01511, allocations: 72.12 kB / 316 MB, free: 6.078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.01512, allocations: 15.88 kB / 316 MB, free: 6.062 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.01523, allocations: 39.77 kB / 316.1 MB, free: 6.023 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.01524, allocations: 12 kB / 316.1 MB, free: 6.012 MB / 282.7 MB Warning: Assuming fixed start value for the following 2 variables: F.y:VARIABLE(flow=false start = F.y_start fixed = true ) \"Connector of Real output signal\" type: Real T.y:VARIABLE(flow=false start = T.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002129/0.01545, allocations: 116.4 kB / 316.2 MB, free: 5.895 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00015/0.0156, allocations: 222 kB / 316.4 MB, free: 5.617 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001996/0.0158, allocations: 187.3 kB / 316.6 MB, free: 5.406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.01581, allocations: 0 / 316.6 MB, free: 5.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0002/0.01601, allocations: 185.3 kB / 316.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.01602, allocations: 8 kB / 316.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.01602, allocations: 4.219 kB / 316.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/0.01602, allocations: 4 kB / 316.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.01617, allocations: 63.92 kB / 316.8 MB, free: 5.141 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.01617, allocations: 4 kB / 316.9 MB, free: 5.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.01628, allocations: 35.77 kB / 316.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.01629, allocations: 8 kB / 316.9 MB, free: 5.094 MB / 282.7 MB Warning: Assuming fixed start value for the following 2 variables: F.y:VARIABLE(flow=false start = F.y_start fixed = true ) \"Connector of Real output signal\" type: Real T.y:VARIABLE(flow=false start = T.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (S.local_reset,PIp.I.local_reset,PIe.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.01643, allocations: 196.2 kB / 317.1 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.666e-05/0.01649, allocations: 47.89 kB / 317.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.558e-05/0.01656, allocations: 48.62 kB / 317.2 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.01657, allocations: 0 / 317.2 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.01658, allocations: 7.938 kB / 317.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.01658, allocations: 3.984 kB / 317.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.01689, allocations: 229.5 kB / 317.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01689, allocations: 0 / 317.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.01705, allocations: 47.97 kB / 317.5 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.01706, allocations: 4 kB / 317.5 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.01707, allocations: 4 kB / 317.5 MB, free: 4.492 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.01708, allocations: 7.938 kB / 317.5 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01708, allocations: 7.938 kB / 317.5 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.01742, allocations: 301.2 kB / 317.8 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.2e-05/0.0175, allocations: 47.61 kB / 317.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.01753, allocations: 4 kB / 317.8 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.01764, allocations: 15.98 kB / 317.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.01769, allocations: 19.95 kB / 317.9 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.0177, allocations: 4 kB / 317.9 MB, free: 4.078 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.01781, allocations: 148.7 kB / 318 MB, free: 3.934 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01781, allocations: 0 / 318 MB, free: 3.934 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002908/0.0181, allocations: 155.5 kB / 318.2 MB, free: 3.781 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (F.y,S.y,T.y,PIp.I.y,PIe.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0001278/0.01822, allocations: 84.36 kB / 318.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002843/0.01851, allocations: 220 kB / 318.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.01852, allocations: 4 kB / 318.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.632e-05/0.01859, allocations: 77.55 kB / 318.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.01896, allocations: 132 kB / 318.7 MB, free: 3.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009133/0.01987, allocations: 0.7253 MB / 319.4 MB, free: 2.508 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.028e-05/0.01994, allocations: 109.6 kB / 319.5 MB, free: 2.383 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.00013/0.02007, allocations: 47.27 kB / 319.5 MB, free: 2.336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.02027, allocations: 143.3 kB / 319.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of SimCode: time 1.232e-06/0.02027, allocations: 0 / 319.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of Templates: time 0.008223/0.0285, allocations: 4.956 MB / 324.6 MB, free: 13.38 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.makefile [Timeout 660] (rm -f AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe ; mkfifo AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe >> ../files/AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.sim & ./AES_AES.Coursework.ElecSys_generator_models.TurbineFollows -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9702347149141133]