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.001889/0.001889, allocations: 92.42 kB / 20.46 MB, free: 1.246 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.002393/0.002393, allocations: 220.8 kB / 23.77 MB, free: 4.422 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.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1095/0.1095, allocations: 24.04 MB / 338 MB, free: 11.45 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.002198/0.002198, allocations: 71.88 kB / 475.1 MB, free: 5.926 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3024, allocations: 59.57 MB / 0.5221 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.002737/0.3052, allocations: 1.866 MB / 0.5239 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.3062, allocations: 0.592 MB / 0.5245 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.554e-05/0.3063, allocations: 6.562 kB / 0.5245 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.3066, allocations: 56.78 kB / 0.5246 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.3067, allocations: 51.47 kB / 0.5246 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.307, allocations: 119.2 kB / 0.5247 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000434/0.3074, allocations: 352.6 kB / 0.5251 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.3076, allocations: 38.94 kB / 0.5251 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.3077, allocations: 135.7 kB / 0.5252 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.3079, allocations: 125.4 kB / 0.5254 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.315e-05/0.308, allocations: 22.03 kB / 0.5254 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.608e-05/0.308, allocations: 19.31 kB / 0.5254 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.442e-05/0.3081, allocations: 67.34 kB / 0.5255 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.229e-05/0.3081, allocations: 73.38 kB / 0.5255 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.3084, allocations: 201.1 kB / 0.5257 GB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3084, allocations: 3.938 kB / 0.5257 GB, free: 8.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3084, allocations: 1.062 kB / 0.5257 GB, free: 8.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.3084, allocations: 0 / 0.5257 GB, free: 8.188 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.001177/0.3095, allocations: 0.5153 MB / 0.5262 GB, free: 7.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.3096, allocations: 9.578 kB / 0.5262 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.737e-05/0.3096, allocations: 29.69 kB / 0.5263 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.3102, allocations: 262 kB / 0.5265 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.3102, allocations: 19.28 kB / 0.5265 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.3102, allocations: 16.38 kB / 0.5266 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.3106, allocations: 198.8 kB / 0.5267 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3106, allocations: 1.438 kB / 0.5267 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.3106, allocations: 5.406 kB / 0.5268 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3106, allocations: 6.781 kB / 0.5268 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.3109, allocations: 150.6 kB / 0.5269 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009233/0.3119, allocations: 0.6336 MB / 0.5275 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.3124, allocations: 218.2 kB / 0.5277 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.3125, allocations: 81.7 kB / 0.5278 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.3126, allocations: 2.125 kB / 0.5278 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.3126, allocations: 33.34 kB / 0.5278 GB, free: 6.801 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.3126, allocations: 0 / 0.5278 GB, free: 6.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.000547/0.3131, allocations: 271.4 kB / 0.5281 GB, free: 6.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.3131, allocations: 54.73 kB / 0.5282 GB, free: 6.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004658/0.3136, allocations: 295.8 kB / 0.5284 GB, free: 6.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.3136, allocations: 26.92 kB / 0.5285 GB, free: 6.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.3137, allocations: 141.2 kB / 0.5286 GB, free: 6.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.3137, allocations: 82.88 kB / 0.5287 GB, free: 6.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.205e-05/0.3138, allocations: 50.8 kB / 0.5287 GB, free: 6.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.732e-05/0.3139, allocations: 336.4 kB / 0.529 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.314, allocations: 69.94 kB / 0.5291 GB, free: 5.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.3142, allocations: 134.2 kB / 0.5292 GB, free: 5.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.3155, allocations: 453.4 kB / 0.5297 GB, free: 5.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3155, allocations: 0 / 0.5297 GB, free: 5.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004348/0.3159, allocations: 286.2 kB / 0.5299 GB, free: 5.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.316, allocations: 9.781 kB / 0.53 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.316, allocations: 1.469 kB / 0.53 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.316, allocations: 10.81 kB / 0.53 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.3163, allocations: 64.97 kB / 0.53 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3163, allocations: 2.406 kB / 0.53 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/0.3165, allocations: 52.78 kB / 0.5301 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.3166, allocations: 11.69 kB / 0.5301 GB, free: 5.422 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.000151/0.3167, allocations: 144.5 kB / 0.5302 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.3168, allocations: 25.95 kB / 0.5303 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004276/0.3172, allocations: 230.7 kB / 0.5305 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3172, allocations: 2.812 kB / 0.5305 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3172, allocations: 0 / 0.5305 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3172, allocations: 6.641 kB / 0.5305 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.3174, allocations: 211.2 kB / 0.5307 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3174, allocations: 1.438 kB / 0.5307 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.3177, allocations: 44.17 kB / 0.5307 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3177, allocations: 2.031 kB / 0.5307 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.3177, allocations: 6.984 kB / 0.5307 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3177, allocations: 5 kB / 0.5307 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3177, allocations: 0 / 0.5307 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005511/0.3183, allocations: 404 kB / 0.5311 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.3183, allocations: 26.16 kB / 0.5311 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.3184, allocations: 10.86 kB / 0.5312 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.3187, allocations: 30.17 kB / 0.5312 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.3187, allocations: 17.56 kB / 0.5312 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.3187, allocations: 4.688 kB / 0.5312 GB, free: 4.719 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003867/0.3191, allocations: 217.6 kB / 0.5314 GB, free: 4.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3191, allocations: 0 / 0.5314 GB, free: 4.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002969/0.3194, allocations: 43.03 kB / 0.5315 GB, free: 4.602 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 8.67e-05/0.3195, allocations: 104.6 kB / 0.5316 GB, free: 4.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003887/0.3199, allocations: 185.5 kB / 0.5317 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3199, allocations: 5.125 kB / 0.5317 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.32, allocations: 92.36 kB / 0.5318 GB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.3204, allocations: 33.81 kB / 0.5319 GB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000923/0.3213, allocations: 0.5665 MB / 0.5324 GB, free: 4.039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.3215, allocations: 147.6 kB / 0.5326 GB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.951e-05/0.3216, allocations: 26.56 kB / 0.5326 GB, free: 3.949 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3216, allocations: 0 / 0.5326 GB, free: 3.949 MB / 382.1 MB Notification: Performance of Templates: time 0.005344/0.3269, allocations: 2.885 MB / 0.5354 GB, free: 3.719 MB / 382.1 MB " [Timeout remaining time 660] 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: 7.523405415005982] Failed to read output from testmodel.py, exit status != 0: 0.33536271285265684 0.34884611 0.03730188 Calling exit ...