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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 109.5 kB / 17.14 MB, free: 5.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 205.1 kB / 20.11 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1039/0.1039, allocations: 24.04 MB / 333.6 MB, free: 1.574 MB / 254.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Devel_test_models.Test_digital_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,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=600,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_digital_PI_awfb_full") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 67.48 kB / 466.8 MB, free: 32.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1224, allocations: 59.55 MB / 0.514 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.003389/0.1258, allocations: 1.777 MB / 0.5157 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005784/0.1264, allocations: 235.5 kB / 0.5159 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.919e-05/0.1265, allocations: 3.938 kB / 0.5159 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.1266, allocations: 27.73 kB / 0.516 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.1268, allocations: 15.86 kB / 0.516 GB, free: 11.86 MB / 382.1 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.0001791/0.127, allocations: 67.84 kB / 0.5161 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.1273, allocations: 167.7 kB / 0.5162 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.1275, allocations: 55.94 kB / 0.5163 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.804e-05/0.1276, allocations: 59.77 kB / 0.5163 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.1277, allocations: 79.61 kB / 0.5164 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.1277, allocations: 16 kB / 0.5164 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.778e-05/0.1278, allocations: 16 kB / 0.5164 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.56e-05/0.1278, allocations: 23.92 kB / 0.5165 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.304e-05/0.1279, allocations: 75.53 kB / 0.5165 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.1281, allocations: 151.3 kB / 0.5167 GB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1282, allocations: 0 / 0.5167 GB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1282, allocations: 0 / 0.5167 GB, free: 11.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.1282, allocations: 0 / 0.5167 GB, free: 11.16 MB / 382.1 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.0007429/0.1289, allocations: 498.2 kB / 0.5171 GB, free: 10.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1289, allocations: 8.625 kB / 0.5172 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.129, allocations: 20.84 kB / 0.5172 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.1293, allocations: 220.1 kB / 0.5174 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.1294, allocations: 12.38 kB / 0.5174 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.1294, allocations: 20.31 kB / 0.5174 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.1298, allocations: 154.2 kB / 0.5176 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1298, allocations: 192 / 0.5176 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.1298, allocations: 11.94 kB / 0.5176 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1298, allocations: 0 / 0.5176 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.1302, allocations: 108.2 kB / 0.5177 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008357/0.131, allocations: 480.1 kB / 0.5181 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.1313, allocations: 86.55 kB / 0.5182 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.1315, allocations: 68.81 kB / 0.5183 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.1315, allocations: 4 kB / 0.5183 GB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003288/0.1318, allocations: 149 kB / 0.5184 GB, free: 9.168 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.1318, allocations: 7.938 kB / 0.5184 GB, free: 9.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0009054/0.1327, allocations: 363.4 kB / 0.5188 GB, free: 8.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.231e-05/0.1328, allocations: 110.8 kB / 0.5189 GB, free: 8.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.133, allocations: 140.6 kB / 0.519 GB, free: 8.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.133, allocations: 37.69 kB / 0.5191 GB, free: 8.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.401e-05/0.1331, allocations: 120.5 kB / 0.5192 GB, free: 8.348 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.811e-05/0.1332, allocations: 55.58 kB / 0.5192 GB, free: 8.293 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.665e-05/0.1332, allocations: 49.7 kB / 0.5193 GB, free: 8.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1334, allocations: 326.8 kB / 0.5196 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.1336, allocations: 55.95 kB / 0.5196 GB, free: 7.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.1338, allocations: 126.8 kB / 0.5198 GB, free: 7.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.1343, allocations: 274.6 kB / 0.52 GB, free: 7.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1343, allocations: 0 / 0.52 GB, free: 7.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006288/0.1349, allocations: 320.7 kB / 0.5203 GB, free: 7.062 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.914e-05/0.135, allocations: 69.58 kB / 0.5204 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.135, allocations: 3.938 kB / 0.5204 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.135, allocations: 4 kB / 0.5204 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.1352, allocations: 27.98 kB / 0.5204 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1352, allocations: 8.188 kB / 0.5204 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.1354, allocations: 35.86 kB / 0.5205 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.1354, allocations: 12 kB / 0.5205 GB, free: 6.895 MB / 382.1 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.0002046/0.1356, allocations: 175.4 kB / 0.5207 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.1357, allocations: 15.91 kB / 0.5207 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007451/0.1364, allocations: 353.7 kB / 0.521 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1364, allocations: 0 / 0.521 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1364, allocations: 0 / 0.521 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.1364, allocations: 3.984 kB / 0.521 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.1367, allocations: 253.4 kB / 0.5212 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1367, allocations: 0 / 0.5212 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.1368, allocations: 15.98 kB / 0.5213 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1368, allocations: 7.938 kB / 0.5213 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.1369, allocations: 11.88 kB / 0.5213 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.1369, allocations: 4 kB / 0.5213 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1369, allocations: 0 / 0.5213 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009396/0.1378, allocations: 457.1 kB / 0.5217 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/0.1379, allocations: 93.02 kB / 0.5218 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.1379, allocations: 12 kB / 0.5218 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.1381, allocations: 15.98 kB / 0.5218 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.261e-05/0.1382, allocations: 23.97 kB / 0.5219 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.1382, allocations: 11.92 kB / 0.5219 GB, free: 5.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.477e-05/0.1383, allocations: 95.27 kB / 0.522 GB, free: 5.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1383, allocations: 0 / 0.522 GB, free: 5.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.1386, allocations: 55.95 kB / 0.522 GB, free: 5.199 MB / 382.1 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.0001433/0.1387, allocations: 110.7 kB / 0.5221 GB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006215/0.1393, allocations: 287.1 kB / 0.5224 GB, free: 4.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1393, allocations: 4.062 kB / 0.5224 GB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.1396, allocations: 147.3 kB / 0.5225 GB, free: 4.621 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.1399, allocations: 20.53 kB / 0.5226 GB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008961/0.1408, allocations: 351.4 kB / 0.5229 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.1412, allocations: 0.7274 MB / 0.5236 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.5e-05/0.1413, allocations: 12.44 kB / 0.5236 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.1414, allocations: 19.42 kB / 0.5236 GB, free: 3.445 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1414, allocations: 0 / 0.5236 GB, free: 3.445 MB / 382.1 MB Notification: Performance of Templates: time 0.005442/0.1468, allocations: 1.807 MB / 0.5254 GB, free: 1.641 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.Test_digital_PI_awfb_full.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.95449355058372] Failed to read output from testmodel.py, exit status != 0: 0.15529406815767288 0.17216762500000002 0.040546641 Calling exit ...