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.005531/0.005531, allocations: 102.1 kB / 15.73 MB, free: 6.031 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.001221/0.001221, allocations: 194.4 kB / 16.67 MB, free: 5.969 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2055/0.2055, allocations: 22.34 MB / 312.9 MB, free: 12.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 67.27 kB / 434.5 MB, free: 35.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1155, allocations: 54.95 MB / 489.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002709/0.1183, allocations: 1.761 MB / 491.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005394/0.1189, allocations: 231.6 kB / 491.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.119, allocations: 4 kB / 491.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.1191, allocations: 15.75 kB / 491.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.1193, allocations: 27.73 kB / 491.4 MB, free: 1.805 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.0001761/0.1195, allocations: 67.84 kB / 491.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.1198, allocations: 179.7 kB / 491.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.12, allocations: 79.86 kB / 491.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.201e-05/0.1201, allocations: 63.77 kB / 491.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1202, allocations: 71.67 kB / 491.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.1202, allocations: 16 kB / 491.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.191e-05/0.1202, allocations: 16 kB / 491.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.78e-05/0.1203, allocations: 23.86 kB / 492 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.751e-05/0.1203, allocations: 79.58 kB / 492 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.1205, allocations: 147.4 kB / 492.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1205, allocations: 0 / 492.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.1205, allocations: 0 / 492.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.1205, allocations: 0 / 492.2 MB, free: 1.07 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.0005275/0.1211, allocations: 493.3 kB / 492.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1211, allocations: 12.03 kB / 492.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.054e-05/0.1212, allocations: 50.73 kB / 492.7 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.1212, allocations: 24.75 kB / 492.7 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.1215, allocations: 219.9 kB / 493 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.1215, allocations: 16.36 kB / 493 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.1216, allocations: 16.38 kB / 493 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.1219, allocations: 150.7 kB / 493.1 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.122, allocations: 3.938 kB / 493.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.122, allocations: 11.94 kB / 493.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.122, allocations: 0 / 493.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003363/0.1223, allocations: 103.9 kB / 493.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008208/0.1232, allocations: 480.1 kB / 493.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.1235, allocations: 166.5 kB / 493.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.1237, allocations: 132.8 kB / 494 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.1237, allocations: 7.938 kB / 494 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003297/0.1241, allocations: 153 kB / 494.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.1241, allocations: 0 / 494.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0008224/0.1249, allocations: 352.3 kB / 494.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.125, allocations: 114.8 kB / 494.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.1251, allocations: 140.3 kB / 494.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.1252, allocations: 33.7 kB / 494.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/0.1252, allocations: 124.3 kB / 494.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.1253, allocations: 51.3 kB / 495 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-05/0.1254, allocations: 53.69 kB / 495 MB, free: 13.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1255, allocations: 326.8 kB / 495.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.1257, allocations: 47.97 kB / 495.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.1259, allocations: 132.4 kB / 495.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/0.1263, allocations: 265.9 kB / 495.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1263, allocations: 3.938 kB / 495.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005674/0.1269, allocations: 321.4 kB / 496.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.896e-05/0.127, allocations: 73.67 kB / 496.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.127, allocations: 0 / 496.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.127, allocations: 4 kB / 496.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.1272, allocations: 32.22 kB / 496.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.1272, allocations: 11.94 kB / 496.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.1274, allocations: 27.83 kB / 496.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.1274, allocations: 12 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.000174/0.1276, allocations: 175.5 kB / 496.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.1277, allocations: 23.75 kB / 496.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006735/0.1283, allocations: 340.4 kB / 496.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.1283, allocations: 4 kB / 496.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1284, allocations: 0 / 496.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1284, allocations: 0 / 496.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.1287, allocations: 249.4 kB / 497 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1287, allocations: 4 kB / 497 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.1288, allocations: 19.98 kB / 497 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.1289, allocations: 3.938 kB / 497.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.1289, allocations: 7.984 kB / 497.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1289, allocations: 0 / 497.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1289, allocations: 0 / 497.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008849/0.1298, allocations: 457.1 kB / 497.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.1299, allocations: 96.83 kB / 497.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.1299, allocations: 12 kB / 497.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.1301, allocations: 23.95 kB / 497.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/0.1302, allocations: 19.97 kB / 497.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.1302, allocations: 8 kB / 497.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.369e-05/0.1303, allocations: 95.27 kB / 497.8 MB, free: 11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1303, allocations: 8.062 kB / 497.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1305, allocations: 39.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.001365/0.1319, allocations: 1.002 MB / 498.8 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006685/0.1326, allocations: 369.1 kB / 499.2 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.1326, allocations: 0.5625 kB / 499.2 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003678/0.133, allocations: 295.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.0002583/0.1333, allocations: 19.17 kB / 499.5 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/0.1363, allocations: 2.109 MB / 0.4898 GB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.1367, allocations: 0.7158 MB / 0.4905 GB, free: 6.223 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.784e-05/0.1368, allocations: 16.64 kB / 0.4905 GB, free: 6.207 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-05/0.1369, allocations: 43.42 kB / 0.4906 GB, free: 6.164 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1369, allocations: 0 / 0.4906 GB, free: 6.164 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/0.1606, allocations: 3.414 MB / 0.4939 GB, free: 2.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/7.941, allocations: 12.33 kB / 0.4939 GB, free: 2.809 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)