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.004404/0.004404, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001083/0.001083, allocations: 192.3 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09202/0.09202, allocations: 22.32 MB / 312.9 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 59.91 kB / 434.4 MB, free: 14.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1067, allocations: 54.95 MB / 489.4 MB, free: 7.363 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002875/0.1096, allocations: 1.737 MB / 491.1 MB, free: 5.613 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005543/0.1102, allocations: 235.5 kB / 491.4 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1103, allocations: 0 / 491.4 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.1105, allocations: 27.73 kB / 491.4 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.1107, allocations: 23.78 kB / 491.4 MB, free: 5.332 MB / 366.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.0001744/0.1108, allocations: 67.86 kB / 491.5 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.1111, allocations: 175.7 kB / 491.6 MB, free: 5.094 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.1113, allocations: 84.14 kB / 491.7 MB, free: 5.008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.22e-05/0.1114, allocations: 59.72 kB / 491.8 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1115, allocations: 79.61 kB / 491.9 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.1116, allocations: 16 kB / 491.9 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.238e-05/0.1116, allocations: 16 kB / 491.9 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.1117, allocations: 27.84 kB / 491.9 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.159e-05/0.1117, allocations: 71.66 kB / 492 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.1119, allocations: 147.2 kB / 492.1 MB, free: 4.598 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.112, allocations: 3.984 kB / 492.1 MB, free: 4.594 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.112, allocations: 4 kB / 492.1 MB, free: 4.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.112, allocations: 0 / 492.1 MB, free: 4.59 MB / 366.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.0006192/0.1126, allocations: 494.2 kB / 492.6 MB, free: 4.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1126, allocations: 12.03 kB / 492.6 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.919e-05/0.1128, allocations: 50.73 kB / 492.7 MB, free: 3.973 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.1128, allocations: 24.8 kB / 492.7 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.1131, allocations: 219.5 kB / 492.9 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.1132, allocations: 12.38 kB / 492.9 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.1132, allocations: 16.38 kB / 493 MB, free: 3.672 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000394/0.1136, allocations: 158.3 kB / 493.1 MB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1137, allocations: 3.938 kB / 493.1 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.1137, allocations: 4 kB / 493.1 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1137, allocations: 8 kB / 493.1 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.114, allocations: 100.7 kB / 493.2 MB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008473/0.1149, allocations: 480.3 kB / 493.7 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.1152, allocations: 166.5 kB / 493.9 MB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.1155, allocations: 135.6 kB / 494 MB, free: 2.574 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.1155, allocations: 7.938 kB / 494 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003335/0.1158, allocations: 161.1 kB / 494.2 MB, free: 2.391 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 2.124e-06/0.1158, allocations: 0 / 494.2 MB, free: 2.391 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0009124/0.1168, allocations: 347.3 kB / 494.5 MB, free: 2.039 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.688e-05/0.1169, allocations: 118.8 kB / 494.6 MB, free: 1.898 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.117, allocations: 142 kB / 494.7 MB, free: 1.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.117, allocations: 33.7 kB / 494.8 MB, free: 1.711 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.591e-05/0.1171, allocations: 128.5 kB / 494.9 MB, free: 1.582 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.1172, allocations: 51.59 kB / 495 MB, free: 1.531 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-05/0.1173, allocations: 49.7 kB / 495 MB, free: 1.477 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1174, allocations: 322.8 kB / 495.3 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.1176, allocations: 55.95 kB / 495.4 MB, free: 1.098 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.1178, allocations: 120.5 kB / 495.5 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004181/0.1183, allocations: 270.1 kB / 495.8 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1183, allocations: 4 kB / 495.8 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005548/0.1188, allocations: 312.7 kB / 496.1 MB, free: 324 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.337e-05/0.1189, allocations: 79.31 kB / 496.1 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1189, allocations: 0 / 496.1 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1189, allocations: 4.25 kB / 496.1 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.1191, allocations: 31.92 kB / 496.2 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.1191, allocations: 0 / 496.2 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.1193, allocations: 39.86 kB / 496.2 MB, free: 156 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.1193, allocations: 8 kB / 496.2 MB, free: 148 kB / 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.0001899/0.1195, allocations: 183.4 kB / 496.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.1196, allocations: 19.84 kB / 496.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006728/0.1203, allocations: 342.6 kB / 496.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1203, allocations: 0 / 496.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1203, allocations: 4 kB / 496.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1203, allocations: 3.984 kB / 496.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.1206, allocations: 241.5 kB / 497 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1206, allocations: 7.984 kB / 497 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.1207, allocations: 19.98 kB / 497 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1208, allocations: 3.938 kB / 497 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.1208, allocations: 8 kB / 497 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1208, allocations: 0 / 497 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1208, allocations: 0 / 497 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008737/0.1217, allocations: 456 kB / 497.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.1217, allocations: 96.92 kB / 497.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.1218, allocations: 4 kB / 497.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.122, allocations: 27.97 kB / 497.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.122, allocations: 19.97 kB / 497.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.1221, allocations: 11.98 kB / 497.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.44e-05/0.1221, allocations: 99.33 kB / 497.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1221, allocations: 3.938 kB / 497.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1224, allocations: 47.89 kB / 497.8 MB, free: 14.45 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 0.001176/0.1236, allocations: 0.9902 MB / 498.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005795/0.1242, allocations: 363.1 kB / 499.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.1242, allocations: 4.062 kB / 499.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.1246, allocations: 283.3 kB / 499.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.1248, allocations: 26.02 kB / 499.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.1276, allocations: 2.123 MB / 0.4898 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.1279, allocations: 0.7197 MB / 0.4905 GB, free: 9.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.008e-05/0.128, allocations: 8.656 kB / 0.4905 GB, free: 9.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/0.1281, allocations: 47.41 kB / 0.4906 GB, free: 9.664 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1281, allocations: 0 / 0.4906 GB, free: 9.664 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.1497, allocations: 3.355 MB / 0.4938 GB, free: 6.383 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.369/7.518, allocations: 18.66 kB / 0.4939 GB, free: 6.371 MB / 382.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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_digital_PI_awfb_full_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 AES_AES_Devel_test_models_Test_digital_PI_awfb_full.fmu > AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe 2>&1)