Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation.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.001935/0.001935, allocations: 100.4 kB / 16.45 MB, free: 6.449 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.002625/0.002625, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.609/1.609, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.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.1053/0.1053, allocations: 24.11 MB / 332.9 MB, free: 12.68 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.Typical_control_structures.FF_compensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation") translateModel(AES.Coursework.Typical_control_structures.FF_compensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation") [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.002579/0.002579, allocations: 71.83 kB / 468.3 MB, free: 8.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.467, allocations: 59.56 MB / 0.5155 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.003935/0.471, allocations: 1.934 MB / 0.5174 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.4723, allocations: 0.6295 MB / 0.518 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.4725, allocations: 6.188 kB / 0.518 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003744/0.4728, allocations: 53.28 kB / 0.5181 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.473, allocations: 46.81 kB / 0.5181 GB, free: 8.176 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.4733, allocations: 119.4 kB / 0.5182 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004327/0.4737, allocations: 309.2 kB / 0.5185 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.4739, allocations: 42.88 kB / 0.5186 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.4741, allocations: 123.9 kB / 0.5187 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.4743, allocations: 131.2 kB / 0.5188 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.4744, allocations: 21.52 kB / 0.5188 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.76e-05/0.4744, allocations: 18.25 kB / 0.5189 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.4745, allocations: 65.06 kB / 0.5189 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.695e-05/0.4746, allocations: 93.42 kB / 0.519 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.4749, allocations: 202.7 kB / 0.5192 GB, free: 7.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4749, allocations: 1.312 kB / 0.5192 GB, free: 7.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4749, allocations: 0 / 0.5192 GB, free: 7.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.4749, allocations: 0 / 0.5192 GB, free: 7.684 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001365/0.4763, allocations: 0.5969 MB / 0.5198 GB, free: 7.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.4763, allocations: 10.62 kB / 0.5198 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.068e-05/0.4764, allocations: 25.11 kB / 0.5198 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006106/0.477, allocations: 315.8 kB / 0.5201 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.4771, allocations: 15.31 kB / 0.5201 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.4771, allocations: 21.39 kB / 0.5202 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.4775, allocations: 194.6 kB / 0.5203 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4775, allocations: 3.938 kB / 0.5203 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.4775, allocations: 13.17 kB / 0.5204 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.4775, allocations: 9.031 kB / 0.5204 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/0.4779, allocations: 151 kB / 0.5205 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.479, allocations: 0.7429 MB / 0.5212 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005477/0.4796, allocations: 213.3 kB / 0.5214 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.4798, allocations: 81.55 kB / 0.5215 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.4798, allocations: 2.594 kB / 0.5215 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.4798, allocations: 42.39 kB / 0.5216 GB, free: 6.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.262e-06/0.4798, allocations: 3.938 kB / 0.5216 GB, free: 6.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006553/0.4805, allocations: 261.6 kB / 0.5218 GB, free: 5.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.4805, allocations: 53.47 kB / 0.5219 GB, free: 5.863 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005792/0.4811, allocations: 297.3 kB / 0.5222 GB, free: 5.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.4811, allocations: 30.8 kB / 0.5222 GB, free: 5.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.632e-05/0.4812, allocations: 140.4 kB / 0.5223 GB, free: 5.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.4813, allocations: 75.52 kB / 0.5224 GB, free: 5.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.118e-05/0.4813, allocations: 53.62 kB / 0.5224 GB, free: 5.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.4815, allocations: 338.5 kB / 0.5228 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.4816, allocations: 68.73 kB / 0.5228 GB, free: 5.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.4819, allocations: 136 kB / 0.523 GB, free: 5.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.4835, allocations: 462.2 kB / 0.5234 GB, free: 4.828 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4835, allocations: 0 / 0.5234 GB, free: 4.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005572/0.484, allocations: 284.2 kB / 0.5237 GB, free: 4.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.484, allocations: 11.31 kB / 0.5237 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.484, allocations: 2.344 kB / 0.5237 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.4841, allocations: 2.25 kB / 0.5237 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.4844, allocations: 61.38 kB / 0.5237 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.4844, allocations: 3.031 kB / 0.5237 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.4847, allocations: 46.33 kB / 0.5238 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.4847, allocations: 11.81 kB / 0.5238 GB, free: 4.672 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: M.y:VARIABLE(flow=false start = M.y_start fixed = true ) \"Connector of Real output signal\" type: Real PI.xfb:VARIABLE(fixed = true ) type: Real P.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: 7 * Number of states: 0 () * Number of discrete variables: 5 (PI.LOsat,PI.HIsat,PI.iNoDec,PI.iNoInc,PI.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002264/0.4849, allocations: 149.7 kB / 0.5239 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.485, allocations: 25.08 kB / 0.524 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00053/0.4855, allocations: 232.6 kB / 0.5242 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4855, allocations: 2.281 kB / 0.5242 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4855, allocations: 0 / 0.5242 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.4855, allocations: 4.844 kB / 0.5242 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.4859, allocations: 308.9 kB / 0.5245 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4859, allocations: 0.5156 kB / 0.5245 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.4862, allocations: 48.97 kB / 0.5245 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.4862, allocations: 4.969 kB / 0.5245 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.4862, allocations: 2.031 kB / 0.5245 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4862, allocations: 5.281 kB / 0.5245 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4862, allocations: 0 / 0.5245 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/0.4869, allocations: 409.4 kB / 0.5249 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.4869, allocations: 107.3 kB / 0.525 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.487, allocations: 7 kB / 0.525 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.4872, allocations: 30.56 kB / 0.5251 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.4873, allocations: 16.34 kB / 0.5251 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.4873, allocations: 4.328 kB / 0.5251 GB, free: 3.781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000435/0.4878, allocations: 223.8 kB / 0.5253 GB, free: 3.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4878, allocations: 0 / 0.5253 GB, free: 3.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002884/0.4881, allocations: 40.09 kB / 0.5253 GB, free: 3.664 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (M.y,C.x_scaled[1],P.x_scaled[1],PI.xfb,PI.xBias,PI.u,PI.csfil) * Number of discrete variables: 2 (PI.HIsat,PI.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.0001101/0.4882, allocations: 106.1 kB / 0.5254 GB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000411/0.4886, allocations: 186.9 kB / 0.5256 GB, free: 3.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4886, allocations: 0 / 0.5256 GB, free: 3.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.4888, allocations: 91.42 kB / 0.5257 GB, free: 3.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.4891, allocations: 33.86 kB / 0.5257 GB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009836/0.4901, allocations: 0.5161 MB / 0.5263 GB, free: 3.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.4903, allocations: 0.7598 MB / 0.527 GB, free: 2.453 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.4905, allocations: 36.95 kB / 0.527 GB, free: 2.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.13e-05/0.4906, allocations: 21.86 kB / 0.527 GB, free: 2.441 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4906, allocations: 0 / 0.527 GB, free: 2.441 MB / 382.1 MB Notification: Performance of Templates: time 0.00714/0.4977, allocations: 2.217 MB / 0.5292 GB, free: 2.266 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.443674254929647] Failed to read output from testmodel.py, exit status != 0: 0.5070882688742131 0.520289027 0.042117968000000006 Calling exit ...