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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Coursework.Typical_control_structures.FF_compensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation") translateModel(AES.Coursework.Typical_control_structures.FF_compensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09296/0.09296, allocations: 21.61 MB / 36.56 MB, free: 1.047 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009147/0.0009146, allocations: 183.4 kB / 42.82 MB, free: 3.789 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 223.2 MB / 272.2 MB, free: 1.402 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008881/0.000888, allocations: 99.67 kB / 328.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003162, allocations: 8 kB / 397 MB, free: 46.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0811/0.08143, allocations: 55.83 MB / 452.9 MB, free: 6.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2756/0.357, allocations: 80.46 MB / 0.5208 GB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001698/0.3572, allocations: 79.77 kB / 0.5209 GB, free: 13.2 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:49:3-49:23:writable] Warning: Connecting two signal sources while connecting iBias to Bias. Notification: Performance of FrontEnd - DAE generated: time 0.009655/0.3669, allocations: 3.619 MB / 0.5244 GB, free: 12.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3669, allocations: 0 / 0.5244 GB, free: 12.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.367, allocations: 7.938 kB / 0.5244 GB, free: 12.7 MB / 362.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.0007826/0.3677, allocations: 0.5472 MB / 0.525 GB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.3678, allocations: 11.56 kB / 0.525 GB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.3678, allocations: 27.19 kB / 0.525 GB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.3683, allocations: 312.6 kB / 0.5253 GB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.3684, allocations: 14.41 kB / 0.5253 GB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.3684, allocations: 21.38 kB / 0.5254 GB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.3687, allocations: 192.2 kB / 0.5255 GB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.3687, allocations: 0 / 0.5255 GB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.3687, allocations: 15.52 kB / 0.5255 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3687, allocations: 3.719 kB / 0.5256 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/0.369, allocations: 150.7 kB / 0.5257 GB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007699/0.3698, allocations: 0.7234 MB / 0.5264 GB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.3702, allocations: 222.3 kB / 0.5266 GB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.3702, allocations: 3.938 kB / 0.5266 GB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.281e-05/0.3702, allocations: 37.56 kB / 0.5267 GB, free: 11.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.3702, allocations: 0 / 0.5267 GB, free: 11.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004472/0.3707, allocations: 261.2 kB / 0.5269 GB, free: 11.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.3707, allocations: 55.28 kB / 0.527 GB, free: 11.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/0.3711, allocations: 266.1 kB / 0.5272 GB, free: 10.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.3711, allocations: 28.27 kB / 0.5272 GB, free: 10.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.3712, allocations: 150.1 kB / 0.5274 GB, free: 10.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.3712, allocations: 73.88 kB / 0.5275 GB, free: 10.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.639e-06/0.3713, allocations: 6.75 kB / 0.5275 GB, free: 10.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.531e-05/0.3713, allocations: 338.2 kB / 0.5278 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.3714, allocations: 75.89 kB / 0.5279 GB, free: 10.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.3716, allocations: 122 kB / 0.528 GB, free: 10.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.3717, allocations: 87.22 kB / 0.5281 GB, free: 10.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3717, allocations: 3.844 kB / 0.5281 GB, free: 10.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000371/0.3721, allocations: 284 kB / 0.5283 GB, free: 10.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3721, allocations: 7.5 kB / 0.5283 GB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3721, allocations: 0 / 0.5283 GB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3722, allocations: 3.781 kB / 0.5283 GB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.3724, allocations: 70.34 kB / 0.5284 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3724, allocations: 7.672 kB / 0.5284 GB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.3727, allocations: 53.2 kB / 0.5285 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.3727, allocations: 10.84 kB / 0.5285 GB, free: 10.23 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: PI.xfb:VARIABLE(fixed = true ) type: Real P.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] C.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.HIsat,PI.LOsat,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.3728, allocations: 147.5 kB / 0.5286 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.3729, allocations: 18.78 kB / 0.5286 GB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/0.3732, allocations: 230.5 kB / 0.5289 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3732, allocations: 3.812 kB / 0.5289 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3733, allocations: 0 / 0.5289 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3733, allocations: 3.953 kB / 0.5289 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.3735, allocations: 301.8 kB / 0.5291 GB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3735, allocations: 0 / 0.5291 GB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.3738, allocations: 42.33 kB / 0.5292 GB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3738, allocations: 0 / 0.5292 GB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.3738, allocations: 11.8 kB / 0.5292 GB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3738, allocations: 0 / 0.5292 GB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3738, allocations: 3.938 kB / 0.5292 GB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004588/0.3743, allocations: 415.2 kB / 0.5296 GB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.3743, allocations: 104.3 kB / 0.5297 GB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.3744, allocations: 7.875 kB / 0.5297 GB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.3746, allocations: 36.92 kB / 0.5297 GB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.3747, allocations: 11.81 kB / 0.5298 GB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.3747, allocations: 10.81 kB / 0.5298 GB, free: 9.438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003257/0.375, allocations: 219 kB / 0.53 GB, free: 9.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.375, allocations: 0 / 0.53 GB, free: 9.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002551/0.3753, allocations: 45.47 kB / 0.53 GB, free: 9.316 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.146e-05/0.3754, allocations: 117.5 kB / 0.5301 GB, free: 9.215 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.3757, allocations: 182.5 kB / 0.5303 GB, free: 9.191 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3757, allocations: 4 kB / 0.5303 GB, free: 9.188 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.3758, allocations: 96.86 kB / 0.5304 GB, free: 9.172 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.3761, allocations: 31.67 kB / 0.5304 GB, free: 9.164 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007198/0.3768, allocations: 0.5771 MB / 0.531 GB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.377, allocations: 0.7613 MB / 0.5317 GB, free: 8.059 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.3771, allocations: 35.31 kB / 0.5318 GB, free: 8.039 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/0.3772, allocations: 24.52 kB / 0.5318 GB, free: 8.027 MB / 362.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3772, allocations: 0 / 0.5318 GB, free: 8.027 MB / 362.7 MB Notification: Performance of Templates: time 0.003603/0.3808, allocations: 1.845 MB / 0.5336 GB, free: 7.145 MB / 362.7 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation.makefile (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)