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.124/0.124, allocations: 21.44 MB / 36.39 MB, free: 1.227 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.001094/0.001094, allocations: 187.8 kB / 42.63 MB, free: 3.965 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.63/1.63, allocations: 205.4 MB / 254.1 MB, free: 15.23 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.0008702/0.0008702, allocations: 89.31 kB / 307.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003275, allocations: 7.969 kB / 373.2 MB, free: 59.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0886/0.08895, allocations: 52.96 MB / 426.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.002057/0.09107, allocations: 1.565 MB / 427.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.09219, allocations: 0.6012 MB / 428.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.09232, allocations: 7.938 kB / 428.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.09265, allocations: 35.83 kB / 428.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.09281, allocations: 51.75 kB / 428.4 MB, free: 10.78 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.0002114/0.09304, allocations: 87.86 kB / 428.5 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.09327, allocations: 172.3 kB / 428.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.0934, allocations: 44.52 kB / 428.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.09356, allocations: 115.6 kB / 428.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.09372, allocations: 111.5 kB / 429 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.09376, allocations: 8 kB / 429 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.82e-05/0.0938, allocations: 15.94 kB / 429 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.788e-05/0.09386, allocations: 47.86 kB / 429 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.09391, allocations: 53.58 kB / 429.1 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.09406, allocations: 127.7 kB / 429.2 MB, free: 10 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.09407, allocations: 0 / 429.2 MB, free: 10 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.09408, allocations: 0 / 429.2 MB, free: 10 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.09409, allocations: 0 / 429.2 MB, free: 10 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.001077/0.09518, allocations: 0.5724 MB / 429.8 MB, free: 9.383 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.09522, allocations: 12.03 kB / 429.8 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.468e-05/0.09528, allocations: 23.72 kB / 429.8 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.09576, allocations: 310.1 kB / 430.1 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.09579, allocations: 12 kB / 430.1 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.09583, allocations: 19.91 kB / 430.1 MB, free: 8.973 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.09613, allocations: 195.9 kB / 430.3 MB, free: 8.766 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.09615, allocations: 3.938 kB / 430.3 MB, free: 8.762 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.09617, allocations: 4 kB / 430.3 MB, free: 8.758 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.09618, allocations: 4 kB / 430.3 MB, free: 8.754 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.09646, allocations: 155.9 kB / 430.5 MB, free: 8.602 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000877/0.09734, allocations: 0.7346 MB / 431.2 MB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.09778, allocations: 218.6 kB / 431.4 MB, free: 7.586 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.09782, allocations: 4 kB / 431.5 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.09784, allocations: 34.56 kB / 431.5 MB, free: 7.539 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.09785, allocations: 0 / 431.5 MB, free: 7.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005587/0.09842, allocations: 274 kB / 431.8 MB, free: 7.266 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.09846, allocations: 55.41 kB / 431.8 MB, free: 7.199 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.09896, allocations: 292.9 kB / 432.1 MB, free: 6.906 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.09899, allocations: 29.7 kB / 432.1 MB, free: 6.871 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.623e-05/0.09908, allocations: 152.3 kB / 432.3 MB, free: 6.715 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/0.09913, allocations: 74.91 kB / 432.3 MB, free: 6.641 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.271e-05/0.09915, allocations: 4 kB / 432.3 MB, free: 6.637 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.825e-05/0.09922, allocations: 334.8 kB / 432.7 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.09937, allocations: 68.25 kB / 432.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.09955, allocations: 134.4 kB / 432.9 MB, free: 6.082 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.09973, allocations: 89.56 kB / 433 MB, free: 5.996 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.09975, allocations: 7.938 kB / 433 MB, free: 5.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004432/0.1002, allocations: 279.8 kB / 433.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1002, allocations: 8 kB / 433.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1002, allocations: 3.938 kB / 433.3 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.1003, allocations: 4 kB / 433.3 MB, free: 5.695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.1006, allocations: 59.91 kB / 433.3 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1006, allocations: 4 kB / 433.3 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.1009, allocations: 55.84 kB / 433.4 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.1009, allocations: 11.98 kB / 433.4 MB, free: 5.566 MB / 298.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.0002103/0.1011, allocations: 137.8 kB / 433.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.1012, allocations: 27.67 kB / 433.5 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004648/0.1017, allocations: 242.9 kB / 433.8 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.1017, allocations: 8 kB / 433.8 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1017, allocations: 3.984 kB / 433.8 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1017, allocations: 0 / 433.8 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.102, allocations: 301.3 kB / 434.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.102, allocations: 0 / 434.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.1022, allocations: 47.88 kB / 434.1 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1023, allocations: 0 / 434.1 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.1023, allocations: 12 kB / 434.1 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1023, allocations: 3.984 kB / 434.2 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1023, allocations: 0 / 434.2 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004408/0.1027, allocations: 391.1 kB / 434.5 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.1028, allocations: 104.8 kB / 434.6 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.1028, allocations: 11.95 kB / 434.6 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.1031, allocations: 31.95 kB / 434.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.1032, allocations: 11.98 kB / 434.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.1032, allocations: 12 kB / 434.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003486/0.1035, allocations: 220.4 kB / 434.9 MB, free: 3.938 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1035, allocations: 3.938 kB / 434.9 MB, free: 3.934 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002573/0.1038, allocations: 40 kB / 435 MB, free: 3.895 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 (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.272e-05/0.1039, allocations: 107.2 kB / 435.1 MB, free: 3.777 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003165/0.1042, allocations: 191.8 kB / 435.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1042, allocations: 0 / 435.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.1044, allocations: 95.89 kB / 435.3 MB, free: 3.496 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.1047, allocations: 24.42 kB / 435.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009001/0.1056, allocations: 0.585 MB / 436 MB, free: 2.859 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.1058, allocations: 0.7638 MB / 436.7 MB, free: 2.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.1059, allocations: 37.92 kB / 436.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.106, allocations: 23.44 kB / 436.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.106, allocations: 7.875 kB / 436.8 MB, free: 2.008 MB / 298.7 MB Notification: Performance of Templates: time 0.003896/0.1099, allocations: 1.84 MB / 438.6 MB, free: 172 kB / 298.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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1)