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.0005851/0.0005851, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008218/0.001407, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006609/0.0006609, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008421/0.001503, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9152/0.9152, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08505/1, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.06331/0.06331, allocations: 18.13 MB / 262.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009168/0.07248, allocations: 6.782 MB / 268.9 MB, free: 6.34 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 270.3 MB, free: 4.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.644e-05, allocations: 6.109 kB / 270.3 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.002096/0.002112, allocations: 1.963 MB / 272.3 MB, free: 2.922 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008043/0.002916, allocations: 0.627 MB / 272.9 MB, free: 2.289 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.383e-05/0.00299, allocations: 3.938 kB / 272.9 MB, free: 2.285 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.003174, allocations: 55.47 kB / 272.9 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.003276, allocations: 47.7 kB / 273 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.003493, allocations: 151.6 kB / 273.1 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.003695, allocations: 244 kB / 273.4 MB, free: 1.797 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.135e-05/0.003787, allocations: 46.52 kB / 273.4 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.003936, allocations: 155.6 kB / 273.6 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.004064, allocations: 107.6 kB / 273.7 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.004093, allocations: 16 kB / 273.7 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.174e-05/0.004115, allocations: 24 kB / 273.7 MB, free: 1.453 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.00417, allocations: 51.8 kB / 273.8 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.397e-05/0.004214, allocations: 39.88 kB / 273.8 MB, free: 1.363 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.004349, allocations: 127.5 kB / 273.9 MB, free: 1.238 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.188e-05/0.004361, allocations: 0 / 273.9 MB, free: 1.238 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004361, allocations: 0 / 273.9 MB, free: 1.238 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.004372, allocations: 0 / 273.9 MB, free: 1.238 MB / 266.7 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.0007051/0.005078, allocations: 487.3 kB / 274.4 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.577e-05/0.005103, allocations: 8.031 kB / 274.4 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.005148, allocations: 32.91 kB / 274.5 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.005358, allocations: 206 kB / 274.7 MB, free: 480 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.005381, allocations: 16.38 kB / 274.7 MB, free: 464 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.005406, allocations: 16.38 kB / 274.7 MB, free: 448 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.005573, allocations: 155.2 kB / 274.8 MB, free: 276 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.005581, allocations: 4.125 kB / 274.8 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.005593, allocations: 8.375 kB / 274.8 MB, free: 264 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.005599, allocations: 7.938 kB / 274.9 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.063e-05/0.005689, allocations: 62.64 kB / 274.9 MB, free: 192 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1219/0.1276, allocations: 0.4945 MB / 275.4 MB, free: 3.156 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.128, allocations: 167.6 kB / 275.6 MB, free: 3.078 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.298e-05/0.1281, allocations: 32.77 kB / 275.6 MB, free: 3.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/0.1281, allocations: 6.25 kB / 275.6 MB, free: 3.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.1281, allocations: 36.19 kB / 275.6 MB, free: 3.031 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 2.524e-06/0.1281, allocations: 0 / 275.6 MB, free: 3.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003046/0.1284, allocations: 123.3 kB / 275.8 MB, free: 3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.1285, allocations: 59.44 kB / 275.8 MB, free: 2.938 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.1287, allocations: 214.5 kB / 276 MB, free: 2.828 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1287, allocations: 29.42 kB / 276.1 MB, free: 2.797 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/0.1287, allocations: 129.9 kB / 276.2 MB, free: 2.715 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.1288, allocations: 81.8 kB / 276.3 MB, free: 2.676 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.283e-05/0.1288, allocations: 58.86 kB / 276.3 MB, free: 2.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.831e-05/0.1289, allocations: 337.4 kB / 276.7 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.566e-05/0.129, allocations: 25.33 kB / 276.7 MB, free: 2.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.635e-05/0.129, allocations: 81.7 kB / 276.8 MB, free: 2.281 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.1292, allocations: 160.8 kB / 276.9 MB, free: 2.215 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1292, allocations: 2.531 kB / 276.9 MB, free: 2.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001895/0.1294, allocations: 156.8 kB / 277.1 MB, free: 2.176 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1294, allocations: 6.469 kB / 277.1 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1294, allocations: 2.125 kB / 277.1 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1294, allocations: 9.625 kB / 277.1 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/0.1298, allocations: 103.6 kB / 277.2 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.1298, allocations: 2.438 kB / 277.2 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.389e-05/0.1299, allocations: 32.91 kB / 277.2 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.1299, allocations: 5.781 kB / 277.2 MB, free: 2.164 MB / 266.7 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.iTS,PI.iNoInc,PI.iNoDec) * 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.0001203/0.13, allocations: 133.2 kB / 277.4 MB, free: 2.047 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.1301, allocations: 22.08 kB / 277.4 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.1303, allocations: 135.3 kB / 277.5 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.1303, allocations: 3.203 kB / 277.5 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.1303, allocations: 1.844 kB / 277.5 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1303, allocations: 6.5 kB / 277.5 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.1305, allocations: 142.8 kB / 277.7 MB, free: 1.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1305, allocations: 0 / 277.7 MB, free: 1.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.1307, allocations: 62.45 kB / 277.7 MB, free: 1.926 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.1307, allocations: 23.91 kB / 277.8 MB, free: 1.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1307, allocations: 5.25 kB / 277.8 MB, free: 1.914 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.1307, allocations: 5.734 kB / 277.8 MB, free: 1.914 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1307, allocations: 1.125 kB / 277.8 MB, free: 1.914 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1307, allocations: 5.531 kB / 277.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.131, allocations: 301.3 kB / 278.1 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.131, allocations: 10.66 kB / 278.1 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.327e-05/0.1311, allocations: 8.109 kB / 278.1 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.1312, allocations: 21.27 kB / 278.1 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.1312, allocations: 5.281 kB / 278.1 MB, free: 1.727 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.84e-05/0.1313, allocations: 73.17 kB / 278.2 MB, free: 1.715 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1313, allocations: 1.125 kB / 278.2 MB, free: 1.715 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001763/0.1314, allocations: 37.94 kB / 278.2 MB, free: 1.715 MB / 266.7 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.0001013/0.1315, allocations: 87.09 kB / 278.3 MB, free: 1.645 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.1317, allocations: 102 kB / 278.4 MB, free: 1.637 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/0.1317, allocations: 3.531 kB / 278.4 MB, free: 1.637 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.862e-05/0.1318, allocations: 62.39 kB / 278.5 MB, free: 1.629 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.132, allocations: 54.62 kB / 278.5 MB, free: 1.621 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008766/0.1329, allocations: 448.7 kB / 279 MB, free: 1.383 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.78e-05/0.133, allocations: 91.05 kB / 279 MB, free: 1.312 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.652e-05/0.1331, allocations: 27.7 kB / 279.1 MB, free: 1.309 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.1332, allocations: 87.81 kB / 279.2 MB, free: 1.262 MB / 266.7 MB Notification: Performance of SimCode: time 6.42e-07/0.1332, allocations: 1.219 kB / 279.2 MB, free: 1.262 MB / 266.7 MB Notification: Performance of Templates: time 0.005371/0.1386, allocations: 2.605 MB / 281.8 MB, free: 1.152 MB / 266.7 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=240 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.638644400984049]