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.001303/0.001303, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.001415/0.001415, allocations: 159.5 kB / 23.01 MB, free: 4.961 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.406/1.406, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] 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.1035/0.1035, allocations: 17.8 MB / 277.6 MB, free: 15.34 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.00211/0.00211, allocations: 67.89 kB / 412.3 MB, free: 6.832 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09677/0.09888, allocations: 59.55 MB / 471.9 MB, free: 11.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002963/0.1018, allocations: 1.74 MB / 473.6 MB, free: 9.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004988/0.1023, allocations: 231.6 kB / 473.8 MB, free: 9.184 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.53e-05/0.1024, allocations: 0 / 473.8 MB, free: 9.184 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.1025, allocations: 23.73 kB / 473.8 MB, free: 9.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.1027, allocations: 19.8 kB / 473.9 MB, free: 9.141 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.1028, allocations: 67.88 kB / 473.9 MB, free: 9.074 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.1031, allocations: 163.7 kB / 474.1 MB, free: 8.914 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.1032, allocations: 56.3 kB / 474.1 MB, free: 8.855 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.718e-05/0.1033, allocations: 75.66 kB / 474.2 MB, free: 8.781 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.1034, allocations: 67.67 kB / 474.3 MB, free: 8.715 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.1034, allocations: 12 kB / 474.3 MB, free: 8.703 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.519e-05/0.1034, allocations: 16 kB / 474.3 MB, free: 8.688 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.524e-05/0.1035, allocations: 23.86 kB / 474.3 MB, free: 8.664 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.989e-05/0.1036, allocations: 59.72 kB / 474.4 MB, free: 8.605 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.1038, allocations: 151.3 kB / 474.5 MB, free: 8.457 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1038, allocations: 0 / 474.5 MB, free: 8.457 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1038, allocations: 0 / 474.5 MB, free: 8.457 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1038, allocations: 0 / 474.5 MB, free: 8.457 MB / 446.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.000564/0.1043, allocations: 425.1 kB / 475 MB, free: 7.996 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.1044, allocations: 12.92 kB / 475 MB, free: 7.984 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.1044, allocations: 20.84 kB / 475 MB, free: 7.965 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.1047, allocations: 154.3 kB / 475.1 MB, free: 7.789 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.1047, allocations: 16.31 kB / 475.2 MB, free: 7.773 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.1047, allocations: 16.38 kB / 475.2 MB, free: 7.758 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/0.1051, allocations: 200.8 kB / 475.4 MB, free: 7.551 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1051, allocations: 192 / 475.4 MB, free: 7.551 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.1052, allocations: 11.94 kB / 475.4 MB, free: 7.539 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1052, allocations: 0 / 475.4 MB, free: 7.539 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003694/0.1055, allocations: 137.6 kB / 475.5 MB, free: 7.398 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007096/0.1063, allocations: 372 kB / 475.9 MB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.1065, allocations: 136.1 kB / 476 MB, free: 6.855 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.1068, allocations: 94.53 kB / 476.1 MB, free: 6.754 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.1068, allocations: 0 / 476.1 MB, free: 6.754 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003443/0.1071, allocations: 200 kB / 476.3 MB, free: 6.535 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.1071, allocations: 0 / 476.3 MB, free: 6.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.0009414/0.1081, allocations: 472.2 kB / 476.8 MB, free: 6.051 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.929e-05/0.1082, allocations: 122.8 kB / 476.9 MB, free: 5.906 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.1083, allocations: 136.9 kB / 477 MB, free: 5.766 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.1083, allocations: 33.7 kB / 477 MB, free: 5.727 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.1084, allocations: 112.5 kB / 477.2 MB, free: 5.609 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.1085, allocations: 59.53 kB / 477.2 MB, free: 5.551 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.522e-05/0.1085, allocations: 49.69 kB / 477.3 MB, free: 5.496 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1087, allocations: 326.8 kB / 477.6 MB, free: 5.168 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.1089, allocations: 123.4 kB / 477.7 MB, free: 5.031 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.1092, allocations: 183.1 kB / 477.9 MB, free: 4.812 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/0.1096, allocations: 271.5 kB / 478.1 MB, free: 4.504 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1096, allocations: 0 / 478.1 MB, free: 4.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006724/0.1103, allocations: 388.2 kB / 478.5 MB, free: 4.094 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/0.1104, allocations: 75.38 kB / 478.6 MB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1104, allocations: 4 kB / 478.6 MB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1104, allocations: 7.938 kB / 478.6 MB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.1106, allocations: 31.92 kB / 478.6 MB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1106, allocations: 4 kB / 478.6 MB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.1108, allocations: 31.81 kB / 478.7 MB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.1108, allocations: 12 kB / 478.7 MB, free: 3.918 MB / 446.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.0001587/0.1109, allocations: 187.5 kB / 478.9 MB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.111, allocations: 11.95 kB / 478.9 MB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007583/0.1117, allocations: 405.9 kB / 479.3 MB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1117, allocations: 3.938 kB / 479.3 MB, free: 3.289 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1117, allocations: 0 / 479.3 MB, free: 3.289 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1117, allocations: 7.938 kB / 479.3 MB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.1119, allocations: 165.2 kB / 479.5 MB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1119, allocations: 0 / 479.5 MB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.1121, allocations: 19.98 kB / 479.5 MB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1121, allocations: 0 / 479.5 MB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.1121, allocations: 7.984 kB / 479.5 MB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1121, allocations: 0 / 479.5 MB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1121, allocations: 3.938 kB / 479.5 MB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.1131, allocations: 0.5535 MB / 480 MB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.1131, allocations: 19.88 kB / 480.1 MB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.1132, allocations: 8 kB / 480.1 MB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.1134, allocations: 31.84 kB / 480.1 MB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/0.1134, allocations: 27.89 kB / 480.1 MB, free: 2.387 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.1134, allocations: 4 kB / 480.1 MB, free: 2.383 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.227e-05/0.1135, allocations: 99.27 kB / 480.2 MB, free: 2.285 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1135, allocations: 4.062 kB / 480.2 MB, free: 2.281 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.1138, allocations: 40 kB / 480.3 MB, free: 2.242 MB / 446.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.000101/0.1139, allocations: 107.2 kB / 480.4 MB, free: 2.129 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006726/0.1145, allocations: 400 kB / 480.8 MB, free: 1.695 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1145, allocations: 4 kB / 480.8 MB, free: 1.691 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.1148, allocations: 185 kB / 480.9 MB, free: 1.492 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.1151, allocations: 19.98 kB / 481 MB, free: 1.473 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007389/0.1158, allocations: 385.5 kB / 481.3 MB, free: 1.062 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.582e-05/0.1159, allocations: 111 kB / 481.5 MB, free: 0.9375 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.819e-05/0.116, allocations: 12.64 kB / 481.5 MB, free: 0.9219 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.116, allocations: 20.5 kB / 481.5 MB, free: 0.9023 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.116, allocations: 0 / 481.5 MB, free: 0.9023 MB / 446.1 MB Notification: Performance of Templates: time 0.1862/0.3022, allocations: 1.848 MB / 483.3 MB, free: 52.1 MB / 446.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 -s ida -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.412186266039498] Failed to read output from testmodel.py, exit status != 0: 0.3093391639413312 0.318049479 0.21216331700000002 Calling exit ...