Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_digital_PI_awfb_full.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.Devel_test_models.Test_digital_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_digital_PI_awfb_full") translateModel(AES.Devel_test_models.Test_digital_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_digital_PI_awfb_full") [/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.1113/0.1113, allocations: 21.61 MB / 36.56 MB, free: 1.102 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.0009724/0.0009724, allocations: 185.4 kB / 42.82 MB, free: 3.785 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.247/1.247, allocations: 223.2 MB / 272.1 MB, free: 1.762 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.0008257/0.0008258, allocations: 108.2 kB / 328.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002729/0.0002729, allocations: 8 kB / 395 MB, free: 48.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07848/0.07876, allocations: 55.81 MB / 450.8 MB, free: 8.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2695/0.3483, allocations: 79.39 MB / 0.5178 GB, free: 11.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001689/0.3485, allocations: 65.72 kB / 0.5179 GB, free: 11.64 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:51:3-51:23:writable] Warning: Connecting two signal sources while connecting iBias to Bias. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:52:3-52:19:writable] Warning: Connecting two signal sources while connecting iTS to TS. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:53:3-53:19:writable] Warning: Connecting two signal sources while connecting iTR to TR. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:54:3-54:25:writable] Warning: Connecting two signal sources while connecting iNoInc to noInc. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:55:3-55:25:writable] Warning: Connecting two signal sources while connecting iNoDec to noDec. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:56:3-56:27:writable] Warning: Connecting two signal sources while connecting iOvrMax to ovrMax. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:57:3-57:27:writable] Warning: Connecting two signal sources while connecting iOvrMin to ovrMin. Notification: Performance of FrontEnd - DAE generated: time 0.005032/0.3536, allocations: 2.193 MB / 0.52 GB, free: 11.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3536, allocations: 0 / 0.52 GB, free: 11.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.3536, allocations: 7.547 kB / 0.52 GB, free: 11.17 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0003115/0.3539, allocations: 472 kB / 0.5205 GB, free: 10.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.737e-05/0.3539, allocations: 7.594 kB / 0.5205 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.354, allocations: 19.38 kB / 0.5205 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.3541, allocations: 221.2 kB / 0.5207 GB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.3542, allocations: 11.19 kB / 0.5207 GB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.3542, allocations: 14.44 kB / 0.5207 GB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.3545, allocations: 164 kB / 0.5209 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.944e-06/0.3545, allocations: 0 / 0.5209 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.3545, allocations: 11.45 kB / 0.5209 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3546, allocations: 3.812 kB / 0.5209 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002551/0.3548, allocations: 95.62 kB / 0.521 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006325/0.3555, allocations: 486.6 kB / 0.5214 GB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.3557, allocations: 168.1 kB / 0.5216 GB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.3557, allocations: 3.609 kB / 0.5216 GB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002557/0.356, allocations: 161.6 kB / 0.5218 GB, free: 10.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.356, allocations: 0 / 0.5218 GB, free: 10.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006669/0.3567, allocations: 428.6 kB / 0.5222 GB, free: 9.871 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.3567, allocations: 121.8 kB / 0.5223 GB, free: 9.742 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.095e-05/0.3568, allocations: 122.6 kB / 0.5224 GB, free: 9.645 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.3568, allocations: 40.03 kB / 0.5224 GB, free: 9.609 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.233e-05/0.3568, allocations: 110.2 kB / 0.5225 GB, free: 9.516 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.3569, allocations: 58.59 kB / 0.5226 GB, free: 9.484 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-06/0.3569, allocations: 7.531 kB / 0.5226 GB, free: 9.484 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 3.942e-05/0.3569, allocations: 322.9 kB / 0.5229 GB, free: 9.172 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.3571, allocations: 56.39 kB / 0.523 GB, free: 9.172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.3572, allocations: 117.5 kB / 0.5231 GB, free: 9.094 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.3574, allocations: 131.3 kB / 0.5232 GB, free: 9.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3574, allocations: 0 / 0.5232 GB, free: 9.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004099/0.3578, allocations: 313.4 kB / 0.5235 GB, free: 8.906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.3579, allocations: 77.78 kB / 0.5236 GB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3579, allocations: 0 / 0.5236 GB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3579, allocations: 3.844 kB / 0.5236 GB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.358, allocations: 31.81 kB / 0.5236 GB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.358, allocations: 4.719 kB / 0.5236 GB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.3582, allocations: 29.39 kB / 0.5237 GB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.3582, allocations: 15.28 kB / 0.5237 GB, free: 8.824 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition1,$PRE.C.HIsat,C.HIsat,$PRE.C.LOsat,C.LOsat,$PRE.C.xBias,C.xBias,$PRE.C.iBiaso,C.iBiaso,$PRE.C.fBias,C.fBias,$PRE.C.xfb,C.xfb,$PRE.C.ulin,C.ulin,$PRE.C.ulino,C.ulino,$PRE.C.u,C.u,C.TS,C.noInc,C.noDec) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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 9.016e-05/0.3583, allocations: 175 kB / 0.5238 GB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.3583, allocations: 11.75 kB / 0.5238 GB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005096/0.3588, allocations: 345.5 kB / 0.5242 GB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3588, allocations: 6.656 kB / 0.5242 GB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3589, allocations: 4 kB / 0.5242 GB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3589, allocations: 0 / 0.5242 GB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.359, allocations: 252.2 kB / 0.5244 GB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.359, allocations: 3.953 kB / 0.5244 GB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.3591, allocations: 24.36 kB / 0.5245 GB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3591, allocations: 0 / 0.5245 GB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.3591, allocations: 7.062 kB / 0.5245 GB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3591, allocations: 3.938 kB / 0.5245 GB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3592, allocations: 3.984 kB / 0.5245 GB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006607/0.3598, allocations: 448.8 kB / 0.5249 GB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.3599, allocations: 90.89 kB / 0.525 GB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.3599, allocations: 12.16 kB / 0.525 GB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.36, allocations: 26.78 kB / 0.525 GB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.3601, allocations: 20.67 kB / 0.525 GB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.3601, allocations: 9.453 kB / 0.525 GB, free: 8.152 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.438e-05/0.3602, allocations: 110.1 kB / 0.5252 GB, free: 8.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3602, allocations: 3.938 kB / 0.5252 GB, free: 8.066 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000217/0.3604, allocations: 42.09 kB / 0.5252 GB, free: 8.066 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P.y) * Number of discrete variables: 13 ($whenCondition1,C.HIsat,C.LOsat,C.xBias,C.iBiaso,C.fBias,C.xfb,C.ulin,C.ulino,C.u,C.TS,C.noInc,C.noDec) * Number of discrete states: 10 (C.LOsat,C.HIsat,C.u,C.ulino,C.ulin,C.xfb,C.iBiaso,C.fBias,C.xBias,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 8.253e-05/0.3605, allocations: 110.2 kB / 0.5253 GB, free: 7.969 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004222/0.3609, allocations: 367.5 kB / 0.5257 GB, free: 7.836 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.3609, allocations: 0 / 0.5257 GB, free: 7.836 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.3612, allocations: 288.2 kB / 0.5259 GB, free: 7.773 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.3613, allocations: 17.84 kB / 0.5259 GB, free: 7.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005116/0.3618, allocations: 399.3 kB / 0.5263 GB, free: 7.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.3619, allocations: 0.7219 MB / 0.527 GB, free: 6.852 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.903e-05/0.362, allocations: 18.5 kB / 0.527 GB, free: 6.844 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.3621, allocations: 11.25 kB / 0.5271 GB, free: 6.836 MB / 362.7 MB Notification: Performance of SimCode: time 2e-07/0.3621, allocations: 0 / 0.5271 GB, free: 6.836 MB / 362.7 MB Notification: Performance of Templates: time 0.002883/0.365, allocations: 1.472 MB / 0.5285 GB, free: 6.703 MB / 362.7 MB make -j1 -f AES_AES.Devel_test_models.Test_digital_PI_awfb_full.makefile (rm -f AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_digital_PI_awfb_full.sim & ./AES_AES.Devel_test_models.Test_digital_PI_awfb_full -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe 2>&1)