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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.09259/0.09259, allocations: 21.6 MB / 37.4 MB, free: 0.7617 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001052, allocations: 188.5 kB / 43.63 MB, free: 3.57 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.1 MB / 254.8 MB, free: 14.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008936/0.0008936, allocations: 106.2 kB / 307.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 55.27 kB / 372.3 MB, free: 59.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07174/0.07288, allocations: 51.98 MB / 424.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.002502/0.07542, allocations: 1.958 MB / 426.3 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007811/0.07623, allocations: 0.6359 MB / 426.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.615e-05/0.07632, allocations: 0 / 426.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000253/0.07659, allocations: 43.7 kB / 426.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.07673, allocations: 43.75 kB / 427 MB, free: 11.8 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component ‘ovrMax‘ is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component ‘ovrMin‘ is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.07693, allocations: 95.89 kB / 427.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.07717, allocations: 304 kB / 427.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.07728, allocations: 48.39 kB / 427.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.552e-05/0.07738, allocations: 103.6 kB / 427.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.07752, allocations: 135.3 kB / 427.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.07757, allocations: 8 kB / 427.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.516e-05/0.0776, allocations: 12 kB / 427.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.751e-05/0.07767, allocations: 51.81 kB / 427.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.26e-05/0.07774, allocations: 87.41 kB / 427.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.0779, allocations: 187.3 kB / 428 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.07791, allocations: 4 kB / 428 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.07791, allocations: 0 / 428 MB, free: 10.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.07793, allocations: 0 / 428 MB, free: 10.79 MB / 298.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.00106/0.07899, allocations: 0.5882 MB / 428.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.07903, allocations: 12.02 kB / 428.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.07908, allocations: 24.66 kB / 428.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.07953, allocations: 311.2 kB / 428.9 MB, free: 9.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.07956, allocations: 16.31 kB / 428.9 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.0796, allocations: 20.38 kB / 429 MB, free: 9.734 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.07987, allocations: 192.5 kB / 429.2 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.07989, allocations: 0 / 429.2 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.07991, allocations: 4 kB / 429.2 MB, free: 9.527 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.07992, allocations: 8 kB / 429.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002639/0.08019, allocations: 155.8 kB / 429.3 MB, free: 9.367 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007683/0.08097, allocations: 0.7308 MB / 430 MB, free: 8.578 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/0.08136, allocations: 218.7 kB / 430.3 MB, free: 8.355 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.0815, allocations: 88.81 kB / 430.3 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.08153, allocations: 0 / 430.3 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/0.08155, allocations: 38.5 kB / 430.4 MB, free: 8.219 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 9.82e-07/0.08155, allocations: 0 / 430.4 MB, free: 8.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004296/0.08199, allocations: 266.1 kB / 430.6 MB, free: 7.953 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.08202, allocations: 55.34 kB / 430.7 MB, free: 7.887 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003891/0.08241, allocations: 300.8 kB / 431 MB, free: 7.586 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.08244, allocations: 29.7 kB / 431 MB, free: 7.551 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.0825, allocations: 144.3 kB / 431.2 MB, free: 7.402 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.08254, allocations: 67.02 kB / 431.2 MB, free: 7.336 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.0826, allocations: 57.69 kB / 431.3 MB, free: 7.273 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.43e-05/0.08265, allocations: 334.8 kB / 431.6 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.08278, allocations: 72.23 kB / 431.7 MB, free: 6.867 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.08291, allocations: 130.5 kB / 431.8 MB, free: 6.719 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.08406, allocations: 459 kB / 432.3 MB, free: 6.254 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.08407, allocations: 0 / 432.3 MB, free: 6.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003437/0.08442, allocations: 286.3 kB / 432.5 MB, free: 5.969 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.08444, allocations: 4 kB / 432.5 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.08445, allocations: 4 kB / 432.5 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.08447, allocations: 4 kB / 432.5 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.08472, allocations: 59.91 kB / 432.6 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.08474, allocations: 11.88 kB / 432.6 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.08498, allocations: 51.92 kB / 432.7 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.085, allocations: 8 kB / 432.7 MB, free: 5.828 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.0001304/0.08514, allocations: 153.7 kB / 432.8 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.08518, allocations: 31.66 kB / 432.9 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.08554, allocations: 231.6 kB / 433.1 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.08556, allocations: 4 kB / 433.1 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.08556, allocations: 0 / 433.1 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.08557, allocations: 0 / 433.1 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.08579, allocations: 301.3 kB / 433.4 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.0858, allocations: 0 / 433.4 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.08605, allocations: 51.91 kB / 433.4 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.08606, allocations: 3.938 kB / 433.4 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.08609, allocations: 8 kB / 433.4 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.08609, allocations: 0 / 433.4 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.0861, allocations: 0 / 433.4 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/0.08876, allocations: 2.356 MB / 435.8 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.08882, allocations: 108.8 kB / 435.9 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.08885, allocations: 4 kB / 435.9 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.0891, allocations: 35.95 kB / 435.9 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.08915, allocations: 11.92 kB / 436 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.08917, allocations: 8 kB / 436 MB, free: 2.312 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003314/0.08951, allocations: 224.3 kB / 436.2 MB, free: 2.094 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08952, allocations: 0 / 436.2 MB, free: 2.094 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000337/0.08986, allocations: 63.91 kB / 436.2 MB, free: 2.031 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 8.091e-05/0.08995, allocations: 107.2 kB / 436.4 MB, free: 1.918 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000298/0.09025, allocations: 195.8 kB / 436.5 MB, free: 1.727 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.09026, allocations: 0 / 436.5 MB, free: 1.727 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.0904, allocations: 95.83 kB / 436.6 MB, free: 1.633 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.09072, allocations: 34.75 kB / 436.7 MB, free: 1.598 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008303/0.09156, allocations: 0.7665 MB / 437.4 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.09172, allocations: 0.7638 MB / 438.2 MB, free: 8 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.09188, allocations: 46.92 kB / 438.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.09197, allocations: 31.42 kB / 438.3 MB, free: 15.93 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.09198, allocations: 0 / 438.3 MB, free: 15.93 MB / 314.7 MB Notification: Performance of Templates: time 0.004981/0.09696, allocations: 2.642 MB / 440.9 MB, free: 13.29 MB / 314.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)