Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 106.7 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1005/0.1005, allocations: 22.69 MB / 327.7 MB, free: 2.938 MB / 254.1 MB [Timeout remaining time 90] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator") translateModel(AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 67.88 kB / 461 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.1009, allocations: 58.02 MB / 0.5069 GB, free: 5.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator): time 0.002341/0.1032, allocations: 1.01 MB / 0.5079 GB, free: 4.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.1049, allocations: 1.225 MB / 0.5091 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.613e-05/0.105, allocations: 4 kB / 0.5091 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.1054, allocations: 43.75 kB / 0.5091 GB, free: 3.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.1055, allocations: 47.7 kB / 0.5091 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.1058, allocations: 83.88 kB / 0.5092 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.1061, allocations: 215.6 kB / 0.5094 GB, free: 3.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1062, allocations: 25.42 kB / 0.5095 GB, free: 2.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.1063, allocations: 87.73 kB / 0.5095 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.1065, allocations: 107.5 kB / 0.5096 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.1066, allocations: 11.94 kB / 0.5097 GB, free: 2.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.413e-05/0.1066, allocations: 12 kB / 0.5097 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.542e-05/0.1067, allocations: 39.84 kB / 0.5097 GB, free: 2.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.716e-05/0.1067, allocations: 55.59 kB / 0.5098 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.1069, allocations: 135.3 kB / 0.5099 GB, free: 2.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1069, allocations: 0 / 0.5099 GB, free: 2.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1069, allocations: 0 / 0.5099 GB, free: 2.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1069, allocations: 0 / 0.5099 GB, free: 2.535 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001095/0.108, allocations: 0.5143 MB / 0.5104 GB, free: 1.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.1081, allocations: 12.03 kB / 0.5104 GB, free: 1.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.1081, allocations: 16.84 kB / 0.5104 GB, free: 1.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005647/0.1087, allocations: 296.7 kB / 0.5107 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.1087, allocations: 8.375 kB / 0.5107 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.1087, allocations: 12.33 kB / 0.5107 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.1089, allocations: 124.5 kB / 0.5108 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.109, allocations: 0 / 0.5108 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.109, allocations: 4 kB / 0.5108 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.109, allocations: 4 kB / 0.5108 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.1092, allocations: 83.88 kB / 0.5109 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007858/0.11, allocations: 0.579 MB / 0.5115 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.1103, allocations: 134.5 kB / 0.5116 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.876e-05/0.1104, allocations: 44.83 kB / 0.5117 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.1104, allocations: 8 kB / 0.5117 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.1105, allocations: 34.69 kB / 0.5117 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.1105, allocations: 0 / 0.5117 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003812/0.1109, allocations: 169.5 kB / 0.5119 GB, free: 328 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.1109, allocations: 51.41 kB / 0.5119 GB, free: 264 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1868/0.2977, allocations: 254.9 kB / 0.5122 GB, free: 15.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.2978, allocations: 28.14 kB / 0.5122 GB, free: 15.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.483e-05/0.2979, allocations: 118.6 kB / 0.5123 GB, free: 15.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.2979, allocations: 38.09 kB / 0.5123 GB, free: 15.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/0.298, allocations: 29 kB / 0.5124 GB, free: 15.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.934e-05/0.298, allocations: 329.8 kB / 0.5127 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.2981, allocations: 38.44 kB / 0.5127 GB, free: 15.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.672e-05/0.2982, allocations: 64.41 kB / 0.5128 GB, free: 15.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008245/0.299, allocations: 242.7 kB / 0.513 GB, free: 15.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.2991, allocations: 7.312 kB / 0.513 GB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002877/0.2993, allocations: 167.1 kB / 0.5132 GB, free: 15.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2994, allocations: 10.97 kB / 0.5132 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2994, allocations: 1 kB / 0.5132 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.2994, allocations: 4.656 kB / 0.5132 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.2995, allocations: 22.19 kB / 0.5132 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2995, allocations: 5.891 kB / 0.5132 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.2997, allocations: 35.69 kB / 0.5132 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.2997, allocations: 4 kB / 0.5132 GB, free: 15.21 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: g.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Cps.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (N.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001202/0.2998, allocations: 130.8 kB / 0.5134 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.2999, allocations: 15.59 kB / 0.5134 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.639e-05/0.2999, allocations: 28.72 kB / 0.5134 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2999, allocations: 1.75 kB / 0.5134 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2999, allocations: 0.5312 kB / 0.5134 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2999, allocations: 7.906 kB / 0.5134 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.3001, allocations: 238.3 kB / 0.5137 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3001, allocations: 3.141 kB / 0.5137 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.3003, allocations: 15.67 kB / 0.5137 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3003, allocations: 0 / 0.5137 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.3003, allocations: 9.781 kB / 0.5137 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3003, allocations: 3.656 kB / 0.5137 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3003, allocations: 3.656 kB / 0.5137 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.3006, allocations: 285.6 kB / 0.514 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.3007, allocations: 92.91 kB / 0.514 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.3007, allocations: 9.922 kB / 0.5141 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.3009, allocations: 22.23 kB / 0.5141 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.3009, allocations: 6.188 kB / 0.5141 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.3009, allocations: 3.297 kB / 0.5141 GB, free: 14.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003492/0.3013, allocations: 195.4 kB / 0.5143 GB, free: 14.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3013, allocations: 0 / 0.5143 GB, free: 14.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.3015, allocations: 29.61 kB / 0.5143 GB, free: 14.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (N.y,Cps.x_scaled[1],g.x_scaled[1]) * 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 (10): * Single equations (assignments): 10 * 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 8.147e-05/0.3016, allocations: 100.9 kB / 0.5144 GB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.3019, allocations: 107.2 kB / 0.5145 GB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3019, allocations: 1.094 kB / 0.5145 GB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.33e-05/0.302, allocations: 45.03 kB / 0.5145 GB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.3023, allocations: 30 kB / 0.5146 GB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005862/0.3029, allocations: 366.3 kB / 0.5149 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.303, allocations: 0.7249 MB / 0.5156 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.303, allocations: 15.19 kB / 0.5156 GB, free: 13.57 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.303, allocations: 0 / 0.5156 GB, free: 13.57 MB / 382.1 MB Notification: Performance of Templates: time 0.003481/0.3065, allocations: 1.928 MB / 0.5175 GB, free: 13.48 MB / 382.1 MB [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.makefile [Timeout 660] (rm -f AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.pipe ; mkfifo AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.pipe >> ../files/AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.sim & ./AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.pipe 2>&1) [Timeout 480]