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.1131/0.1131, allocations: 21.44 MB / 36.39 MB, free: 1.164 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.001102/0.001103, allocations: 183 kB / 42.62 MB, free: 3.996 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.533/1.533, allocations: 205.4 MB / 254.1 MB, free: 15.2 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.0008224/0.0008224, allocations: 88.81 kB / 307.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003194, allocations: 9.094 kB / 371.2 MB, free: 60.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1143, allocations: 52.96 MB / 424.2 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.001834/0.1162, allocations: 1.414 MB / 425.6 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004874/0.1167, allocations: 228.2 kB / 425.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.904e-05/0.1168, allocations: 0 / 425.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.52e-05/0.1168, allocations: 11.86 kB / 425.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.117, allocations: 27.86 kB / 425.8 MB, free: 13.39 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.0001376/0.1172, allocations: 51.86 kB / 425.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.1174, allocations: 91.78 kB / 426 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.1175, allocations: 53.75 kB / 426 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.61e-05/0.1176, allocations: 47.83 kB / 426.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.1177, allocations: 55.69 kB / 426.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.1177, allocations: 8 kB / 426.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.682e-05/0.1177, allocations: 4 kB / 426.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.1178, allocations: 11.92 kB / 426.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.1178, allocations: 57.58 kB / 426.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.118, allocations: 95.78 kB / 426.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.118, allocations: 4 kB / 426.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.118, allocations: 0 / 426.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.118, allocations: 0 / 426.3 MB, free: 12.91 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.0004782/0.1185, allocations: 466.3 kB / 426.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1185, allocations: 11.97 kB / 426.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.39e-05/0.1186, allocations: 19.81 kB / 426.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.1188, allocations: 214.8 kB / 427 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.1188, allocations: 15.95 kB / 427 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.1188, allocations: 16 kB / 427 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.1192, allocations: 161.1 kB / 427.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1192, allocations: 0 / 427.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.1192, allocations: 11.94 kB / 427.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1193, allocations: 4 kB / 427.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.1195, allocations: 99.92 kB / 427.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006246/0.1202, allocations: 480.2 kB / 427.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.1204, allocations: 158.5 kB / 427.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.1204, allocations: 11.94 kB / 427.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002671/0.1207, allocations: 153 kB / 428.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.422e-06/0.1207, allocations: 0 / 428.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006962/0.1214, allocations: 440.4 kB / 428.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.1215, allocations: 118.8 kB / 428.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.457e-05/0.1216, allocations: 134.4 kB / 428.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1216, allocations: 37.64 kB / 428.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.1216, allocations: 116.5 kB / 428.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.1217, allocations: 55.23 kB / 429 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/0.1217, allocations: 8 kB / 429 MB, free: 9.977 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.631e-05/0.1218, allocations: 330.8 kB / 429.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.1219, allocations: 51.97 kB / 429.4 MB, free: 9.594 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.1221, allocations: 111.7 kB / 429.5 MB, free: 9.457 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.1223, allocations: 140 kB / 429.6 MB, free: 9.305 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1223, allocations: 0 / 429.6 MB, free: 9.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004245/0.1227, allocations: 327 kB / 429.9 MB, free: 8.969 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.1228, allocations: 67.39 kB / 430 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1228, allocations: 0 / 430 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1228, allocations: 4 kB / 430 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.123, allocations: 23.98 kB / 430 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.123, allocations: 7.938 kB / 430 MB, free: 8.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.1231, allocations: 36.03 kB / 430.1 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.1232, allocations: 12 kB / 430.1 MB, free: 8.809 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,$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,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.1233, allocations: 171.5 kB / 430.2 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.1233, allocations: 19.77 kB / 430.3 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005389/0.1238, allocations: 336.4 kB / 430.6 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1239, allocations: 4 kB / 430.6 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1239, allocations: 3.984 kB / 430.6 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1239, allocations: 0 / 430.6 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.124, allocations: 253.3 kB / 430.8 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.124, allocations: 0 / 430.8 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.1241, allocations: 15.98 kB / 430.9 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1242, allocations: 0 / 430.9 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.1242, allocations: 8 kB / 430.9 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1242, allocations: 4 kB / 430.9 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1242, allocations: 4 kB / 430.9 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006646/0.1249, allocations: 450.8 kB / 431.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.529e-05/0.1249, allocations: 96.88 kB / 431.4 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.1249, allocations: 20.02 kB / 431.4 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.1251, allocations: 15.98 kB / 431.4 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.1252, allocations: 31.94 kB / 431.5 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.1252, allocations: 8 kB / 431.5 MB, free: 7.277 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.717e-05/0.1252, allocations: 99.34 kB / 431.6 MB, free: 7.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1252, allocations: 0 / 431.6 MB, free: 7.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.1255, allocations: 40 kB / 431.6 MB, free: 7.141 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 (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.319e-05/0.1256, allocations: 119 kB / 431.7 MB, free: 7.012 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004729/0.126, allocations: 355.2 kB / 432.1 MB, free: 6.641 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1261, allocations: 8.125 kB / 432.1 MB, free: 6.633 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.1263, allocations: 291.3 kB / 432.4 MB, free: 6.336 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.1265, allocations: 18.77 kB / 432.4 MB, free: 6.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005598/0.127, allocations: 398.3 kB / 432.8 MB, free: 5.906 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.1272, allocations: 0.7277 MB / 433.5 MB, free: 5.152 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.834e-05/0.1273, allocations: 12.64 kB / 433.5 MB, free: 5.141 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.1273, allocations: 15.44 kB / 433.5 MB, free: 5.125 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1273, allocations: 0 / 433.5 MB, free: 5.125 MB / 298.7 MB Notification: Performance of Templates: time 0.003084/0.1304, allocations: 1.456 MB / 435 MB, free: 3.668 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)