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 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.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.1335/0.1335, allocations: 21.45 MB / 36.4 MB, free: 1.203 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.001186/0.001186, allocations: 179.9 kB / 42.62 MB, free: 3.992 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.85/1.85, allocations: 205.4 MB / 254.1 MB, free: 15.24 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.0009332/0.0009331, allocations: 82.31 kB / 307.8 MB, free: 11.11 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003007/0.0003005, allocations: 11.62 kB / 371.2 MB, free: 60.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08925/0.08956, allocations: 52.95 MB / 424.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1031/0.1927, allocations: 78.49 MB / 0.4909 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.193, allocations: 67.91 kB / 0.4909 GB, free: 0.5312 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.2008/0.3938, allocations: 2.178 MB / 0.4931 GB, free: 78.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3938, allocations: 0 / 0.4931 GB, free: 78.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.3938, allocations: 2.656 kB / 0.4931 GB, free: 78.39 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.00046/0.3943, allocations: 484.7 kB / 0.4935 GB, free: 77.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3944, allocations: 12.83 kB / 0.4935 GB, free: 77.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.3944, allocations: 19.03 kB / 0.4936 GB, free: 77.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.3946, allocations: 212.5 kB / 0.4938 GB, free: 77.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.3947, allocations: 13.58 kB / 0.4938 GB, free: 77.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.3947, allocations: 17.56 kB / 0.4938 GB, free: 77.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.395, allocations: 156.7 kB / 0.4939 GB, free: 77.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3951, allocations: 0 / 0.4939 GB, free: 77.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.3951, allocations: 6.5 kB / 0.4939 GB, free: 77.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3951, allocations: 2.656 kB / 0.4939 GB, free: 77.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.3954, allocations: 101.3 kB / 0.494 GB, free: 77.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008292/0.3962, allocations: 493.6 kB / 0.4945 GB, free: 77.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.3965, allocations: 170.5 kB / 0.4947 GB, free: 77.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.3966, allocations: 0 / 0.4947 GB, free: 77.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003763/0.3969, allocations: 151.6 kB / 0.4948 GB, free: 77.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.152e-06/0.3969, allocations: 0 / 0.4948 GB, free: 77.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009725/0.3979, allocations: 438.4 kB / 0.4952 GB, free: 77.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/0.398, allocations: 119.1 kB / 0.4954 GB, free: 76.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.3981, allocations: 126.1 kB / 0.4955 GB, free: 76.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.3982, allocations: 31.73 kB / 0.4955 GB, free: 76.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.461e-05/0.3983, allocations: 116.9 kB / 0.4956 GB, free: 76.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.589e-05/0.3983, allocations: 52.23 kB / 0.4957 GB, free: 76.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/0.3983, allocations: 11.69 kB / 0.4957 GB, free: 76.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3984, allocations: 322.2 kB / 0.496 GB, free: 76.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.3986, allocations: 56.19 kB / 0.496 GB, free: 76.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.3988, allocations: 121.9 kB / 0.4962 GB, free: 76.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.3991, allocations: 127.6 kB / 0.4963 GB, free: 76.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3991, allocations: 6.734 kB / 0.4963 GB, free: 76.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005371/0.3996, allocations: 313.9 kB / 0.4966 GB, free: 76.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.502e-05/0.3997, allocations: 70.88 kB / 0.4966 GB, free: 76.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3997, allocations: 4 kB / 0.4967 GB, free: 76.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.3997, allocations: 8.234 kB / 0.4967 GB, free: 76.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.3999, allocations: 27.53 kB / 0.4967 GB, free: 76.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.3999, allocations: 7.297 kB / 0.4967 GB, free: 76.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.4001, allocations: 33.59 kB / 0.4967 GB, free: 76.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.4001, allocations: 13.47 kB / 0.4967 GB, free: 76.04 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 0.000132/0.4003, allocations: 172.4 kB / 0.4969 GB, free: 75.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.4003, allocations: 14.31 kB / 0.4969 GB, free: 75.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006814/0.401, allocations: 337 kB / 0.4972 GB, free: 75.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.401, allocations: 3.391 kB / 0.4972 GB, free: 75.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.401, allocations: 0 / 0.4972 GB, free: 75.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.401, allocations: 0.75 kB / 0.4972 GB, free: 75.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.4012, allocations: 251.9 kB / 0.4975 GB, free: 75.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.4012, allocations: 8.516 kB / 0.4975 GB, free: 75.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.4014, allocations: 16.53 kB / 0.4975 GB, free: 75.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.4014, allocations: 1.297 kB / 0.4975 GB, free: 75.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.4014, allocations: 12.69 kB / 0.4975 GB, free: 75.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4014, allocations: 5.156 kB / 0.4975 GB, free: 75.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4014, allocations: 2.016 kB / 0.4975 GB, free: 75.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008836/0.4023, allocations: 456.8 kB / 0.498 GB, free: 75.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.517e-05/0.4024, allocations: 88.7 kB / 0.498 GB, free: 75.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.4024, allocations: 10.19 kB / 0.4981 GB, free: 75.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.4026, allocations: 26.95 kB / 0.4981 GB, free: 75.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/0.4027, allocations: 21.08 kB / 0.4981 GB, free: 75.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.4027, allocations: 10.27 kB / 0.4981 GB, free: 75.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.361e-05/0.4028, allocations: 99.44 kB / 0.4982 GB, free: 75.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4028, allocations: 0 / 0.4982 GB, free: 75.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002596/0.403, allocations: 45.27 kB / 0.4983 GB, free: 75.29 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 0.0001204/0.4032, allocations: 112 kB / 0.4984 GB, free: 75.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005179/0.4037, allocations: 367.2 kB / 0.4987 GB, free: 75.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.4037, allocations: 0 / 0.4987 GB, free: 75.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.404, allocations: 294.5 kB / 0.499 GB, free: 75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.4042, allocations: 19.78 kB / 0.499 GB, free: 74.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006414/0.4048, allocations: 393 kB / 0.4994 GB, free: 74.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.405, allocations: 0.7312 MB / 0.5001 GB, free: 74.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.37e-05/0.4051, allocations: 18.47 kB / 0.5001 GB, free: 74.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.4051, allocations: 14.75 kB / 0.5001 GB, free: 74.05 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4051, allocations: 0 / 0.5001 GB, free: 74.05 MB / 362.7 MB Notification: Performance of Templates: time 0.003844/0.409, allocations: 1.463 MB / 0.5016 GB, free: 73.93 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)