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.001742/0.001742, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001487/0.001487, allocations: 157.6 kB / 23.01 MB, free: 4.602 MB / 14.72 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.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 8.922 MB / 190.1 MB " [Timeout remaining time 178] 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.1016/0.1016, allocations: 17.8 MB / 277.6 MB, free: 15.35 MB / 270.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 63.91 kB / 414.6 MB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1322, allocations: 59.55 MB / 474.2 MB, free: 8.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.004618/0.1368, allocations: 2.78 MB / 477 MB, free: 6.039 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.139, allocations: 1.021 MB / 478 MB, free: 5.008 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002686/0.1393, allocations: 23.81 kB / 478 MB, free: 4.984 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.1395, allocations: 91.05 kB / 478.1 MB, free: 4.895 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.1398, allocations: 79.16 kB / 478.2 MB, free: 4.816 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007981/0.1406, allocations: 335 kB / 478.5 MB, free: 4.492 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006569/0.1412, allocations: 0.5545 MB / 479.1 MB, free: 3.934 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003436/0.1416, allocations: 151.6 kB / 479.2 MB, free: 3.785 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.1418, allocations: 207 kB / 479.4 MB, free: 3.582 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.142, allocations: 182.8 kB / 479.6 MB, free: 3.402 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.458e-05/0.1421, allocations: 48 kB / 479.6 MB, free: 3.355 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.131e-05/0.1422, allocations: 44 kB / 479.7 MB, free: 3.312 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1423, allocations: 103.6 kB / 479.8 MB, free: 3.211 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.1425, allocations: 178.9 kB / 480 MB, free: 3.035 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006417/0.1431, allocations: 0.5405 MB / 480.5 MB, free: 2.492 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1431, allocations: 7.938 kB / 480.5 MB, free: 2.484 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1431, allocations: 0 / 480.5 MB, free: 2.484 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.1431, allocations: 0 / 480.5 MB, free: 2.484 MB / 446.1 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.001325/0.1444, allocations: 0.7579 MB / 481.3 MB, free: 1.691 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.1445, allocations: 8.922 kB / 481.3 MB, free: 1.684 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.1446, allocations: 68.52 kB / 481.3 MB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007171/0.1453, allocations: 370.9 kB / 481.7 MB, free: 1.238 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/0.1454, allocations: 29.38 kB / 481.7 MB, free: 1.207 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.864e-05/0.1454, allocations: 40.36 kB / 481.8 MB, free: 1.168 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008595/0.1463, allocations: 0.5315 MB / 482.3 MB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1463, allocations: 0 / 482.3 MB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.1464, allocations: 16 kB / 482.3 MB, free: 0.5547 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.1464, allocations: 8 kB / 482.3 MB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006023/0.147, allocations: 286.4 kB / 482.6 MB, free: 272 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2766/0.4235, allocations: 1.326 MB / 483.9 MB, free: 51.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007046/0.4243, allocations: 326.2 kB / 484.3 MB, free: 51.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/0.4245, allocations: 127.8 kB / 484.4 MB, free: 51.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.4245, allocations: 6.703 kB / 484.4 MB, free: 51.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.4246, allocations: 42.39 kB / 484.4 MB, free: 51.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.134e-06/0.4246, allocations: 0 / 484.4 MB, free: 51.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008499/0.4254, allocations: 401.2 kB / 484.8 MB, free: 51.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.4255, allocations: 161.4 kB / 485 MB, free: 51.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.4258, allocations: 393.1 kB / 485.4 MB, free: 51.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.4258, allocations: 29.08 kB / 485.4 MB, free: 51.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.426, allocations: 271.3 kB / 485.7 MB, free: 51.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.825e-05/0.426, allocations: 107.3 kB / 485.8 MB, free: 50.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.302e-05/0.4261, allocations: 62.81 kB / 485.8 MB, free: 50.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.877e-05/0.4262, allocations: 357.2 kB / 486.2 MB, free: 50.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.4264, allocations: 114.3 kB / 486.3 MB, free: 50.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/0.4268, allocations: 313.3 kB / 486.6 MB, free: 50.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.4281, allocations: 0.5156 MB / 487.1 MB, free: 50.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4281, allocations: 0 / 487.1 MB, free: 50.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005962/0.4287, allocations: 389.5 kB / 487.5 MB, free: 50.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.4287, allocations: 8 kB / 487.5 MB, free: 50.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.4287, allocations: 2.5 kB / 487.5 MB, free: 50.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.4287, allocations: 9.719 kB / 487.5 MB, free: 50.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.4291, allocations: 71.81 kB / 487.6 MB, free: 50.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.4291, allocations: 6.844 kB / 487.6 MB, free: 50.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.4293, allocations: 34.94 kB / 487.6 MB, free: 50.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.4293, allocations: 14.55 kB / 487.6 MB, free: 50.12 MB / 446.1 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.0003164/0.4297, allocations: 211.9 kB / 487.8 MB, free: 49.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002258/0.4299, allocations: 282.1 kB / 488.1 MB, free: 49.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009455/0.4308, allocations: 477.1 kB / 488.6 MB, free: 49.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.4308, allocations: 0 / 488.6 MB, free: 49.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.000455/0.4313, allocations: 327.9 kB / 488.9 MB, free: 49.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.4313, allocations: 5.938 kB / 488.9 MB, free: 49.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.4313, allocations: 9.031 kB / 488.9 MB, free: 49.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/0.4313, allocations: 2.938 kB / 488.9 MB, free: 49.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.4315, allocations: 58.78 kB / 489 MB, free: 49.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.4315, allocations: 7.031 kB / 489 MB, free: 49.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.4317, allocations: 37.97 kB / 489 MB, free: 49.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.4317, allocations: 6.812 kB / 489 MB, free: 49.31 MB / 446.1 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 (PIe.I.local_reset,PIp.I.local_reset,S.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.0001342/0.4319, allocations: 209.3 kB / 489.2 MB, free: 49.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.4319, allocations: 47.41 kB / 489.3 MB, free: 49.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.901e-05/0.432, allocations: 52.08 kB / 489.3 MB, free: 49.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.432, allocations: 3.188 kB / 489.3 MB, free: 49.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.432, allocations: 3.938 kB / 489.3 MB, free: 49.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4321, allocations: 1.969 kB / 489.3 MB, free: 49.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003844/0.4324, allocations: 341.2 kB / 489.7 MB, free: 48.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4324, allocations: 3.516 kB / 489.7 MB, free: 48.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.4327, allocations: 49.55 kB / 489.7 MB, free: 48.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4327, allocations: 3.312 kB / 489.7 MB, free: 48.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.4328, allocations: 4 kB / 489.7 MB, free: 48.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4328, allocations: 7.188 kB / 489.7 MB, free: 48.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4328, allocations: 0 / 489.7 MB, free: 48.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008103/0.4336, allocations: 0.5448 MB / 490.3 MB, free: 48.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.4337, allocations: 75.31 kB / 490.3 MB, free: 48.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.4337, allocations: 4 kB / 490.3 MB, free: 48.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.4339, allocations: 22.98 kB / 490.4 MB, free: 48.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.434, allocations: 24.22 kB / 490.4 MB, free: 48.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.434, allocations: 6.094 kB / 490.4 MB, free: 48.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002166/0.4342, allocations: 268.6 kB / 490.7 MB, free: 48.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4342, allocations: 0 / 490.7 MB, free: 48.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005121/0.4347, allocations: 147.9 kB / 490.8 MB, free: 48.31 MB / 446.1 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.0001016/0.4348, allocations: 98.81 kB / 490.9 MB, free: 48.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007616/0.4356, allocations: 400.6 kB / 491.3 MB, free: 48.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.4356, allocations: 3.031 kB / 491.3 MB, free: 48.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.4358, allocations: 124 kB / 491.4 MB, free: 48.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007291/0.4366, allocations: 133 kB / 491.5 MB, free: 48.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.438, allocations: 0.8037 MB / 492.4 MB, free: 47.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.4382, allocations: 235.9 kB / 492.6 MB, free: 47.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002369/0.4385, allocations: 46.72 kB / 492.6 MB, free: 47.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.271e-05/0.4386, allocations: 30.56 kB / 492.7 MB, free: 47.43 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4386, allocations: 0 / 492.7 MB, free: 47.43 MB / 446.1 MB Notification: Performance of Templates: time 0.009627/0.4482, allocations: 4.554 MB / 497.2 MB, free: 46.91 MB / 446.1 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=480 -s ida -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.040396661963314] Failed to read output from testmodel.py, exit status != 0: 0.4574967760127038 0.46899813399999996 0.32335251299999995 Calling exit ...