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.09444/0.09444, allocations: 21.41 MB / 36.67 MB, free: 1.125 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.0009574/0.0009574, allocations: 184.5 kB / 42.86 MB, free: 3.871 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.507/1.507, allocations: 205 MB / 253.9 MB, free: 15.3 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.0007337/0.0007336, allocations: 83.48 kB / 307.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003727, allocations: 9.125 kB / 370.4 MB, free: 60.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09765/0.09804, allocations: 52.51 MB / 422.9 MB, free: 16.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002901/0.101, allocations: 1.788 MB / 424.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004719/0.1015, allocations: 255.6 kB / 425 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.426e-05/0.1016, allocations: 4 kB / 425 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.1017, allocations: 15.8 kB / 425 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.1018, allocations: 15.92 kB / 425 MB, free: 14.55 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:73:5-73:30:writable] Warning: Conditional component ‘ovrMax‘ is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:79:5-79:30:writable] Warning: Conditional component ‘ovrMin‘ is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.1019, allocations: 59.94 kB / 425.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.1021, allocations: 155.5 kB / 425.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1022, allocations: 75.66 kB / 425.3 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.195e-05/0.1023, allocations: 59.77 kB / 425.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.268e-05/0.1024, allocations: 71.61 kB / 425.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.1024, allocations: 12 kB / 425.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.614e-05/0.1024, allocations: 8 kB / 425.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.1025, allocations: 23.86 kB / 425.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.1025, allocations: 67.59 kB / 425.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.1027, allocations: 127.5 kB / 425.7 MB, free: 13.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1027, allocations: 4 kB / 425.7 MB, free: 13.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1027, allocations: 0 / 425.7 MB, free: 13.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1027, allocations: 0 / 425.7 MB, free: 13.9 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000459/0.1031, allocations: 494.5 kB / 426.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1032, allocations: 8.031 kB / 426.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.1032, allocations: 20.75 kB / 426.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.1034, allocations: 223.9 kB / 426.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.1035, allocations: 16.31 kB / 426.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.1035, allocations: 16.38 kB / 426.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.1038, allocations: 161.9 kB / 426.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1038, allocations: 4.188 kB / 426.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.1038, allocations: 7.938 kB / 426.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1039, allocations: 4 kB / 426.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/0.1041, allocations: 99.88 kB / 426.7 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.1048, allocations: 476.1 kB / 427.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.105, allocations: 162.5 kB / 427.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.1052, allocations: 132.8 kB / 427.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1052, allocations: 3.984 kB / 427.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002923/0.1055, allocations: 161 kB / 427.6 MB, free: 11.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.1055, allocations: 0 / 427.6 MB, free: 11.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007062/0.1062, allocations: 355.2 kB / 428 MB, free: 11.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.1063, allocations: 118.8 kB / 428.1 MB, free: 11.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.974e-05/0.1064, allocations: 138 kB / 428.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1064, allocations: 33.7 kB / 428.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.1064, allocations: 116.3 kB / 428.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.1065, allocations: 63.27 kB / 428.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.1066, allocations: 45.7 kB / 428.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.629e-05/0.1066, allocations: 326.8 kB / 428.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.1068, allocations: 59.94 kB / 428.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.1069, allocations: 126 kB / 429 MB, free: 10.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.1073, allocations: 280.6 kB / 429.2 MB, free: 9.992 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1073, allocations: 4 kB / 429.2 MB, free: 9.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000424/0.1077, allocations: 316.5 kB / 429.5 MB, free: 9.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.1078, allocations: 71.39 kB / 429.6 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1078, allocations: 3.938 kB / 429.6 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1078, allocations: 8.25 kB / 429.6 MB, free: 9.566 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.1079, allocations: 27.97 kB / 429.7 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.1079, allocations: 7.938 kB / 429.7 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.1081, allocations: 31.83 kB / 429.7 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.1081, allocations: 11.98 kB / 429.7 MB, free: 9.488 MB / 298.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,C.u,$PRE.C.u,C.ulino,$PRE.C.ulino,C.ulin,$PRE.C.ulin,C.xfb,$PRE.C.xfb,C.fBias,$PRE.C.fBias,C.iBiaso,$PRE.C.iBiaso,C.xBias,$PRE.C.xBias,C.LOsat,$PRE.C.LOsat,C.HIsat,$PRE.C.HIsat,ts.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.1082, allocations: 171.5 kB / 429.9 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.1083, allocations: 23.8 kB / 429.9 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005849/0.1088, allocations: 336.4 kB / 430.2 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1089, allocations: 4 kB / 430.2 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1089, allocations: 0 / 430.2 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1089, allocations: 0 / 430.2 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.109, allocations: 249.4 kB / 430.5 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-06/0.109, allocations: 4 kB / 430.5 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.1092, allocations: 23.97 kB / 430.5 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1092, allocations: 0 / 430.5 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.1092, allocations: 11.94 kB / 430.5 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1092, allocations: 0 / 430.5 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1092, allocations: 0 / 430.5 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000716/0.1099, allocations: 458.4 kB / 431 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.11, allocations: 96.83 kB / 431.1 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.11, allocations: 8 kB / 431.1 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.1102, allocations: 23.97 kB / 431.1 MB, free: 7.984 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.017e-05/0.1102, allocations: 19.97 kB / 431.1 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.1103, allocations: 7.984 kB / 431.1 MB, free: 7.957 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.031e-05/0.1103, allocations: 99.33 kB / 431.2 MB, free: 7.859 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1103, allocations: 0 / 431.2 MB, free: 7.859 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002208/0.1105, allocations: 40 kB / 431.3 MB, free: 7.82 MB / 298.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.noInc,C.noDec,C.HIsat,C.LOsat,C.xBias,C.iBiaso,C.fBias,C.xfb,C.ulin,C.ulino,C.u,ts.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001027/0.1107, allocations: 107.2 kB / 431.4 MB, free: 7.703 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004675/0.1111, allocations: 366.6 kB / 431.7 MB, free: 7.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1111, allocations: 0 / 431.7 MB, free: 7.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.1114, allocations: 291.3 kB / 432 MB, free: 7.023 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.1116, allocations: 19.92 kB / 432 MB, free: 7.004 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005933/0.1122, allocations: 402.5 kB / 432.4 MB, free: 6.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.1123, allocations: 0.7238 MB / 433.1 MB, free: 5.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.867e-05/0.1124, allocations: 12.64 kB / 433.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.1125, allocations: 15.44 kB / 433.2 MB, free: 5.812 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1125, allocations: 0 / 433.2 MB, free: 5.812 MB / 298.7 MB Notification: Performance of Templates: time 0.003319/0.1158, allocations: 1.502 MB / 434.7 MB, free: 4.312 MB / 298.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)