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.001727/0.001727, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001761/0.001761, allocations: 197.1 kB / 16.14 MB, free: 6.703 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.164/1.164, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1634/0.1634, allocations: 22.34 MB / 312.3 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 67.91 kB / 378.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.185, allocations: 54.94 MB / 433.1 MB, free: 38.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.00193/0.187, allocations: 1.801 MB / 434.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003788/0.1873, allocations: 254.8 kB / 435.1 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.364e-05/0.1874, allocations: 2.969 kB / 435.1 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.901e-05/0.1875, allocations: 19.05 kB / 435.2 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.1876, allocations: 14.11 kB / 435.2 MB, free: 36.95 MB / 350.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.0001042/0.1877, allocations: 52.05 kB / 435.2 MB, free: 36.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.1879, allocations: 144.2 kB / 435.4 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.188, allocations: 78.73 kB / 435.4 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.448e-05/0.188, allocations: 58.72 kB / 435.5 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.003e-05/0.1881, allocations: 75.95 kB / 435.6 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.1881, allocations: 8.969 kB / 435.6 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.839e-05/0.1882, allocations: 9.25 kB / 435.6 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.1882, allocations: 25.95 kB / 435.6 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.091e-05/0.1882, allocations: 65.09 kB / 435.7 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.1883, allocations: 135.1 kB / 435.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.1884, allocations: 0 / 435.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.1884, allocations: 0 / 435.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.1884, allocations: 2.875 kB / 435.8 MB, free: 36.64 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.0003616/0.1887, allocations: 0.4914 MB / 436.3 MB, free: 36.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.1888, allocations: 12.62 kB / 436.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/0.1888, allocations: 50.69 kB / 436.4 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.1889, allocations: 17.22 kB / 436.4 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.189, allocations: 231.2 kB / 436.6 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.189, allocations: 12.78 kB / 436.6 MB, free: 35.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.189, allocations: 16.03 kB / 436.6 MB, free: 35.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.1893, allocations: 155.9 kB / 436.8 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1894, allocations: 3.938 kB / 436.8 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.1894, allocations: 6.781 kB / 436.8 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1894, allocations: 2.781 kB / 436.8 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002635/0.1896, allocations: 97.56 kB / 436.9 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005278/0.1902, allocations: 481.8 kB / 437.4 MB, free: 35.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.1904, allocations: 162.6 kB / 437.5 MB, free: 35.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.1906, allocations: 135.8 kB / 437.7 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.1906, allocations: 14.86 kB / 437.7 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.1908, allocations: 154.2 kB / 437.8 MB, free: 35.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.1908, allocations: 0 / 437.8 MB, free: 35.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006199/0.1915, allocations: 357.5 kB / 438.2 MB, free: 34.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.1915, allocations: 116.6 kB / 438.3 MB, free: 34.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.01e-05/0.1916, allocations: 141.8 kB / 438.4 MB, free: 34.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.1916, allocations: 32.58 kB / 438.5 MB, free: 34.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.1916, allocations: 120.6 kB / 438.6 MB, free: 34.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.1917, allocations: 47.61 kB / 438.6 MB, free: 34.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.1917, allocations: 53.84 kB / 438.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.568e-05/0.1918, allocations: 325.2 kB / 439 MB, free: 34.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.1919, allocations: 56.09 kB / 439 MB, free: 34.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.1921, allocations: 119.9 kB / 439.2 MB, free: 34.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.1923, allocations: 274.1 kB / 439.4 MB, free: 33.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1924, allocations: 2.469 kB / 439.4 MB, free: 33.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004028/0.1928, allocations: 321.9 kB / 439.7 MB, free: 33.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.1928, allocations: 68.97 kB / 439.8 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1928, allocations: 2.625 kB / 439.8 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1928, allocations: 2.531 kB / 439.8 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.193, allocations: 37.66 kB / 439.9 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.193, allocations: 2.438 kB / 439.9 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.1931, allocations: 29.88 kB / 439.9 MB, free: 33.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.1931, allocations: 16.03 kB / 439.9 MB, free: 33.52 MB / 350.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 8.122e-05/0.1932, allocations: 183 kB / 440.1 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.1932, allocations: 20.34 kB / 440.1 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004932/0.1937, allocations: 340.5 kB / 440.4 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1938, allocations: 0 / 440.4 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.1938, allocations: 6.781 kB / 440.4 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1938, allocations: 0 / 440.4 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.1939, allocations: 244.5 kB / 440.7 MB, free: 32.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1939, allocations: 3.938 kB / 440.7 MB, free: 32.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.194, allocations: 17.53 kB / 440.7 MB, free: 32.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.194, allocations: 7.875 kB / 440.7 MB, free: 32.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.194, allocations: 8.438 kB / 440.7 MB, free: 32.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.194, allocations: 0 / 440.7 MB, free: 32.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1941, allocations: 0 / 440.7 MB, free: 32.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006496/0.1947, allocations: 452 kB / 441.2 MB, free: 32.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.1947, allocations: 96.02 kB / 441.3 MB, free: 32.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.1948, allocations: 13.72 kB / 441.3 MB, free: 32.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.1949, allocations: 22.02 kB / 441.3 MB, free: 32.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.195, allocations: 24.38 kB / 441.3 MB, free: 32.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.195, allocations: 5.062 kB / 441.3 MB, free: 32.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.198e-05/0.195, allocations: 103.5 kB / 441.4 MB, free: 32.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.195, allocations: 0 / 441.4 MB, free: 32.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.1953, allocations: 46 kB / 441.5 MB, free: 32.49 MB / 350.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.0007803/0.196, allocations: 0.9949 MB / 442.5 MB, free: 31.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004021/0.1965, allocations: 368.6 kB / 442.8 MB, free: 31.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1965, allocations: 0 / 442.8 MB, free: 31.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.1967, allocations: 287.7 kB / 443.1 MB, free: 31.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.1969, allocations: 20.84 kB / 443.1 MB, free: 31.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.1987, allocations: 2.152 MB / 445.3 MB, free: 29.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.643e-05/0.1988, allocations: 0.7134 MB / 446 MB, free: 28.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.467e-05/0.1989, allocations: 15.78 kB / 446 MB, free: 28.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.3e-05/0.1989, allocations: 46.23 kB / 446 MB, free: 28.86 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1989, allocations: 4 kB / 446.1 MB, free: 28.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.718/1.917, allocations: 2.935 MB / 449 MB, free: 28.51 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/1.917, allocations: 182.1 kB / 449.2 MB, free: 28.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.198/7.116, allocations: 0 / 449.2 MB, free: 28.26 MB / 350.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_digital_PI_awfb_full_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_digital_PI_awfb_full.fmu > AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe 2>&1)