Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_analogue_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_analogue_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_PI_awfb_full",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_analogue_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_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.005518/0.005518, allocations: 102 kB / 15.73 MB, free: 6.051 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.001507/0.001507, allocations: 195 kB / 16.68 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2054/0.2054, allocations: 22.36 MB / 312.9 MB, free: 12.48 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.47 kB / 434.5 MB, free: 35.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1091, allocations: 54.96 MB / 489.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.002532/0.1117, allocations: 1.745 MB / 491.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003688/0.1121, allocations: 151.5 kB / 491.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.437e-05/0.1122, allocations: 4 kB / 491.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.1124, allocations: 19.73 kB / 491.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.1125, allocations: 19.81 kB / 491.4 MB, free: 1.848 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.1126, allocations: 51.92 kB / 491.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.1128, allocations: 151.6 kB / 491.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.113, allocations: 71.94 kB / 491.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.233e-05/0.113, allocations: 63.75 kB / 491.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.75e-05/0.1131, allocations: 63.69 kB / 491.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.1132, allocations: 16 kB / 491.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.827e-05/0.1132, allocations: 12 kB / 491.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.1132, allocations: 35.84 kB / 491.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.1133, allocations: 71.52 kB / 491.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.1134, allocations: 127.5 kB / 492 MB, free: 1.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1134, allocations: 7.938 kB / 492 MB, free: 1.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1134, allocations: 0 / 492 MB, free: 1.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.1135, allocations: 0 / 492 MB, free: 1.184 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.000534/0.114, allocations: 443.8 kB / 492.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.114, allocations: 12.03 kB / 492.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.1141, allocations: 50.73 kB / 492.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.1141, allocations: 16.75 kB / 492.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.1143, allocations: 216 kB / 492.7 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.1144, allocations: 12.38 kB / 492.8 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.1144, allocations: 20.38 kB / 492.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.1147, allocations: 157.6 kB / 492.9 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1147, allocations: 7.938 kB / 492.9 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.1148, allocations: 4 kB / 492.9 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1148, allocations: 4 kB / 492.9 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.1151, allocations: 119.9 kB / 493.1 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008374/0.1159, allocations: 492.1 kB / 493.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.1162, allocations: 118.5 kB / 493.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.1165, allocations: 72.83 kB / 493.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.1165, allocations: 0 / 493.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.1165, allocations: 38.5 kB / 493.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.152e-06/0.1165, allocations: 0 / 493.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006849/0.1172, allocations: 235 kB / 494 MB, free: 15.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.1173, allocations: 55.41 kB / 494.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.667e-05/0.1174, allocations: 127.8 kB / 494.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.1174, allocations: 37.64 kB / 494.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/0.1175, allocations: 116.3 kB / 494.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.05e-05/0.1176, allocations: 59.11 kB / 494.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.663e-05/0.1176, allocations: 53.69 kB / 494.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1178, allocations: 322.8 kB / 494.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.118, allocations: 59.97 kB / 494.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.1182, allocations: 77.67 kB / 494.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.1186, allocations: 147.5 kB / 495 MB, free: 13.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1186, allocations: 0 / 495 MB, free: 13.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004566/0.1191, allocations: 201.3 kB / 495.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1191, allocations: 4 kB / 495.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1191, allocations: 4.031 kB / 495.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1191, allocations: 4 kB / 495.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/0.1195, allocations: 59.91 kB / 495.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1196, allocations: 7.984 kB / 495.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.1197, allocations: 23.83 kB / 495.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.1198, allocations: 8 kB / 495.3 MB, free: 13.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (ts.y,C.LOsat,C.HIsat,C.noDec,C.noInc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.0001197/0.1199, allocations: 130.5 kB / 495.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.1199, allocations: 23.78 kB / 495.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005521/0.1205, allocations: 211.6 kB / 495.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.1205, allocations: 4 kB / 495.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1205, allocations: 3.938 kB / 495.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1205, allocations: 0 / 495.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.1208, allocations: 249.5 kB / 495.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1208, allocations: 0 / 495.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.1211, allocations: 43.97 kB / 496 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.1211, allocations: 7.922 kB / 496 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.1212, allocations: 8 kB / 496 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1212, allocations: 0 / 496 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1212, allocations: 0 / 496 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007381/0.122, allocations: 359.9 kB / 496.4 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-05/0.122, allocations: 92.86 kB / 496.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.1221, allocations: 11.98 kB / 496.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.1223, allocations: 19.92 kB / 496.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.828e-05/0.1224, allocations: 27.95 kB / 496.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.1224, allocations: 8 kB / 496.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.444e-05/0.1225, allocations: 102.1 kB / 496.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1225, allocations: 0 / 496.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.1227, allocations: 32 kB / 496.6 MB, free: 12.22 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C.xfb,C.xBias,C.u,C.csfil,P.y) * Number of discrete variables: 5 (C.noInc,C.noDec,C.HIsat,C.LOsat,ts.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.001036/0.1238, allocations: 0.897 MB / 497.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004762/0.1242, allocations: 154.5 kB / 497.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1243, allocations: 0 / 497.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.1245, allocations: 83.89 kB / 497.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.1248, allocations: 22.5 kB / 497.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.1274, allocations: 1.986 MB / 499.8 MB, free: 8.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.1277, allocations: 0.7163 MB / 0.4888 GB, free: 8.238 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.1279, allocations: 21.67 kB / 0.4888 GB, free: 8.219 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.128, allocations: 55.41 kB / 0.4888 GB, free: 8.164 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.128, allocations: 0 / 0.4888 GB, free: 8.164 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.151, allocations: 3.562 MB / 0.4923 GB, free: 4.668 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.814/7.965, allocations: 20.09 kB / 0.4923 GB, free: 4.648 MB / 366.1 MB (rm -f AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_analogue_PI_awfb_full_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_analogue_PI_awfb_full.fmu > AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe 2>&1)