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.001063/0.001063, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001145/0.001145, allocations: 193 kB / 16.25 MB, free: 6.637 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.204/1.204, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1835/0.1835, allocations: 22.36 MB / 312.4 MB, free: 12.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.88 kB / 378.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2125, allocations: 54.93 MB / 433.3 MB, free: 38.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.002354/0.2149, allocations: 1.787 MB / 435.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003166/0.2152, allocations: 149.1 kB / 435.2 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.964e-05/0.2153, allocations: 2.969 kB / 435.2 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.2155, allocations: 19.14 kB / 435.2 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.2156, allocations: 18.17 kB / 435.2 MB, free: 37.4 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.0001061/0.2157, allocations: 40.86 kB / 435.3 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.2159, allocations: 150.5 kB / 435.4 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.216, allocations: 75.62 kB / 435.5 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.344e-05/0.2161, allocations: 57.78 kB / 435.6 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.476e-05/0.2161, allocations: 67.47 kB / 435.6 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.2162, allocations: 11.41 kB / 435.6 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.796e-05/0.2162, allocations: 14.44 kB / 435.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.2162, allocations: 39.72 kB / 435.7 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.128e-05/0.2163, allocations: 70 kB / 435.8 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.2164, allocations: 120.3 kB / 435.9 MB, free: 37.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2164, allocations: 0 / 435.9 MB, free: 37.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2164, allocations: 4 kB / 435.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.2164, allocations: 3.25 kB / 435.9 MB, free: 37.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.0004762/0.2169, allocations: 440.8 kB / 436.3 MB, free: 36.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.2169, allocations: 10.88 kB / 436.3 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.217, allocations: 48.89 kB / 436.4 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.217, allocations: 19.66 kB / 436.4 MB, free: 36.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.2172, allocations: 205.1 kB / 436.6 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.2172, allocations: 16.12 kB / 436.6 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.2172, allocations: 18.34 kB / 436.6 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.2176, allocations: 155.1 kB / 436.8 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.2176, allocations: 7.922 kB / 436.8 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.2176, allocations: 14.78 kB / 436.8 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2176, allocations: 7.062 kB / 436.8 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.2179, allocations: 121.9 kB / 436.9 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006342/0.2185, allocations: 0.4886 MB / 437.4 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.2188, allocations: 115 kB / 437.5 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.2189, allocations: 70 kB / 437.6 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.219, allocations: 6.281 kB / 437.6 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.219, allocations: 45 kB / 437.7 MB, free: 35.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.219, allocations: 0 / 437.7 MB, free: 35.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005399/0.2195, allocations: 227.1 kB / 437.9 MB, free: 35.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.2196, allocations: 53.56 kB / 437.9 MB, free: 35.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.101e-05/0.2196, allocations: 133.7 kB / 438.1 MB, free: 35.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.2197, allocations: 32.42 kB / 438.1 MB, free: 35.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.2197, allocations: 116.3 kB / 438.2 MB, free: 35.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.2197, allocations: 58.19 kB / 438.3 MB, free: 35.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.653e-05/0.2198, allocations: 50.34 kB / 438.3 MB, free: 35.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.578e-05/0.2198, allocations: 321 kB / 438.6 MB, free: 34.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.22, allocations: 58.12 kB / 438.7 MB, free: 34.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.2202, allocations: 90.94 kB / 438.8 MB, free: 34.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.2205, allocations: 135.6 kB / 438.9 MB, free: 34.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.2205, allocations: 0 / 438.9 MB, free: 34.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003657/0.2208, allocations: 212.2 kB / 439.1 MB, free: 34.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.2209, allocations: 3 kB / 439.1 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2209, allocations: 2.656 kB / 439.1 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.2209, allocations: 0 / 439.1 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.2213, allocations: 61.02 kB / 439.2 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.2213, allocations: 2.812 kB / 439.2 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.2214, allocations: 27.2 kB / 439.2 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.2215, allocations: 9.719 kB / 439.2 MB, free: 34.7 MB / 350.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 6.635e-05/0.2215, allocations: 123.8 kB / 439.3 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.2216, allocations: 18.88 kB / 439.3 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004164/0.222, allocations: 220.3 kB / 439.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.222, allocations: 6.344 kB / 439.6 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.222, allocations: 0 / 439.6 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.222, allocations: 0 / 439.6 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.2222, allocations: 256.4 kB / 439.8 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2222, allocations: 3.469 kB / 439.8 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.2225, allocations: 48.38 kB / 439.9 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2225, allocations: 6.719 kB / 439.9 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.2225, allocations: 4 kB / 439.9 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2225, allocations: 2.812 kB / 439.9 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2225, allocations: 0 / 439.9 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.223, allocations: 355.9 kB / 440.2 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.148e-05/0.2231, allocations: 92.61 kB / 440.3 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.2231, allocations: 8 kB / 440.3 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.2233, allocations: 19.64 kB / 440.3 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.167e-05/0.2233, allocations: 33.22 kB / 440.4 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.2234, allocations: 6.812 kB / 440.4 MB, free: 33.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.147e-05/0.2234, allocations: 95.42 kB / 440.5 MB, free: 33.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2234, allocations: 0 / 440.5 MB, free: 33.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000241/0.2236, allocations: 39.72 kB / 440.5 MB, free: 33.77 MB / 350.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.0006455/0.2243, allocations: 0.892 MB / 441.4 MB, free: 33.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003611/0.2247, allocations: 163.4 kB / 441.6 MB, free: 32.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.2247, allocations: 0 / 441.6 MB, free: 32.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.2248, allocations: 88.03 kB / 441.7 MB, free: 32.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.2251, allocations: 23.17 kB / 441.7 MB, free: 32.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.2269, allocations: 2.022 MB / 443.7 MB, free: 31.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.227, allocations: 0.7295 MB / 444.4 MB, free: 30.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.2272, allocations: 17.14 kB / 444.4 MB, free: 30.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.189e-05/0.2272, allocations: 49.81 kB / 444.5 MB, free: 30.66 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2272, allocations: 4 kB / 444.5 MB, free: 30.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.768/2.995, allocations: 3.119 MB / 447.6 MB, free: 30.35 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/2.995, allocations: 189 kB / 447.8 MB, free: 30.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/4.665, allocations: 2 kB / 447.8 MB, free: 30.09 MB / 350.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)