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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 106.2 kB / 16.46 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 198.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.1009/0.1009, allocations: 22.69 MB / 325.4 MB, free: 3.547 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.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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 67.88 kB / 455.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1302, allocations: 58.02 MB / 0.5015 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.003211/0.1334, allocations: 1.759 MB / 0.5032 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005996/0.134, allocations: 231.6 kB / 0.5035 GB, free: 7.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.1341, allocations: 11.94 kB / 0.5035 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.1343, allocations: 19.73 kB / 0.5035 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.1344, allocations: 27.78 kB / 0.5035 GB, free: 7.215 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.0001669/0.1346, allocations: 59.92 kB / 0.5036 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.1349, allocations: 171.6 kB / 0.5037 GB, free: 6.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.135, allocations: 51.92 kB / 0.5038 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.318e-05/0.1351, allocations: 63.78 kB / 0.5039 GB, free: 6.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.1353, allocations: 75.67 kB / 0.5039 GB, free: 6.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.1353, allocations: 12 kB / 0.5039 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.2e-05/0.1353, allocations: 16 kB / 0.504 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.691e-05/0.1353, allocations: 31.78 kB / 0.504 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.483e-05/0.1354, allocations: 75.59 kB / 0.5041 GB, free: 6.664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.1356, allocations: 143.3 kB / 0.5042 GB, free: 6.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1356, allocations: 3.984 kB / 0.5042 GB, free: 6.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1356, allocations: 0 / 0.5042 GB, free: 6.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1357, allocations: 0 / 0.5042 GB, free: 6.52 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.0006887/0.1363, allocations: 498.3 kB / 0.5047 GB, free: 5.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1364, allocations: 12.03 kB / 0.5047 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.496e-05/0.1364, allocations: 24.8 kB / 0.5047 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.1367, allocations: 208.1 kB / 0.5049 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/0.1368, allocations: 16.38 kB / 0.5049 GB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.1368, allocations: 16.38 kB / 0.5049 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.1372, allocations: 154.4 kB / 0.5051 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.1372, allocations: 192 / 0.5051 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.1372, allocations: 11.94 kB / 0.5051 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1373, allocations: 8 kB / 0.5051 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.1376, allocations: 107.8 kB / 0.5052 GB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008162/0.1384, allocations: 480.2 kB / 0.5057 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.1387, allocations: 86.53 kB / 0.5057 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.1389, allocations: 64.83 kB / 0.5058 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.1389, allocations: 3.984 kB / 0.5058 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003202/0.1392, allocations: 162.8 kB / 0.506 GB, free: 4.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/0.1392, allocations: 0 / 0.506 GB, free: 4.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0008941/0.1401, allocations: 351.4 kB / 0.5063 GB, free: 4.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.921e-05/0.1402, allocations: 114.8 kB / 0.5064 GB, free: 4.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.1403, allocations: 140 kB / 0.5065 GB, free: 3.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.1404, allocations: 37.69 kB / 0.5066 GB, free: 3.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/0.1404, allocations: 120.5 kB / 0.5067 GB, free: 3.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.277e-05/0.1405, allocations: 55.59 kB / 0.5067 GB, free: 3.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.608e-05/0.1406, allocations: 49.64 kB / 0.5068 GB, free: 3.609 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1407, allocations: 326.8 kB / 0.5071 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.1409, allocations: 63.89 kB / 0.5072 GB, free: 3.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.1411, allocations: 120.6 kB / 0.5073 GB, free: 3.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/0.1416, allocations: 271.3 kB / 0.5075 GB, free: 2.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1416, allocations: 8 kB / 0.5076 GB, free: 2.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005964/0.1422, allocations: 312.7 kB / 0.5078 GB, free: 2.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.725e-05/0.1422, allocations: 70.36 kB / 0.5079 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.1422, allocations: 7.938 kB / 0.5079 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1423, allocations: 4.25 kB / 0.5079 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.1424, allocations: 27.92 kB / 0.508 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1424, allocations: 4 kB / 0.508 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.1426, allocations: 35.8 kB / 0.508 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.1426, allocations: 12 kB / 0.508 GB, free: 2.266 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.0001673/0.1428, allocations: 178.8 kB / 0.5082 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.1428, allocations: 15.91 kB / 0.5082 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000693/0.1435, allocations: 341.4 kB / 0.5085 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1435, allocations: 0 / 0.5085 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1435, allocations: 0 / 0.5085 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1436, allocations: 7.984 kB / 0.5085 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.1438, allocations: 249.4 kB / 0.5088 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1438, allocations: 4 kB / 0.5088 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.144, allocations: 23.92 kB / 0.5088 GB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.144, allocations: 0 / 0.5088 GB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.144, allocations: 11.94 kB / 0.5088 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.144, allocations: 0 / 0.5088 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.144, allocations: 0 / 0.5088 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000902/0.1449, allocations: 459.8 kB / 0.5092 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.1449, allocations: 92.98 kB / 0.5093 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.145, allocations: 7.984 kB / 0.5093 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.1452, allocations: 19.98 kB / 0.5094 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/0.1452, allocations: 19.97 kB / 0.5094 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.1453, allocations: 16.05 kB / 0.5094 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.558e-05/0.1453, allocations: 103.2 kB / 0.5095 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1453, allocations: 0 / 0.5095 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1456, allocations: 47.89 kB / 0.5095 GB, free: 0.582 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.0001352/0.1457, allocations: 107.5 kB / 0.5096 GB, free: 480 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005926/0.1463, allocations: 298.6 kB / 0.5099 GB, free: 156 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1463, allocations: 0 / 0.5099 GB, free: 156 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.1466, allocations: 139.4 kB / 0.5101 GB, free: 4 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2429/0.3895, allocations: 19.83 kB / 0.5101 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009885/0.3905, allocations: 365.6 kB / 0.5104 GB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.3907, allocations: 0.7171 MB / 0.5111 GB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.802e-05/0.3908, allocations: 17.73 kB / 0.5111 GB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.3908, allocations: 14.91 kB / 0.5111 GB, free: 15.01 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3908, allocations: 0 / 0.5111 GB, free: 15.01 MB / 382.1 MB Notification: Performance of Templates: time 0.005131/0.3959, allocations: 1.804 MB / 0.5129 GB, free: 14.96 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: 5.088685400318354] Failed to read output from testmodel.py, exit status != 0: 0.40341420704498887 0.415075816 0.277049363 Calling exit ...