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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) 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: "" <> buildModelFMU(AES.Devel_test_models.Test_digital_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_digital_PI_awfb_full",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_digital_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_digital_PI_awfb_full",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00633/0.00633, allocations: 99.64 kB / 15.73 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 190.8 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2097/0.2097, allocations: 22.36 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 68.3 kB / 434.5 MB, free: 35.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.107, allocations: 54.96 MB / 489.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.00232/0.1094, allocations: 1.756 MB / 491.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004321/0.1098, allocations: 235.6 kB / 491.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.1099, allocations: 0 / 491.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.1101, allocations: 27.73 kB / 491.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.1102, allocations: 15.8 kB / 491.5 MB, free: 1.809 MB / 350.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.0001313/0.1103, allocations: 63.86 kB / 491.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.1105, allocations: 191.6 kB / 491.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.1107, allocations: 67.94 kB / 491.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.558e-05/0.1107, allocations: 63.77 kB / 491.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.219e-05/0.1108, allocations: 83.59 kB / 491.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.1109, allocations: 12 kB / 491.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.714e-05/0.1109, allocations: 16 kB / 491.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.1109, allocations: 23.92 kB / 492 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.981e-05/0.111, allocations: 79.53 kB / 492 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.1111, allocations: 143.5 kB / 492.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1112, allocations: 0 / 492.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1112, allocations: 0 / 492.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.1112, allocations: 0 / 492.2 MB, free: 1.074 MB / 350.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.0004505/0.1116, allocations: 491.3 kB / 492.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1117, allocations: 12.03 kB / 492.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.1117, allocations: 58.67 kB / 492.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.1118, allocations: 16.75 kB / 492.7 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.112, allocations: 216 kB / 493 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.112, allocations: 12.38 kB / 493 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.112, allocations: 24.31 kB / 493 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.1124, allocations: 150.7 kB / 493.1 MB, free: 0 / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1124, allocations: 4.047 kB / 493.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.1124, allocations: 15.94 kB / 493.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1125, allocations: 4 kB / 493.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.1128, allocations: 99.92 kB / 493.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007367/0.1135, allocations: 484.1 kB / 493.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.1138, allocations: 150.5 kB / 493.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.1141, allocations: 144.8 kB / 494 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.1141, allocations: 3.938 kB / 494 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003313/0.1144, allocations: 157 kB / 494.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 4.508e-06/0.1144, allocations: 0 / 494.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0008065/0.1153, allocations: 357.3 kB / 494.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.1153, allocations: 110.8 kB / 494.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.881e-05/0.1154, allocations: 146 kB / 494.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.1155, allocations: 33.7 kB / 494.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.1155, allocations: 112.3 kB / 494.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.1156, allocations: 51.3 kB / 495 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.056e-05/0.1157, allocations: 53.81 kB / 495 MB, free: 13.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1158, allocations: 330.8 kB / 495.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.116, allocations: 51.97 kB / 495.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.1162, allocations: 124.4 kB / 495.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.1166, allocations: 275 kB / 495.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1166, allocations: 0 / 495.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005465/0.1172, allocations: 313.4 kB / 496.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.759e-05/0.1172, allocations: 71.33 kB / 496.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1172, allocations: 4.25 kB / 496.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1173, allocations: 8 kB / 496.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.1174, allocations: 23.98 kB / 496.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.1175, allocations: 7.938 kB / 496.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.1176, allocations: 31.81 kB / 496.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.1177, allocations: 16 kB / 496.3 MB, free: 12.63 MB / 366.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.0002233/0.1179, allocations: 183.4 kB / 496.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.1179, allocations: 19.75 kB / 496.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006844/0.1186, allocations: 340.4 kB / 496.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1186, allocations: 0 / 496.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1186, allocations: 0 / 496.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1186, allocations: 0 / 496.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.1189, allocations: 253.4 kB / 497 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1189, allocations: 4 kB / 497 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.119, allocations: 15.98 kB / 497.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.119, allocations: 3.938 kB / 497.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.119, allocations: 4 kB / 497.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1191, allocations: 7.938 kB / 497.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1191, allocations: 7.875 kB / 497.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000843/0.1199, allocations: 451.9 kB / 497.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.12, allocations: 100.8 kB / 497.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.12, allocations: 8 kB / 497.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.1202, allocations: 15.98 kB / 497.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/0.1203, allocations: 27.94 kB / 497.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.1203, allocations: 16.06 kB / 497.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.436e-05/0.1204, allocations: 97.52 kB / 497.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1204, allocations: 0 / 497.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1206, allocations: 43.94 kB / 497.8 MB, free: 10.95 MB / 366.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.001115/0.1217, allocations: 0.9911 MB / 498.8 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006004/0.1224, allocations: 373.6 kB / 499.2 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.1224, allocations: 8.062 kB / 499.2 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.1227, allocations: 287.3 kB / 499.5 MB, free: 9.234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.1229, allocations: 22.64 kB / 499.5 MB, free: 9.215 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.1255, allocations: 2.096 MB / 0.4898 GB, free: 6.973 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.1258, allocations: 0.7197 MB / 0.4905 GB, free: 6.227 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.234e-05/0.1259, allocations: 12.64 kB / 0.4905 GB, free: 6.215 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/0.126, allocations: 43.42 kB / 0.4906 GB, free: 6.172 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.126, allocations: 0 / 0.4906 GB, free: 6.172 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.1496, allocations: 3.324 MB / 0.4938 GB, free: 2.922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/7.762, allocations: 15.66 kB / 0.4938 GB, free: 2.906 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_digital_PI_awfb_full_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_digital_PI_awfb_full.fmu > AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe 2>&1)