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.001727/0.001727, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002213/0.002213, allocations: 214.8 kB / 23.01 MB, free: 4.566 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.1089/0.1089, allocations: 24.13 MB / 337.3 MB, free: 11.44 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.002053/0.002053, allocations: 63.91 kB / 472.2 MB, free: 8.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2825, allocations: 59.6 MB / 0.5193 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002479/0.2849, allocations: 1.79 MB / 0.5211 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004298/0.2854, allocations: 245.1 kB / 0.5213 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.644e-05/0.2855, allocations: 5.156 kB / 0.5213 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.2856, allocations: 21.59 kB / 0.5213 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.2857, allocations: 21.58 kB / 0.5214 GB, free: 7.992 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.0001572/0.2858, allocations: 62.11 kB / 0.5214 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.2861, allocations: 172.5 kB / 0.5216 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.2862, allocations: 48.52 kB / 0.5216 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.671e-05/0.2863, allocations: 63.2 kB / 0.5217 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.2864, allocations: 89.69 kB / 0.5218 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.2864, allocations: 15.69 kB / 0.5218 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.314e-05/0.2864, allocations: 14.84 kB / 0.5218 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.697e-05/0.2865, allocations: 19.84 kB / 0.5218 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.726e-05/0.2865, allocations: 80.19 kB / 0.5219 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.2867, allocations: 150.5 kB / 0.522 GB, free: 7.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2867, allocations: 0 / 0.522 GB, free: 7.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2867, allocations: 0 / 0.522 GB, free: 7.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2867, allocations: 1.062 kB / 0.522 GB, free: 7.629 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.0004631/0.2872, allocations: 425.6 kB / 0.5224 GB, free: 7.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2872, allocations: 9.734 kB / 0.5225 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/0.2873, allocations: 20.28 kB / 0.5225 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.2875, allocations: 152.6 kB / 0.5226 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.2875, allocations: 14.94 kB / 0.5226 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.2875, allocations: 17.41 kB / 0.5227 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.2879, allocations: 155 kB / 0.5228 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2879, allocations: 192 / 0.5228 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.2879, allocations: 14.44 kB / 0.5228 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.2879, allocations: 4.062 kB / 0.5228 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003281/0.2883, allocations: 103.3 kB / 0.5229 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006798/0.2889, allocations: 444.7 kB / 0.5233 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.2892, allocations: 88.88 kB / 0.5234 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.2893, allocations: 65.73 kB / 0.5235 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.2894, allocations: 2.062 kB / 0.5235 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.2896, allocations: 163.9 kB / 0.5236 GB, free: 6.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.2896, allocations: 0 / 0.5236 GB, free: 6.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007559/0.2904, allocations: 365 kB / 0.524 GB, free: 6.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.2904, allocations: 115.5 kB / 0.5241 GB, free: 6.137 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.871e-05/0.2905, allocations: 143.2 kB / 0.5242 GB, free: 6.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.2905, allocations: 34.16 kB / 0.5243 GB, free: 5.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.2906, allocations: 116.8 kB / 0.5244 GB, free: 5.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.2906, allocations: 64.77 kB / 0.5244 GB, free: 5.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.2907, allocations: 52.14 kB / 0.5245 GB, free: 5.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.425e-05/0.2907, allocations: 323.2 kB / 0.5248 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.2909, allocations: 54.77 kB / 0.5249 GB, free: 5.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.2911, allocations: 120.4 kB / 0.525 GB, free: 5.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.2914, allocations: 271.2 kB / 0.5252 GB, free: 5.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2914, allocations: 1.5 kB / 0.5252 GB, free: 5.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005156/0.2919, allocations: 313.5 kB / 0.5255 GB, free: 4.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.292, allocations: 69.84 kB / 0.5256 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.292, allocations: 5.5 kB / 0.5256 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.292, allocations: 7.875 kB / 0.5256 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.2922, allocations: 31.95 kB / 0.5256 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.2922, allocations: 3.344 kB / 0.5256 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.2923, allocations: 27.58 kB / 0.5257 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.2924, allocations: 13.25 kB / 0.5257 GB, free: 4.883 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.0001081/0.2925, allocations: 179.1 kB / 0.5259 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.2925, allocations: 17.03 kB / 0.5259 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006039/0.2931, allocations: 350.8 kB / 0.5262 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2931, allocations: 1.062 kB / 0.5262 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2931, allocations: 5.094 kB / 0.5262 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2931, allocations: 1.641 kB / 0.5262 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.2932, allocations: 229.3 kB / 0.5264 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2932, allocations: 0 / 0.5264 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.2934, allocations: 17.77 kB / 0.5264 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2934, allocations: 1.5 kB / 0.5264 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.2934, allocations: 7.812 kB / 0.5265 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2934, allocations: 0 / 0.5265 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2934, allocations: 1.25 kB / 0.5265 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007878/0.2942, allocations: 458.3 kB / 0.5269 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.2942, allocations: 16.45 kB / 0.5269 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.2942, allocations: 10.69 kB / 0.5269 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.2944, allocations: 19.47 kB / 0.5269 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.2945, allocations: 24.67 kB / 0.527 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.2945, allocations: 11.72 kB / 0.527 GB, free: 4.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.19e-05/0.2945, allocations: 107.1 kB / 0.5271 GB, free: 3.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2945, allocations: 0 / 0.5271 GB, free: 3.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.2948, allocations: 42.67 kB / 0.5271 GB, free: 3.973 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.005e-05/0.2949, allocations: 110.4 kB / 0.5272 GB, free: 3.879 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005113/0.2954, allocations: 291.6 kB / 0.5275 GB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2954, allocations: 1.062 kB / 0.5275 GB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.2956, allocations: 149 kB / 0.5276 GB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.2958, allocations: 21.47 kB / 0.5277 GB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006419/0.2965, allocations: 383.1 kB / 0.528 GB, free: 3.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.2966, allocations: 0.7151 MB / 0.5287 GB, free: 2.625 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.856e-05/0.2967, allocations: 21.33 kB / 0.5287 GB, free: 2.613 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2967, allocations: 0 / 0.5287 GB, free: 2.613 MB / 382.1 MB Notification: Performance of Templates: time 0.003783/0.3004, allocations: 1.923 MB / 0.5306 GB, free: 2.453 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: 7.104172777850181] Failed to read output from testmodel.py, exit status != 0: 0.30813117884099483 0.32217435399999994 0.03238208799999994 Calling exit ...