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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Coursework.ElecSys_generator_models.TurbineFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.TurbineFollows") translateModel(AES.Coursework.ElecSys_generator_models.TurbineFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.TurbineFollows") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1651/0.1651, allocations: 21.46 MB / 36.42 MB, free: 1.176 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 181.8 kB / 42.64 MB, free: 3.996 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.4 MB / 254.1 MB, free: 15.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007234/0.0007237, allocations: 94.09 kB / 307.8 MB, free: 11.3 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002986, allocations: 11 kB / 373.3 MB, free: 59.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09264/0.09295, allocations: 52.96 MB / 426.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.003263/0.09627, allocations: 2.543 MB / 428.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.09824, allocations: 1.018 MB / 429.8 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004413/0.0987, allocations: 19.88 kB / 429.8 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.09894, allocations: 55.39 kB / 429.9 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.09917, allocations: 71.38 kB / 429.9 MB, free: 9.562 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006401/0.09982, allocations: 232.4 kB / 430.1 MB, free: 9.336 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005233/0.1004, allocations: 495.9 kB / 430.6 MB, free: 8.852 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.1006, allocations: 167.5 kB / 430.8 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.1008, allocations: 135.2 kB / 430.9 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.101, allocations: 146.9 kB / 431.1 MB, free: 8.406 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.598e-05/0.1011, allocations: 12 kB / 431.1 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.86e-05/0.1011, allocations: 16 kB / 431.1 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.1012, allocations: 63.58 kB / 431.2 MB, free: 8.316 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.1012, allocations: 97.45 kB / 431.3 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.1015, allocations: 379.1 kB / 431.6 MB, free: 7.844 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1015, allocations: 3.938 kB / 431.6 MB, free: 7.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1015, allocations: 0 / 431.6 MB, free: 7.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.1015, allocations: 0 / 431.6 MB, free: 7.84 MB / 298.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.0009052/0.1024, allocations: 0.7401 MB / 432.4 MB, free: 7.051 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.1024, allocations: 8.031 kB / 432.4 MB, free: 7.043 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.943e-05/0.1026, allocations: 67.25 kB / 432.4 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.103, allocations: 408.7 kB / 432.8 MB, free: 6.535 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.103, allocations: 29 kB / 432.9 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.1031, allocations: 36 kB / 432.9 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006663/0.1037, allocations: 423.5 kB / 433.3 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1038, allocations: 0 / 433.3 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.1038, allocations: 16 kB / 433.3 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.1038, allocations: 8 kB / 433.3 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005416/0.1044, allocations: 302.4 kB / 433.6 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.1061, allocations: 1.547 MB / 435.2 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007061/0.1068, allocations: 370.2 kB / 435.5 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.1071, allocations: 149.2 kB / 435.7 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.483e-05/0.1071, allocations: 4.234 kB / 435.7 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.1071, allocations: 38.75 kB / 435.7 MB, free: 3.523 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.904e-06/0.1071, allocations: 0 / 435.7 MB, free: 3.523 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008334/0.108, allocations: 435.6 kB / 436.2 MB, free: 3.094 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.108, allocations: 110.8 kB / 436.3 MB, free: 2.961 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.1084, allocations: 422 kB / 436.7 MB, free: 2.539 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.1084, allocations: 33.7 kB / 436.7 MB, free: 2.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.1086, allocations: 260.1 kB / 437 MB, free: 2.242 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.057e-05/0.1087, allocations: 107.1 kB / 437.1 MB, free: 2.137 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/0.1087, allocations: 4 kB / 437.1 MB, free: 2.133 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.1088, allocations: 358.8 kB / 437.4 MB, free: 1.773 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.109, allocations: 120 kB / 437.5 MB, free: 1.656 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.1093, allocations: 197.1 kB / 437.7 MB, free: 1.434 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.1096, allocations: 140.8 kB / 437.9 MB, free: 1.297 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1096, allocations: 0 / 437.9 MB, free: 1.297 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006167/0.1102, allocations: 395 kB / 438.3 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.9e-05/0.1103, allocations: 147.2 kB / 438.4 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1103, allocations: 0 / 438.4 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1103, allocations: 4 kB / 438.4 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.1106, allocations: 71.89 kB / 438.5 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.547e-06/0.1106, allocations: 8 kB / 438.5 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.1108, allocations: 51.58 kB / 438.5 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.1109, allocations: 8 kB / 438.5 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.09e-06/0.1109, allocations: 7.938 kB / 438.5 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003518/0.1112, allocations: 268.1 kB / 438.8 MB, free: 332 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-06/0.1113, allocations: 0 / 438.8 MB, free: 332 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.118e-06/0.1113, allocations: 4 kB / 438.8 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.1115, allocations: 63.86 kB / 438.9 MB, free: 264 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1115, allocations: 7.984 kB / 438.9 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.1117, allocations: 27.7 kB / 438.9 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.1117, allocations: 16 kB / 438.9 MB, free: 212 kB / 298.7 MB Warning: Assuming fixed start value for the following 2 variables: T.y:VARIABLE(flow=false start = T.y_start fixed = true ) "Connector of Real output signal" type: Real F.y:VARIABLE(flow=false start = F.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002936/0.112, allocations: 249 kB / 439.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.255e-05/0.1121, allocations: 43.44 kB / 439.2 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.1122, allocations: 56.75 kB / 439.3 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.1122, allocations: 4 kB / 439.3 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.1123, allocations: 4 kB / 439.3 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.1123, allocations: 7.938 kB / 439.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.1128, allocations: 465.2 kB / 439.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1128, allocations: 0 / 439.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.1131, allocations: 63.91 kB / 439.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1131, allocations: 3.938 kB / 439.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.1131, allocations: 8 kB / 439.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1131, allocations: 0 / 439.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1131, allocations: 0 / 439.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009127/0.1141, allocations: 0.5731 MB / 440.4 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.1142, allocations: 148.5 kB / 440.5 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.1143, allocations: 8 kB / 440.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.1145, allocations: 19.98 kB / 440.6 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.1146, allocations: 15.98 kB / 440.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.1146, allocations: 8 kB / 440.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002782/0.1149, allocations: 290.9 kB / 440.9 MB, free: 14.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1149, allocations: 3.938 kB / 440.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004471/0.1153, allocations: 143.4 kB / 441 MB, free: 14.03 MB / 314.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 (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.0001177/0.1155, allocations: 107 kB / 441.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007967/0.1163, allocations: 432 kB / 441.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.1163, allocations: 0 / 441.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.1165, allocations: 148.2 kB / 441.7 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006486/0.1172, allocations: 113.8 kB / 441.8 MB, free: 13.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.1187, allocations: 0.9664 MB / 442.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.119, allocations: 0.8351 MB / 443.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002227/0.1193, allocations: 51.38 kB / 443.6 MB, free: 11.33 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.1194, allocations: 27.44 kB / 443.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1194, allocations: 0 / 443.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of Templates: time 0.007606/0.127, allocations: 4.052 MB / 447.7 MB, free: 7.25 MB / 314.7 MB make -j1 -f AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.makefile (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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe 2>&1)