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.0009835/0.0009835, allocations: 83.58 kB / 20.45 MB, free: 4.117 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.0009688/0.0009688, allocations: 169 kB / 23.82 MB, free: 0.7461 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 0.996/0.996, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.0764/0.0764, allocations: 18.13 MB / 278.9 MB, free: 11.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 2.915e-06/2.915e-06, allocations: 0 / 357.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.262e-05/4.554e-05, allocations: 2.312 kB / 357.3 MB, free: 7.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.003994/0.00404, allocations: 1.931 MB / 359.2 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.005155, allocations: 0.6078 MB / 359.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.005266, allocations: 7.938 kB / 359.8 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004381/0.005704, allocations: 55.47 kB / 359.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.00589, allocations: 47.75 kB / 359.9 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.006209, allocations: 163.6 kB / 360.1 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.006491, allocations: 247.9 kB / 360.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.006642, allocations: 44.48 kB / 360.4 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.006771, allocations: 95.72 kB / 360.5 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.006935, allocations: 107.6 kB / 360.6 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.006973, allocations: 16 kB / 360.6 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.684e-05/0.006999, allocations: 20 kB / 360.6 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.76e-05/0.007087, allocations: 59.81 kB / 360.7 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.884e-05/0.007156, allocations: 63.75 kB / 360.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.00737, allocations: 143.4 kB / 360.9 MB, free: 4.211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.007374, allocations: 4 kB / 360.9 MB, free: 4.207 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.007375, allocations: 0 / 360.9 MB, free: 4.207 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.007382, allocations: 0 / 360.9 MB, free: 4.207 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.0008231/0.008205, allocations: 0.5815 MB / 361.5 MB, free: 3.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.008262, allocations: 12.86 kB / 361.5 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.152e-05/0.008344, allocations: 36.8 kB / 361.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.008702, allocations: 232.6 kB / 361.7 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/0.008738, allocations: 20.36 kB / 361.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.008778, allocations: 16.38 kB / 361.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.009068, allocations: 164.7 kB / 361.9 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.009079, allocations: 4.188 kB / 361.9 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.0091, allocations: 12.38 kB / 361.9 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.009114, allocations: 7.938 kB / 362 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.009279, allocations: 76.47 kB / 362 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008776/0.01016, allocations: 0.7353 MB / 362.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.01051, allocations: 155.1 kB / 362.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.723e-05/0.01059, allocations: 44.02 kB / 363 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.01062, allocations: 7.953 kB / 363 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.01065, allocations: 37.39 kB / 363 MB, free: 1.926 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 2.034e-06/0.01065, allocations: 4 kB / 363 MB, free: 1.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003559/0.011, allocations: 172 kB / 363.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.01104, allocations: 63.3 kB / 363.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.01125, allocations: 272.3 kB / 363.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.01127, allocations: 33.7 kB / 363.5 MB, free: 1.352 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.01137, allocations: 195.1 kB / 363.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.858e-05/0.01142, allocations: 75.36 kB / 363.8 MB, free: 1.082 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.01149, allocations: 63.31 kB / 363.9 MB, free: 1.012 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.01167, allocations: 0.5079 MB / 364.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.432e-05/0.01174, allocations: 40.2 kB / 364.4 MB, free: 460 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.01185, allocations: 106.3 kB / 364.5 MB, free: 324 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.01212, allocations: 202.5 kB / 364.7 MB, free: 92 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.01213, allocations: 0 / 364.7 MB, free: 92 kB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003037/0.01243, allocations: 210 kB / 364.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.01245, allocations: 8 kB / 364.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01246, allocations: 0 / 364.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.01248, allocations: 8.188 kB / 364.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.01268, allocations: 63.84 kB / 365 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.01269, allocations: 7.938 kB / 365 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.0128, allocations: 31.83 kB / 365 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.01281, allocations: 12 kB / 365 MB, free: 15.75 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.0002068/0.01302, allocations: 176.5 kB / 365.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.01306, allocations: 27.86 kB / 365.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.01334, allocations: 166.1 kB / 365.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.01335, allocations: 4 kB / 365.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.01335, allocations: 3.984 kB / 365.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.01336, allocations: 7.938 kB / 365.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.01358, allocations: 200.5 kB / 365.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.01358, allocations: 0 / 365.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.01376, allocations: 51.91 kB / 365.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.01377, allocations: 4 kB / 365.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.0138, allocations: 0 / 365.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.0138, allocations: 0 / 365.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.0138, allocations: 7.984 kB / 365.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004447/0.01425, allocations: 351.6 kB / 366 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.01429, allocations: 35.72 kB / 366.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.01432, allocations: 4 kB / 366.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.01443, allocations: 11.98 kB / 366.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/0.0145, allocations: 23.91 kB / 366.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.01451, allocations: 4 kB / 366.1 MB, free: 14.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000132/0.01464, allocations: 193.1 kB / 366.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01464, allocations: 4 kB / 366.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002196/0.01486, allocations: 36 kB / 366.3 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.0001624/0.01502, allocations: 99.25 kB / 366.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002879/0.01531, allocations: 134.1 kB / 366.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.01531, allocations: 4 kB / 366.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.142e-05/0.01541, allocations: 67.53 kB / 366.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.01576, allocations: 43.81 kB / 366.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.01682, allocations: 465.4 kB / 367.1 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.416e-05/0.01691, allocations: 96.25 kB / 367.2 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.468e-05/0.017, allocations: 33.92 kB / 367.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.01e-05/0.01708, allocations: 20.5 kB / 367.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of SimCode: time 1.903e-06/0.01708, allocations: 0 / 367.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of Templates: time 0.005143/0.02223, allocations: 2.227 MB / 369.5 MB, free: 11.19 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=240 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.203381654806435]