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.007401/0.007402, allocations: 103.5 kB / 15.73 MB, free: 6.043 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.001659/0.001659, allocations: 200.2 kB / 16.68 MB, free: 5.98 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08719/0.08719, allocations: 22.32 MB / 312.9 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.89 kB / 434.4 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1076, allocations: 54.96 MB / 489.4 MB, free: 7.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.003351/0.111, allocations: 1.721 MB / 491.1 MB, free: 5.621 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004236/0.1115, allocations: 155.5 kB / 491.3 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1116, allocations: 0 / 491.3 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.1117, allocations: 23.73 kB / 491.3 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.1119, allocations: 19.8 kB / 491.3 MB, free: 5.426 MB / 366.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.0001414/0.1121, allocations: 51.94 kB / 491.4 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.1123, allocations: 143.7 kB / 491.5 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.1125, allocations: 71.94 kB / 491.6 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.958e-05/0.1126, allocations: 63.7 kB / 491.6 MB, free: 5.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1127, allocations: 75.61 kB / 491.7 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.1127, allocations: 16 kB / 491.7 MB, free: 5.008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.256e-05/0.1128, allocations: 12 kB / 491.7 MB, free: 4.996 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.115e-05/0.1128, allocations: 31.91 kB / 491.8 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.099e-05/0.1129, allocations: 71.53 kB / 491.8 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.1131, allocations: 123.5 kB / 492 MB, free: 4.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1131, allocations: 0 / 492 MB, free: 4.773 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1131, allocations: 0 / 492 MB, free: 4.773 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1131, allocations: 4 kB / 492 MB, free: 4.77 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.0007028/0.1138, allocations: 447.2 kB / 492.4 MB, free: 4.281 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.1139, allocations: 8.031 kB / 492.4 MB, free: 4.273 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.314e-05/0.1139, allocations: 50.73 kB / 492.5 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.114, allocations: 24.75 kB / 492.5 MB, free: 4.191 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.1143, allocations: 212 kB / 492.7 MB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.585e-05/0.1143, allocations: 12.38 kB / 492.7 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/0.1144, allocations: 20.31 kB / 492.7 MB, free: 3.914 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.1149, allocations: 157.6 kB / 492.9 MB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1149, allocations: 7.938 kB / 492.9 MB, free: 3.746 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.115, allocations: 8 kB / 492.9 MB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.115, allocations: 4 kB / 492.9 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004035/0.1154, allocations: 119.9 kB / 493 MB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008603/0.1163, allocations: 496.1 kB / 493.5 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.1166, allocations: 114.5 kB / 493.6 MB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.1168, allocations: 68.83 kB / 493.7 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.1168, allocations: 15.98 kB / 493.7 MB, free: 2.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.1168, allocations: 34.5 kB / 493.7 MB, free: 2.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.1168, allocations: 0 / 493.7 MB, free: 2.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.00066/0.1175, allocations: 225.6 kB / 493.9 MB, free: 2.605 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.1175, allocations: 55.41 kB / 494 MB, free: 2.539 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.1177, allocations: 140.9 kB / 494.1 MB, free: 2.395 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.1177, allocations: 29.7 kB / 494.2 MB, free: 2.359 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.1178, allocations: 112.4 kB / 494.3 MB, free: 2.246 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.451e-05/0.1178, allocations: 67.08 kB / 494.3 MB, free: 2.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.091e-05/0.1179, allocations: 45.7 kB / 494.4 MB, free: 2.129 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.118, allocations: 322.8 kB / 494.7 MB, free: 1.805 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.1182, allocations: 51.97 kB / 494.7 MB, free: 1.754 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.1184, allocations: 89.66 kB / 494.8 MB, free: 1.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.1188, allocations: 138 kB / 495 MB, free: 1.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1188, allocations: 0 / 495 MB, free: 1.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004265/0.1192, allocations: 205.3 kB / 495.2 MB, free: 1.312 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.1192, allocations: 8 kB / 495.2 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1192, allocations: 3.938 kB / 495.2 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1193, allocations: 0 / 495.2 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000413/0.1197, allocations: 63.89 kB / 495.2 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.1197, allocations: 0 / 495.2 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.1199, allocations: 31.8 kB / 495.3 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.1199, allocations: 8 kB / 495.3 MB, free: 1.199 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.0001217/0.12, allocations: 134.5 kB / 495.4 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.1201, allocations: 23.72 kB / 495.4 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005259/0.1206, allocations: 201 kB / 495.6 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1206, allocations: 8 kB / 495.6 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.1206, allocations: 0 / 495.6 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.1206, allocations: 3.938 kB / 495.6 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.1209, allocations: 253.5 kB / 495.9 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.121, allocations: 0 / 495.9 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.1212, allocations: 43.97 kB / 495.9 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1212, allocations: 3.938 kB / 495.9 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.1213, allocations: 8 kB / 495.9 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1213, allocations: 4 kB / 496 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1213, allocations: 0 / 496 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006918/0.122, allocations: 351.2 kB / 496.3 MB, free: 108 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.902e-05/0.1221, allocations: 96.89 kB / 496.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.1221, allocations: 8 kB / 496.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.1223, allocations: 19.94 kB / 496.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.369e-05/0.1224, allocations: 31.95 kB / 496.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.1224, allocations: 11.98 kB / 496.5 MB, free: 15.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.714e-05/0.1225, allocations: 95.27 kB / 496.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1225, allocations: 0 / 496.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.1228, allocations: 39.84 kB / 496.6 MB, free: 15.79 MB / 382.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.0009907/0.1238, allocations: 0.8854 MB / 497.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004586/0.1243, allocations: 156 kB / 497.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1243, allocations: 0 / 497.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.1245, allocations: 85.95 kB / 497.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.1249, allocations: 23.92 kB / 497.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.1274, allocations: 1.979 MB / 499.7 MB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.1277, allocations: 0.7241 MB / 0.4887 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.1278, allocations: 25.41 kB / 0.4887 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.1279, allocations: 51.42 kB / 0.4888 GB, free: 11.74 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1279, allocations: 3.938 kB / 0.4888 GB, free: 11.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.1511, allocations: 3.568 MB / 0.4923 GB, free: 8.238 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.508/7.659, allocations: 8.25 kB / 0.4923 GB, free: 8.23 MB / 382.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)