Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.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.001456/0.001456, allocations: 100.3 kB / 20.46 MB, free: 1.363 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.001645/0.001645, allocations: 215.5 kB / 23.76 MB, free: 4.52 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.428/1.428, allocations: 230.7 MB / 257.5 MB, free: 7.785 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.1114/0.1114, allocations: 24.04 MB / 338 MB, free: 11.32 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_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") translateModel(AES.Coursework.Typical_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") [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.002173/0.002173, allocations: 67.89 kB / 475.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3042, allocations: 59.57 MB / 0.5221 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_with_delay): time 0.002666/0.3069, allocations: 1.904 MB / 0.524 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.308, allocations: 0.7105 MB / 0.5247 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.3081, allocations: 8.344 kB / 0.5247 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.3085, allocations: 88.08 kB / 0.5248 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.3087, allocations: 106.2 kB / 0.5249 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000478/0.3092, allocations: 220 kB / 0.5251 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006643/0.3099, allocations: 0.5821 MB / 0.5256 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.31, allocations: 44.62 kB / 0.5257 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.3103, allocations: 226.5 kB / 0.5259 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003578/0.3106, allocations: 221.2 kB / 0.5261 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.897e-05/0.3107, allocations: 21.91 kB / 0.5261 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.187e-05/0.3107, allocations: 23.25 kB / 0.5262 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.3108, allocations: 109.3 kB / 0.5263 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.928e-05/0.3109, allocations: 93.19 kB / 0.5264 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.3113, allocations: 285.5 kB / 0.5266 GB, free: 7.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3113, allocations: 1.812 kB / 0.5266 GB, free: 7.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3113, allocations: 0 / 0.5266 GB, free: 7.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.3113, allocations: 0 / 0.5266 GB, free: 7.848 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001992/0.3133, allocations: 0.7047 MB / 0.5273 GB, free: 7.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.3133, allocations: 10.91 kB / 0.5273 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.009e-05/0.3134, allocations: 36.39 kB / 0.5274 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.3144, allocations: 398.2 kB / 0.5277 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.3145, allocations: 14.78 kB / 0.5278 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.3145, allocations: 22.39 kB / 0.5278 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.3148, allocations: 184.6 kB / 0.528 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3148, allocations: 4.922 kB / 0.528 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.3149, allocations: 7.844 kB / 0.528 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.3149, allocations: 4.219 kB / 0.528 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/0.3152, allocations: 183.9 kB / 0.5281 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.3163, allocations: 0.532 MB / 0.5287 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008517/0.3171, allocations: 330.2 kB / 0.529 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.3173, allocations: 98.84 kB / 0.5291 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.081e-05/0.3173, allocations: 6.562 kB / 0.5291 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.3174, allocations: 33.58 kB / 0.5291 GB, free: 6.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.663e-06/0.3174, allocations: 1.125 kB / 0.5291 GB, free: 6.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.001204/0.3186, allocations: 429.9 kB / 0.5295 GB, free: 6.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.3186, allocations: 59.19 kB / 0.5296 GB, free: 6.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.3196, allocations: 453.8 kB / 0.53 GB, free: 6.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3196, allocations: 30.86 kB / 0.53 GB, free: 6.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.506e-05/0.3197, allocations: 165.7 kB / 0.5302 GB, free: 5.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.598e-05/0.3198, allocations: 82.77 kB / 0.5303 GB, free: 5.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.135e-05/0.3199, allocations: 45.53 kB / 0.5303 GB, free: 5.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.3199, allocations: 342 kB / 0.5306 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.3201, allocations: 85.95 kB / 0.5307 GB, free: 5.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.3202, allocations: 112.2 kB / 0.5308 GB, free: 5.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.3217, allocations: 0.5171 MB / 0.5313 GB, free: 5.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3217, allocations: 0 / 0.5313 GB, free: 5.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006195/0.3224, allocations: 345.5 kB / 0.5317 GB, free: 5.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3224, allocations: 9.625 kB / 0.5317 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3224, allocations: 7.922 kB / 0.5317 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001997/0.3226, allocations: 54.16 kB / 0.5317 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.3228, allocations: 32.06 kB / 0.5318 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.324, allocations: 1.475 MB / 0.5332 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004319/0.3244, allocations: 68.52 kB / 0.5333 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.3244, allocations: 10 kB / 0.5333 GB, free: 3.77 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: C.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] K.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] H.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] 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: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001765/0.3246, allocations: 174.5 kB / 0.5334 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.313e-05/0.3247, allocations: 30.23 kB / 0.5335 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.684e-05/0.3247, allocations: 39.73 kB / 0.5335 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.3247, allocations: 3.672 kB / 0.5335 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3248, allocations: 7.656 kB / 0.5335 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3248, allocations: 0.9844 kB / 0.5335 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.325, allocations: 258.8 kB / 0.5338 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.325, allocations: 4 kB / 0.5338 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.3252, allocations: 27.02 kB / 0.5338 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001386/0.3254, allocations: 53.17 kB / 0.5339 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.3254, allocations: 7.531 kB / 0.5339 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009927/0.3264, allocations: 1.479 MB / 0.5353 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3264, allocations: 5.406 kB / 0.5353 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007221/0.3271, allocations: 0.5098 MB / 0.5358 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-05/0.3272, allocations: 36.38 kB / 0.5358 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.3272, allocations: 8.031 kB / 0.5359 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.3277, allocations: 63.66 kB / 0.5359 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.3277, allocations: 17.59 kB / 0.5359 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.3277, allocations: 8.422 kB / 0.5359 GB, free: 1.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008639/0.3286, allocations: 358.2 kB / 0.5363 GB, free: 1.559 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3286, allocations: 0 / 0.5363 GB, free: 1.559 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003452/0.329, allocations: 60.36 kB / 0.5363 GB, free: 1.543 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (P.x_scaled[1],H.x_scaled[1],M.x_scaled[1],K.x_scaled[1],C.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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.837e-05/0.3291, allocations: 105.4 kB / 0.5364 GB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005938/0.3296, allocations: 345.1 kB / 0.5368 GB, free: 1.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3296, allocations: 4.062 kB / 0.5368 GB, free: 1.266 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.33, allocations: 238.2 kB / 0.537 GB, free: 1.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.3304, allocations: 56.27 kB / 0.5371 GB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.3315, allocations: 0.6657 MB / 0.5377 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.3317, allocations: 203.6 kB / 0.5379 GB, free: 0.625 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.139e-05/0.3318, allocations: 22.83 kB / 0.5379 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3318, allocations: 0 / 0.5379 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of Templates: time 0.007822/0.3396, allocations: 4.734 MB / 0.5425 GB, free: 15.05 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.88489528093487] Failed to read output from testmodel.py, exit status != 0: 0.3483063722960651 0.36242713699999995 0.048182344 Calling exit ...