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.001409/0.001409, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.00163/0.00163, allocations: 157.9 kB / 23.01 MB, free: 4.598 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.467/1.467, allocations: 177.2 MB / 203.4 MB, free: 8.934 MB / 190.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.09757/0.09757, allocations: 17.8 MB / 277.6 MB, free: 15.34 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.002351/0.002351, allocations: 67.89 kB / 414.6 MB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1037, allocations: 59.56 MB / 474.2 MB, free: 8.824 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.002756/0.1065, allocations: 1.866 MB / 476.1 MB, free: 6.941 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000987/0.1075, allocations: 0.5923 MB / 476.7 MB, free: 6.344 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.885e-05/0.1075, allocations: 3.938 kB / 476.7 MB, free: 6.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.1077, allocations: 55.58 kB / 476.7 MB, free: 6.285 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.1079, allocations: 55.7 kB / 476.8 MB, free: 6.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.1082, allocations: 123.8 kB / 476.9 MB, free: 6.109 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004244/0.1086, allocations: 351.9 kB / 477.2 MB, free: 5.762 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.008e-05/0.1087, allocations: 32.58 kB / 477.3 MB, free: 5.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.1088, allocations: 131.5 kB / 477.4 MB, free: 5.602 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.109, allocations: 123.5 kB / 477.5 MB, free: 5.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.1091, allocations: 20 kB / 477.5 MB, free: 5.461 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.88e-05/0.1091, allocations: 23.94 kB / 477.6 MB, free: 5.438 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.011e-05/0.1092, allocations: 67.75 kB / 477.6 MB, free: 5.371 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.641e-05/0.1092, allocations: 75.56 kB / 477.7 MB, free: 5.293 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.1095, allocations: 207 kB / 477.9 MB, free: 5.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.1095, allocations: 0 / 477.9 MB, free: 5.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1095, allocations: 0 / 477.9 MB, free: 5.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.1095, allocations: 0 / 477.9 MB, free: 5.09 MB / 446.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.001098/0.1106, allocations: 0.5128 MB / 478.4 MB, free: 4.547 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.69e-05/0.1106, allocations: 16.86 kB / 478.4 MB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.1106, allocations: 28.75 kB / 478.5 MB, free: 4.504 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005226/0.1112, allocations: 257.6 kB / 478.7 MB, free: 4.227 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.1112, allocations: 12.38 kB / 478.7 MB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.1112, allocations: 24.31 kB / 478.7 MB, free: 4.191 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.1116, allocations: 200.2 kB / 478.9 MB, free: 3.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1116, allocations: 4 kB / 478.9 MB, free: 3.977 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.1116, allocations: 4 kB / 479 MB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.1116, allocations: 8 kB / 479 MB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/0.112, allocations: 147.9 kB / 479.1 MB, free: 3.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.113, allocations: 0.6292 MB / 479.7 MB, free: 3.152 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005133/0.1135, allocations: 209.7 kB / 479.9 MB, free: 2.941 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.1137, allocations: 86.19 kB / 480 MB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.1137, allocations: 0 / 480 MB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.1137, allocations: 42.5 kB / 480.1 MB, free: 2.805 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.1137, allocations: 0 / 480.1 MB, free: 2.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.000569/0.1143, allocations: 267.4 kB / 480.3 MB, free: 2.539 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.1143, allocations: 55.34 kB / 480.4 MB, free: 2.473 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000497/0.1148, allocations: 289.6 kB / 480.7 MB, free: 2.184 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.1149, allocations: 33.7 kB / 480.7 MB, free: 2.145 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/0.115, allocations: 140.4 kB / 480.8 MB, free: 2.004 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.905e-05/0.115, allocations: 87.31 kB / 480.9 MB, free: 1.918 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.656e-05/0.1151, allocations: 49.7 kB / 481 MB, free: 1.863 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1152, allocations: 334.8 kB / 481.3 MB, free: 1.527 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.1154, allocations: 80.17 kB / 481.4 MB, free: 1.445 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.1156, allocations: 127.5 kB / 481.5 MB, free: 1.301 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.1169, allocations: 458.4 kB / 481.9 MB, free: 0.832 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1169, allocations: 0 / 481.9 MB, free: 0.832 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000453/0.1174, allocations: 283.3 kB / 482.2 MB, free: 0.5508 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1174, allocations: 7.938 kB / 482.2 MB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1174, allocations: 7.984 kB / 482.2 MB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1174, allocations: 8 kB / 482.2 MB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.1177, allocations: 63.91 kB / 482.3 MB, free: 476 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.1177, allocations: 4 kB / 482.3 MB, free: 472 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.1179, allocations: 39.86 kB / 482.3 MB, free: 432 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.1179, allocations: 20.17 kB / 482.4 MB, free: 412 kB / 446.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.0001986/0.1181, allocations: 137.7 kB / 482.5 MB, free: 264 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.1182, allocations: 31.78 kB / 482.5 MB, free: 232 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.188/0.3062, allocations: 230.4 kB / 482.8 MB, free: 52.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.3062, allocations: 6.594 kB / 482.8 MB, free: 52.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3062, allocations: 0 / 482.8 MB, free: 52.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.3062, allocations: 0.6562 kB / 482.8 MB, free: 52.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.3065, allocations: 206.1 kB / 483 MB, free: 52.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3065, allocations: 0 / 483 MB, free: 52.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.3068, allocations: 44.8 kB / 483 MB, free: 52.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3068, allocations: 3.516 kB / 483 MB, free: 52.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.3068, allocations: 6.469 kB / 483 MB, free: 52.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3068, allocations: 6.969 kB / 483 MB, free: 52.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3068, allocations: 0 / 483 MB, free: 52.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.3073, allocations: 405.2 kB / 483.4 MB, free: 52.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.3073, allocations: 31.2 kB / 483.5 MB, free: 52.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.3073, allocations: 3.438 kB / 483.5 MB, free: 52.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.3076, allocations: 30.14 kB / 483.5 MB, free: 52.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.3076, allocations: 20.84 kB / 483.5 MB, free: 52.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.3077, allocations: 3.125 kB / 483.5 MB, free: 52.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003304/0.308, allocations: 219.2 kB / 483.7 MB, free: 51.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.308, allocations: 3.031 kB / 483.7 MB, free: 51.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000291/0.3083, allocations: 43.06 kB / 483.8 MB, free: 51.98 MB / 446.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 6.285e-05/0.3083, allocations: 113.2 kB / 483.9 MB, free: 51.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000324/0.3087, allocations: 184.3 kB / 484.1 MB, free: 51.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3087, allocations: 3.25 kB / 484.1 MB, free: 51.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.3088, allocations: 96.58 kB / 484.2 MB, free: 51.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.3091, allocations: 31.27 kB / 484.2 MB, free: 51.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/0.3098, allocations: 0.5251 MB / 484.7 MB, free: 51.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.069e-05/0.3099, allocations: 149.2 kB / 484.9 MB, free: 51.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.31e-05/0.31, allocations: 37.88 kB / 484.9 MB, free: 51.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.982e-05/0.31, allocations: 21 kB / 484.9 MB, free: 51.55 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.31, allocations: 3.219 kB / 484.9 MB, free: 51.55 MB / 446.1 MB Notification: Performance of Templates: time 0.004505/0.3146, allocations: 2.198 MB / 487.1 MB, free: 51.4 MB / 446.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 -s ida -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.672542499029078] Failed to read output from testmodel.py, exit status != 0: 0.3484378430293873 0.3300057 0.218534103 Calling exit ...