Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_analogue_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.001957/0.001957, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.002408/0.002408, allocations: 210.9 kB / 23.01 MB, free: 4.992 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.69/1.69, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1075/0.1075, allocations: 24.03 MB / 337.2 MB, free: 11.45 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_analogue_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_analogue_PI_awfb_full") translateModel(AES.Devel_test_models.Test_analogue_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_analogue_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.002109/0.002109, allocations: 71.89 kB / 472 MB, free: 8.238 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3743, allocations: 59.56 MB / 0.5191 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.002902/0.3772, allocations: 1.728 MB / 0.5208 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003897/0.3776, allocations: 142.2 kB / 0.5209 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.298e-05/0.3777, allocations: 1.062 kB / 0.5209 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.3778, allocations: 26.28 kB / 0.5209 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.378, allocations: 21.91 kB / 0.521 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.3781, allocations: 55.55 kB / 0.521 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.3783, allocations: 151 kB / 0.5212 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.3785, allocations: 45.34 kB / 0.5212 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.559e-05/0.3786, allocations: 57.89 kB / 0.5213 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.3787, allocations: 63.92 kB / 0.5213 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.3787, allocations: 12.66 kB / 0.5213 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.311e-05/0.3787, allocations: 13.22 kB / 0.5213 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.3788, allocations: 33.5 kB / 0.5214 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.499e-05/0.3788, allocations: 54.83 kB / 0.5214 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.379, allocations: 138.8 kB / 0.5216 GB, free: 7.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.379, allocations: 0.6094 kB / 0.5216 GB, free: 7.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.379, allocations: 0 / 0.5216 GB, free: 7.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.379, allocations: 0 / 0.5216 GB, free: 7.742 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.0005923/0.3796, allocations: 380.5 kB / 0.5219 GB, free: 7.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3797, allocations: 10.73 kB / 0.5219 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.3797, allocations: 18.08 kB / 0.5219 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.38, allocations: 153.8 kB / 0.5221 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.38, allocations: 16.22 kB / 0.5221 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.38, allocations: 23.52 kB / 0.5221 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.3804, allocations: 153.2 kB / 0.5223 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3804, allocations: 192 / 0.5223 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.3804, allocations: 9.281 kB / 0.5223 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3804, allocations: 3.844 kB / 0.5223 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003723/0.3808, allocations: 121.9 kB / 0.5224 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007495/0.3815, allocations: 409.3 kB / 0.5228 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.3818, allocations: 108.6 kB / 0.5229 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.382, allocations: 68.25 kB / 0.523 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.3821, allocations: 7.062 kB / 0.523 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.3821, allocations: 37.56 kB / 0.523 GB, free: 6.695 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.3821, allocations: 0 / 0.523 GB, free: 6.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006733/0.3827, allocations: 232.6 kB / 0.5232 GB, free: 6.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.3828, allocations: 58.55 kB / 0.5233 GB, free: 6.531 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.9e-05/0.3829, allocations: 135 kB / 0.5234 GB, free: 6.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.3829, allocations: 30.98 kB / 0.5234 GB, free: 6.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.3829, allocations: 114.6 kB / 0.5236 GB, free: 6.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.383, allocations: 72.75 kB / 0.5236 GB, free: 6.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.383, allocations: 48.31 kB / 0.5237 GB, free: 6.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.3831, allocations: 321.9 kB / 0.524 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.3833, allocations: 57.72 kB / 0.524 GB, free: 5.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.3835, allocations: 84.86 kB / 0.5241 GB, free: 5.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/0.3838, allocations: 142 kB / 0.5242 GB, free: 5.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3838, allocations: 0 / 0.5242 GB, free: 5.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000428/0.3842, allocations: 195.9 kB / 0.5244 GB, free: 5.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3843, allocations: 8.438 kB / 0.5244 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3843, allocations: 8.641 kB / 0.5245 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3843, allocations: 2.812 kB / 0.5245 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.3847, allocations: 63.97 kB / 0.5245 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3847, allocations: 5.969 kB / 0.5245 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.3849, allocations: 25.28 kB / 0.5245 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.3849, allocations: 9.875 kB / 0.5246 GB, free: 5.629 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (ts.y,C.LOsat,C.HIsat,C.noDec,C.noInc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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 8.59e-05/0.385, allocations: 124.7 kB / 0.5247 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.385, allocations: 9.438 kB / 0.5247 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005021/0.3855, allocations: 204.5 kB / 0.5249 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3855, allocations: 6.469 kB / 0.5249 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3855, allocations: 0 / 0.5249 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.3855, allocations: 2.719 kB / 0.5249 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.3857, allocations: 175.4 kB / 0.5251 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3857, allocations: 1.438 kB / 0.5251 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.386, allocations: 45.97 kB / 0.5251 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.386, allocations: 5.688 kB / 0.5251 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.386, allocations: 7.25 kB / 0.5251 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.386, allocations: 0 / 0.5251 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.386, allocations: 5.281 kB / 0.5251 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006338/0.3867, allocations: 358.6 kB / 0.5255 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.3867, allocations: 17.16 kB / 0.5255 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.3867, allocations: 7.141 kB / 0.5255 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.3869, allocations: 17.53 kB / 0.5255 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.739e-05/0.387, allocations: 39.23 kB / 0.5255 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.387, allocations: 4.344 kB / 0.5255 GB, free: 4.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.09e-05/0.387, allocations: 102.3 kB / 0.5256 GB, free: 4.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.387, allocations: 0 / 0.5256 GB, free: 4.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.3873, allocations: 31.3 kB / 0.5257 GB, free: 4.895 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C.xfb,C.xBias,C.u,C.csfil,P.y) * Number of discrete variables: 5 (C.noInc,C.noDec,C.HIsat,C.LOsat,ts.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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 7.527e-05/0.3874, allocations: 105.9 kB / 0.5258 GB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004235/0.3878, allocations: 153.8 kB / 0.5259 GB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.3878, allocations: 0 / 0.5259 GB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.388, allocations: 95.14 kB / 0.526 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.3883, allocations: 14.25 kB / 0.526 GB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006699/0.389, allocations: 386.2 kB / 0.5264 GB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.064e-05/0.389, allocations: 109.9 kB / 0.5265 GB, free: 4.387 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.3891, allocations: 26.86 kB / 0.5265 GB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.145e-05/0.3892, allocations: 23.27 kB / 0.5265 GB, free: 4.363 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3892, allocations: 5.312 kB / 0.5265 GB, free: 4.359 MB / 382.1 MB Notification: Performance of Templates: time 0.005563/0.3948, allocations: 1.834 MB / 0.5283 GB, free: 4.188 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.sim & ./AES_AES.Devel_test_models.Test_analogue_PI_awfb_full -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2589725982397795] Failed to read output from testmodel.py, exit status != 0: 0.40336297638714314 0.417393632 0.035262941 Calling exit ...