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.001504/0.001504, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.001967/0.001967, allocations: 206.4 kB / 23.01 MB, free: 4.625 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1099/0.1099, allocations: 24.04 MB / 337.2 MB, free: 11.32 MB / 270.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.002505/0.002505, allocations: 59.91 kB / 472 MB, free: 8.227 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3644, allocations: 59.57 MB / 0.5191 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002581/0.367, allocations: 1.739 MB / 0.5208 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004672/0.3674, allocations: 229.8 kB / 0.521 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.893e-05/0.3675, allocations: 5.844 kB / 0.521 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.3676, allocations: 20.67 kB / 0.521 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.3678, allocations: 21.06 kB / 0.5211 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.3679, allocations: 63.31 kB / 0.5211 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.3681, allocations: 175.7 kB / 0.5213 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.3683, allocations: 45.94 kB / 0.5213 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.454e-05/0.3683, allocations: 66.89 kB / 0.5214 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.3685, allocations: 74.78 kB / 0.5215 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.3685, allocations: 18 kB / 0.5215 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.156e-05/0.3685, allocations: 15.56 kB / 0.5215 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.063e-05/0.3686, allocations: 18.83 kB / 0.5215 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.882e-05/0.3686, allocations: 63.94 kB / 0.5216 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.3688, allocations: 148.3 kB / 0.5217 GB, free: 7.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3688, allocations: 1.344 kB / 0.5217 GB, free: 7.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3688, allocations: 0 / 0.5217 GB, free: 7.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3688, allocations: 0 / 0.5217 GB, free: 7.672 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.0004962/0.3693, allocations: 427.3 kB / 0.5221 GB, free: 7.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3694, allocations: 13.48 kB / 0.5221 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.3694, allocations: 19.84 kB / 0.5222 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.3697, allocations: 159.5 kB / 0.5223 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.3697, allocations: 13.62 kB / 0.5223 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.3697, allocations: 17.09 kB / 0.5223 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.3701, allocations: 191.1 kB / 0.5225 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3701, allocations: 192 / 0.5225 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.3701, allocations: 11.86 kB / 0.5225 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3702, allocations: 6.188 kB / 0.5225 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.3705, allocations: 144.4 kB / 0.5227 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006427/0.3711, allocations: 371.8 kB / 0.523 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.3714, allocations: 124.5 kB / 0.5231 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.3716, allocations: 107.9 kB / 0.5232 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.3716, allocations: 1.406 kB / 0.5232 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002937/0.3719, allocations: 199.5 kB / 0.5234 GB, free: 6.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.3719, allocations: 0 / 0.5234 GB, free: 6.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.00086/0.3728, allocations: 460.7 kB / 0.5239 GB, free: 6.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.3728, allocations: 117.6 kB / 0.524 GB, free: 5.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.3729, allocations: 139.9 kB / 0.5241 GB, free: 5.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3729, allocations: 33.66 kB / 0.5242 GB, free: 5.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.373, allocations: 116 kB / 0.5243 GB, free: 5.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.373, allocations: 60.22 kB / 0.5243 GB, free: 5.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.644e-05/0.3731, allocations: 53.88 kB / 0.5244 GB, free: 5.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.03e-05/0.3731, allocations: 326 kB / 0.5247 GB, free: 5.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.3733, allocations: 120.2 kB / 0.5248 GB, free: 5.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.3735, allocations: 176.5 kB / 0.525 GB, free: 5.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.3739, allocations: 271.7 kB / 0.5252 GB, free: 4.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3739, allocations: 1.031 kB / 0.5252 GB, free: 4.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005394/0.3744, allocations: 394.2 kB / 0.5256 GB, free: 4.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.239e-05/0.3744, allocations: 69.73 kB / 0.5257 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3745, allocations: 2.75 kB / 0.5257 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3745, allocations: 6.531 kB / 0.5257 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.3746, allocations: 28.3 kB / 0.5257 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3746, allocations: 3.797 kB / 0.5257 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.3748, allocations: 39.39 kB / 0.5257 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.3748, allocations: 9.688 kB / 0.5258 GB, free: 4.488 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.0001063/0.3749, allocations: 176.5 kB / 0.5259 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.375, allocations: 13.52 kB / 0.5259 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000665/0.3756, allocations: 413 kB / 0.5263 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3756, allocations: 9.094 kB / 0.5263 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3756, allocations: 1.609 kB / 0.5263 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3756, allocations: 4.891 kB / 0.5263 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.3758, allocations: 162.6 kB / 0.5265 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.3758, allocations: 3.703 kB / 0.5265 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.3759, allocations: 20.25 kB / 0.5265 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3759, allocations: 1.125 kB / 0.5265 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.3759, allocations: 5.641 kB / 0.5265 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3759, allocations: 1.188 kB / 0.5265 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3759, allocations: 4.5 kB / 0.5265 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008774/0.3768, allocations: 0.5476 MB / 0.5271 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.3768, allocations: 18.61 kB / 0.5271 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.3769, allocations: 8.531 kB / 0.5271 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.377, allocations: 24.47 kB / 0.5271 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/0.3771, allocations: 23.27 kB / 0.5271 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.3771, allocations: 6.594 kB / 0.5271 GB, free: 3.594 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.691e-05/0.3772, allocations: 102.8 kB / 0.5272 GB, free: 3.512 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3772, allocations: 5.562 kB / 0.5273 GB, free: 3.508 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.3774, allocations: 46.42 kB / 0.5273 GB, free: 3.496 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 9.264e-05/0.3775, allocations: 109.3 kB / 0.5274 GB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006379/0.3782, allocations: 396.2 kB / 0.5278 GB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3782, allocations: 1.312 kB / 0.5278 GB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002779/0.3784, allocations: 189.5 kB / 0.528 GB, free: 2.977 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.3787, allocations: 25.14 kB / 0.528 GB, free: 2.965 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008313/0.3795, allocations: 392.9 kB / 0.5284 GB, free: 2.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.184e-05/0.3796, allocations: 106.4 kB / 0.5285 GB, free: 2.621 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.402e-05/0.3797, allocations: 18.25 kB / 0.5285 GB, free: 2.609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.3798, allocations: 19.86 kB / 0.5285 GB, free: 2.598 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3798, allocations: 0 / 0.5285 GB, free: 2.598 MB / 382.1 MB Notification: Performance of Templates: time 0.005485/0.3852, allocations: 1.949 MB / 0.5304 GB, free: 2.359 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.063949264585972] Failed to read output from testmodel.py, exit status != 0: 0.39427514746785164 0.408566085 0.036519327000000004 Calling exit ...