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.001479/0.001479, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.001558/0.001558, allocations: 157.7 kB / 23.53 MB, free: 0.9023 MB / 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 1.467/1.467, allocations: 177.2 MB / 203.9 MB, free: 5.586 MB / 186.7 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.1112/0.1112, allocations: 18.15 MB / 278.5 MB, free: 11.31 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 2.084e-06/2.084e-06, allocations: 0 / 356.5 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.284e-05, allocations: 2.312 kB / 356.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.004997/0.00503, allocations: 1.87 MB / 358.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.006903, allocations: 0.596 MB / 359 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.007036, allocations: 3.938 kB / 359 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.007466, allocations: 55.58 kB / 359 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.007755, allocations: 55.62 kB / 359.1 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005888/0.008344, allocations: 155.7 kB / 359.2 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005485/0.008892, allocations: 251.9 kB / 359.5 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.0091, allocations: 32.52 kB / 359.5 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.009342, allocations: 103.7 kB / 359.6 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003054/0.009648, allocations: 107.7 kB / 359.7 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.992e-05/0.009718, allocations: 20 kB / 359.7 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.117e-05/0.009769, allocations: 16 kB / 359.8 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.009929, allocations: 63.75 kB / 359.8 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.01006, allocations: 59.81 kB / 359.9 MB, free: 4.805 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005979/0.01066, allocations: 207.2 kB / 360.1 MB, free: 4.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.01067, allocations: 0 / 360.1 MB, free: 4.602 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01067, allocations: 0 / 360.1 MB, free: 4.602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.01068, allocations: 3.938 kB / 360.1 MB, free: 4.598 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.002101/0.01278, allocations: 0.5128 MB / 360.6 MB, free: 4.055 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.73e-05/0.01284, allocations: 8.922 kB / 360.6 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.01298, allocations: 40.8 kB / 360.7 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009505/0.01393, allocations: 253 kB / 360.9 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.01397, allocations: 12.38 kB / 360.9 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-05/0.01405, allocations: 24.38 kB / 360.9 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005883/0.01464, allocations: 200.4 kB / 361.1 MB, free: 3.488 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.01466, allocations: 192 / 361.1 MB, free: 3.488 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.01469, allocations: 8.375 kB / 361.1 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.0147, allocations: 7.938 kB / 361.1 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/0.01521, allocations: 147.8 kB / 361.3 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.01675, allocations: 0.6408 MB / 361.9 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007302/0.01748, allocations: 218.2 kB / 362.1 MB, free: 2.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.01775, allocations: 77.17 kB / 362.2 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.303e-05/0.01779, allocations: 4 kB / 362.2 MB, free: 2.348 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.01784, allocations: 46.44 kB / 362.3 MB, free: 2.293 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 2.906e-06/0.01784, allocations: 0 / 362.3 MB, free: 2.293 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009226/0.01877, allocations: 257.5 kB / 362.5 MB, free: 2.035 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.01883, allocations: 63.33 kB / 362.6 MB, free: 1.961 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000786/0.01962, allocations: 289.6 kB / 362.9 MB, free: 1.668 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.192e-05/0.01967, allocations: 25.7 kB / 362.9 MB, free: 1.637 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.01986, allocations: 152.3 kB / 363 MB, free: 1.484 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.01997, allocations: 75.38 kB / 363.1 MB, free: 1.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.02011, allocations: 49.7 kB / 363.2 MB, free: 1.355 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002624/0.02037, allocations: 334.8 kB / 363.5 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.02063, allocations: 76.19 kB / 363.6 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005764/0.02121, allocations: 126.5 kB / 363.7 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002489/0.02369, allocations: 464.5 kB / 364.1 MB, free: 332 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.0237, allocations: 0 / 364.1 MB, free: 332 kB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009268/0.02463, allocations: 295.4 kB / 364.4 MB, free: 32 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.02465, allocations: 4 kB / 364.4 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.02466, allocations: 4 kB / 364.4 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/0.02469, allocations: 4 kB / 364.4 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005341/0.02522, allocations: 63.84 kB / 364.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.02524, allocations: 4 kB / 364.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004828/0.02572, allocations: 51.98 kB / 364.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.02576, allocations: 8 kB / 364.6 MB, free: 15.89 MB / 298.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.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.0003356/0.02609, allocations: 141.8 kB / 364.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.02621, allocations: 31.86 kB / 364.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000816/0.02702, allocations: 234.2 kB / 365 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.02703, allocations: 4 kB / 365 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.02704, allocations: 7.938 kB / 365 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.02705, allocations: 7.922 kB / 365 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.02759, allocations: 209.1 kB / 365.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.0276, allocations: 3.984 kB / 365.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004803/0.02808, allocations: 43.98 kB / 365.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.02808, allocations: 0 / 365.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.02813, allocations: 8 kB / 365.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.02813, allocations: 0 / 365.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.02813, allocations: 3.938 kB / 365.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.02923, allocations: 415.4 kB / 365.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.44e-05/0.02931, allocations: 31.78 kB / 365.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.783e-05/0.02937, allocations: 0 / 365.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004635/0.02983, allocations: 31.95 kB / 365.7 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.02993, allocations: 23.91 kB / 365.7 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.02996, allocations: 4 kB / 365.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007339/0.03069, allocations: 217.1 kB / 366 MB, free: 14.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.03069, allocations: 0 / 366 MB, free: 14.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005524/0.03124, allocations: 40 kB / 366 MB, free: 14.41 MB / 298.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.0001986/0.03144, allocations: 103.2 kB / 366.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006616/0.03211, allocations: 183.8 kB / 366.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.03211, allocations: 4.375 kB / 366.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003067/0.03242, allocations: 98.83 kB / 366.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006147/0.03303, allocations: 43.55 kB / 366.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.03466, allocations: 499.9 kB / 366.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.03493, allocations: 146.5 kB / 367 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002049/0.03513, allocations: 33.94 kB / 367.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.03528, allocations: 24.5 kB / 367.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.03528, allocations: 0 / 367.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of Templates: time 0.009623/0.0449, allocations: 2.215 MB / 369.3 MB, free: 11.05 MB / 298.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=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.489294090890326]