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.001123/0.001123, allocations: 72.95 kB / 20.74 MB, free: 3.75 MB / 18.57 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.001346/0.001346, allocations: 173 kB / 24.16 MB, free: 336 kB / 18.57 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.9849/0.9849, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.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.06334/0.06334, allocations: 18.14 MB / 279.2 MB, free: 11.21 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.452e-06/1.452e-06, allocations: 0 / 304.5 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.18e-05, allocations: 4.562 kB / 304.5 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.00267/0.002692, allocations: 1.917 MB / 306.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.00392, allocations: 0.6274 MB / 307.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.004059, allocations: 3.938 kB / 307.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.004354, allocations: 53.45 kB / 307.1 MB, free: 14.85 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.004515, allocations: 56.73 kB / 307.2 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.004874, allocations: 152.2 kB / 307.3 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.005191, allocations: 245.3 kB / 307.6 MB, free: 14.65 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.005308, allocations: 48.81 kB / 307.6 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.005459, allocations: 94.67 kB / 307.7 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.005628, allocations: 111.4 kB / 307.8 MB, free: 14.53 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.221e-05/0.00567, allocations: 20 kB / 307.8 MB, free: 14.51 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.358e-05/0.005693, allocations: 16 kB / 307.8 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.252e-05/0.005766, allocations: 71.92 kB / 307.9 MB, free: 14.44 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.567e-05/0.005822, allocations: 55.08 kB / 308 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.006006, allocations: 136.8 kB / 308.1 MB, free: 14.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.00601, allocations: 0 / 308.1 MB, free: 14.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006011, allocations: 0 / 308.1 MB, free: 14.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.006016, allocations: 4 kB / 308.1 MB, free: 14.29 MB / 282.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.0006084/0.006624, allocations: 453.6 kB / 308.5 MB, free: 13.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.006657, allocations: 8.922 kB / 308.6 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.504e-05/0.006712, allocations: 30.98 kB / 308.6 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.006965, allocations: 202.7 kB / 308.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.006987, allocations: 12.38 kB / 308.8 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.007018, allocations: 24.89 kB / 308.8 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.007223, allocations: 161.2 kB / 309 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.007232, allocations: 192 / 309 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.007245, allocations: 4.938 kB / 309 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.007252, allocations: 7.938 kB / 309 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.007356, allocations: 67.78 kB / 309.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.007925, allocations: 0.5017 MB / 309.6 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.008169, allocations: 172.9 kB / 309.7 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.008213, allocations: 32.84 kB / 309.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.008233, allocations: 7.984 kB / 309.8 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.008256, allocations: 34.56 kB / 309.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.903e-06/0.008258, allocations: 0 / 309.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002045/0.008463, allocations: 132.6 kB / 309.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.008493, allocations: 55.41 kB / 310 MB, free: 12.37 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.00863, allocations: 212.9 kB / 310.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.008645, allocations: 29.7 kB / 310.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/0.008696, allocations: 124.4 kB / 310.3 MB, free: 11.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/0.008738, allocations: 87.23 kB / 310.4 MB, free: 11.9 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.008793, allocations: 53.67 kB / 310.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.299e-05/0.008876, allocations: 338.8 kB / 310.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.079e-05/0.008927, allocations: 23.09 kB / 310.8 MB, free: 11.47 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.82e-05/0.008985, allocations: 70.55 kB / 310.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.009159, allocations: 174.4 kB / 311.1 MB, free: 11.19 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.009162, allocations: 0 / 311.1 MB, free: 11.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001751/0.009337, allocations: 161.8 kB / 311.2 MB, free: 11.03 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.009352, allocations: 4 kB / 311.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.009358, allocations: 4 kB / 311.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.009371, allocations: 0 / 311.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.009536, allocations: 59.91 kB / 311.3 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.009541, allocations: 7.984 kB / 311.3 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.411e-05/0.009625, allocations: 35.77 kB / 311.3 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.009636, allocations: 8 kB / 311.3 MB, free: 10.91 MB / 282.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.0001435/0.00978, allocations: 136.6 kB / 311.5 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.009811, allocations: 15.98 kB / 311.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.009984, allocations: 132.6 kB / 311.6 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.009986, allocations: 0 / 311.6 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.009988, allocations: 8 kB / 311.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.009993, allocations: 3.984 kB / 311.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.01017, allocations: 149.7 kB / 311.8 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01017, allocations: 0 / 311.8 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.01031, allocations: 43.86 kB / 311.8 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.01031, allocations: 8 kB / 311.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.01033, allocations: 7.938 kB / 311.8 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01033, allocations: 0 / 311.8 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01033, allocations: 0 / 311.8 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.01057, allocations: 302 kB / 312.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/0.0106, allocations: 31.78 kB / 312.2 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.01062, allocations: 7.938 kB / 312.2 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.179e-05/0.0107, allocations: 11.98 kB / 312.2 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.01074, allocations: 23.97 kB / 312.2 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.01075, allocations: 0 / 312.2 MB, free: 10 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.022e-05/0.01081, allocations: 70.78 kB / 312.3 MB, free: 9.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01081, allocations: 0 / 312.3 MB, free: 9.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001743/0.01098, allocations: 40 kB / 312.3 MB, free: 9.891 MB / 282.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 9.663e-05/0.01108, allocations: 80.42 kB / 312.4 MB, free: 9.805 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.01123, allocations: 104.9 kB / 312.5 MB, free: 9.699 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.01123, allocations: 8.062 kB / 312.5 MB, free: 9.691 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.673e-05/0.01129, allocations: 52.78 kB / 312.6 MB, free: 9.637 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.0115, allocations: 36.3 kB / 312.6 MB, free: 9.602 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006273/0.01213, allocations: 465 kB / 313 MB, free: 9.125 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.902e-05/0.01218, allocations: 92.17 kB / 313.1 MB, free: 9.016 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.618e-05/0.01225, allocations: 25.94 kB / 313.2 MB, free: 8.988 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.01237, allocations: 79.36 kB / 313.2 MB, free: 8.91 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01237, allocations: 0 / 313.2 MB, free: 8.91 MB / 282.7 MB Notification: Performance of Templates: time 0.004417/0.01679, allocations: 2.347 MB / 315.6 MB, free: 6.598 MB / 282.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.8975878772325814]