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.001177/0.001177, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001147/0.001147, allocations: 194.4 kB / 16.14 MB, free: 6.691 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.171/1.171, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1756/0.1756, allocations: 22.35 MB / 312.3 MB, free: 12.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 63.84 kB / 378.2 MB, free: 13.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.185, allocations: 54.94 MB / 433.1 MB, free: 38.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.001905/0.187, allocations: 1.784 MB / 434.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000242/0.1872, allocations: 146.9 kB / 435 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.819e-05/0.1873, allocations: 3.938 kB / 435 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.725e-05/0.1874, allocations: 17.86 kB / 435 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.1875, allocations: 18.34 kB / 435.1 MB, free: 37.21 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 8.496e-05/0.1876, allocations: 43.33 kB / 435.1 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.1877, allocations: 131.3 kB / 435.2 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1879, allocations: 78.56 kB / 435.3 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.019e-05/0.1879, allocations: 54.33 kB / 435.4 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.714e-05/0.188, allocations: 72.48 kB / 435.4 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.188, allocations: 8.625 kB / 435.4 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.878e-05/0.188, allocations: 10.69 kB / 435.4 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.465e-05/0.1881, allocations: 26.16 kB / 435.5 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.1881, allocations: 61.11 kB / 435.5 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.114e-05/0.1882, allocations: 120.6 kB / 435.7 MB, free: 36.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.1882, allocations: 0 / 435.7 MB, free: 36.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.1882, allocations: 7.938 kB / 435.7 MB, free: 36.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.055e-06/0.1882, allocations: 0 / 435.7 MB, free: 36.91 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.0004327/0.1887, allocations: 442.1 kB / 436.1 MB, free: 36.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.1887, allocations: 19.31 kB / 436.1 MB, free: 36.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.234e-05/0.1887, allocations: 45.08 kB / 436.2 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.1888, allocations: 17.62 kB / 436.2 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1889, allocations: 209.7 kB / 436.4 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.1889, allocations: 9.969 kB / 436.4 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.1889, allocations: 26.09 kB / 436.4 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.1892, allocations: 156.3 kB / 436.6 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1892, allocations: 3.938 kB / 436.6 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.1893, allocations: 7.938 kB / 436.6 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1893, allocations: 5.625 kB / 436.6 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.1896, allocations: 119.3 kB / 436.7 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.1902, allocations: 0.5031 MB / 437.2 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.1904, allocations: 110.6 kB / 437.3 MB, free: 35.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.1906, allocations: 70.52 kB / 437.4 MB, free: 35.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.1906, allocations: 6.391 kB / 437.4 MB, free: 35.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/0.1906, allocations: 41.62 kB / 437.4 MB, free: 35.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.162e-06/0.1906, allocations: 0 / 437.4 MB, free: 35.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005227/0.1911, allocations: 228.8 kB / 437.6 MB, free: 35.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.697e-05/0.1912, allocations: 51.41 kB / 437.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.732e-05/0.1912, allocations: 136.6 kB / 437.8 MB, free: 35.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.1912, allocations: 31.98 kB / 437.9 MB, free: 35.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.117e-05/0.1913, allocations: 113.3 kB / 438 MB, free: 35.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.1913, allocations: 69.88 kB / 438 MB, free: 35.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-05/0.1914, allocations: 41.19 kB / 438.1 MB, free: 35.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.567e-05/0.1914, allocations: 328.4 kB / 438.4 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.1916, allocations: 59.56 kB / 438.5 MB, free: 34.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.1917, allocations: 83.86 kB / 438.5 MB, free: 34.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.192, allocations: 136.5 kB / 438.7 MB, free: 34.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.192, allocations: 2.969 kB / 438.7 MB, free: 34.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003452/0.1924, allocations: 204.1 kB / 438.9 MB, free: 34.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.1924, allocations: 5.5 kB / 438.9 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.1924, allocations: 0 / 438.9 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.1924, allocations: 0 / 438.9 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.1928, allocations: 61.89 kB / 438.9 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1928, allocations: 0 / 438.9 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.1929, allocations: 29.67 kB / 439 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.1929, allocations: 8.609 kB / 439 MB, free: 34.54 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.177e-05/0.193, allocations: 139.1 kB / 439.1 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.193, allocations: 18.69 kB / 439.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003966/0.1934, allocations: 209.1 kB / 439.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1935, allocations: 10.3 kB / 439.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1935, allocations: 0 / 439.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1935, allocations: 0 / 439.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.1936, allocations: 257.8 kB / 439.6 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1937, allocations: 0 / 439.6 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.1939, allocations: 44.03 kB / 439.6 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.1939, allocations: 6.594 kB / 439.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.1939, allocations: 0 / 439.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1939, allocations: 2.75 kB / 439.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1939, allocations: 0 / 439.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005054/0.1944, allocations: 362.8 kB / 440 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.1945, allocations: 91.83 kB / 440.1 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.1945, allocations: 10.14 kB / 440.1 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.1947, allocations: 20.12 kB / 440.1 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.1947, allocations: 31.44 kB / 440.2 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.1948, allocations: 2.969 kB / 440.2 MB, free: 33.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.936e-05/0.1948, allocations: 102.8 kB / 440.3 MB, free: 33.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1948, allocations: 0 / 440.3 MB, free: 33.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.195, allocations: 35.88 kB / 440.3 MB, free: 33.61 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.0006258/0.1956, allocations: 0.8927 MB / 441.2 MB, free: 32.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003413/0.196, allocations: 150.1 kB / 441.3 MB, free: 32.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.196, allocations: 4 kB / 441.3 MB, free: 32.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.1962, allocations: 88.47 kB / 441.4 MB, free: 32.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.1964, allocations: 18.94 kB / 441.4 MB, free: 32.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.1982, allocations: 2.02 MB / 443.5 MB, free: 31.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.173e-05/0.1983, allocations: 0.7226 MB / 444.2 MB, free: 30.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.1984, allocations: 21.22 kB / 444.2 MB, free: 30.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.476e-05/0.1985, allocations: 50.44 kB / 444.3 MB, free: 30.51 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1985, allocations: 2.875 kB / 444.3 MB, free: 30.51 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7353/0.9338, allocations: 3.023 MB / 447.3 MB, free: 30.21 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/0.934, allocations: 192.8 kB / 447.5 MB, free: 29.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.671, allocations: 0 / 447.5 MB, free: 29.95 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)