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.001082/0.001082, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.0009817/0.0009818, allocations: 194.7 kB / 16.26 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.177/1.177, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1566/0.1566, allocations: 22.36 MB / 312.4 MB, free: 12.64 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 63.89 kB / 378.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1964, allocations: 54.93 MB / 433.3 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002096/0.1985, allocations: 1.791 MB / 435.1 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003418/0.1988, allocations: 239.9 kB / 435.3 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.959e-05/0.1989, allocations: 6.688 kB / 435.3 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.555e-05/0.199, allocations: 11.16 kB / 435.3 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.1991, allocations: 26.23 kB / 435.3 MB, free: 37.36 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.0001088/0.1993, allocations: 52.38 kB / 435.4 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1994, allocations: 178.6 kB / 435.6 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1996, allocations: 77.73 kB / 435.6 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.745e-05/0.1996, allocations: 61.44 kB / 435.7 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.22e-05/0.1997, allocations: 74.86 kB / 435.8 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.1997, allocations: 14.84 kB / 435.8 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.724e-05/0.1997, allocations: 15.38 kB / 435.8 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.1998, allocations: 32.11 kB / 435.8 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.1998, allocations: 78.22 kB / 435.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.1999, allocations: 134.8 kB / 436 MB, free: 37.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2, allocations: 4 kB / 436.1 MB, free: 37.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2, allocations: 0 / 436.1 MB, free: 37.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.2, allocations: 0 / 436.1 MB, free: 37.01 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.0003705/0.2003, allocations: 0.4911 MB / 436.5 MB, free: 36.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.2004, allocations: 8.594 kB / 436.6 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.203e-05/0.2004, allocations: 50.56 kB / 436.6 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.2005, allocations: 17.22 kB / 436.6 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.2006, allocations: 223.1 kB / 436.8 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.2006, allocations: 14.22 kB / 436.9 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.2007, allocations: 20.25 kB / 436.9 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.201, allocations: 152.8 kB / 437 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.201, allocations: 7.875 kB / 437 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.201, allocations: 9.375 kB / 437 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.201, allocations: 2.656 kB / 437 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002593/0.2013, allocations: 99.8 kB / 437.1 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00054/0.2018, allocations: 473 kB / 437.6 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.202, allocations: 167.4 kB / 437.8 MB, free: 35.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.2022, allocations: 136.1 kB / 437.9 MB, free: 35.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.2022, allocations: 10.88 kB / 437.9 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.2025, allocations: 152.4 kB / 438.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.2025, allocations: 0 / 438.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006238/0.2031, allocations: 360 kB / 438.4 MB, free: 35.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.2031, allocations: 123.3 kB / 438.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.996e-05/0.2032, allocations: 135.7 kB / 438.7 MB, free: 35.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.2032, allocations: 35.84 kB / 438.7 MB, free: 35.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.403e-05/0.2033, allocations: 119.3 kB / 438.8 MB, free: 34.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.2033, allocations: 51.12 kB / 438.9 MB, free: 34.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.2034, allocations: 52.7 kB / 438.9 MB, free: 34.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.355e-05/0.2034, allocations: 324.9 kB / 439.2 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.2035, allocations: 59.56 kB / 439.3 MB, free: 34.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.2037, allocations: 119.2 kB / 439.4 MB, free: 34.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.204, allocations: 270.5 kB / 439.7 MB, free: 34.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.204, allocations: 2.875 kB / 439.7 MB, free: 34.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004096/0.2044, allocations: 315.5 kB / 440 MB, free: 34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.2044, allocations: 75.42 kB / 440.1 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2045, allocations: 2.719 kB / 440.1 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2045, allocations: 2.938 kB / 440.1 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.2046, allocations: 28.41 kB / 440.1 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2046, allocations: 2.844 kB / 440.1 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.2048, allocations: 33.81 kB / 440.1 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.2048, allocations: 8.844 kB / 440.1 MB, free: 33.91 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.437e-05/0.2049, allocations: 183.7 kB / 440.3 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.2049, allocations: 20.88 kB / 440.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005161/0.2054, allocations: 347.1 kB / 440.7 MB, free: 33.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2054, allocations: 0 / 440.7 MB, free: 33.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.2054, allocations: 4 kB / 440.7 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.2055, allocations: 6.156 kB / 440.7 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.2056, allocations: 238.8 kB / 440.9 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2056, allocations: 2.938 kB / 440.9 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.2057, allocations: 18.53 kB / 440.9 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.2057, allocations: 3.938 kB / 440.9 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.2057, allocations: 10.03 kB / 440.9 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2057, allocations: 0 / 440.9 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2057, allocations: 0 / 440.9 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006552/0.2064, allocations: 456.4 kB / 441.4 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.2064, allocations: 99.8 kB / 441.5 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.2065, allocations: 5.844 kB / 441.5 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.2066, allocations: 26.86 kB / 441.5 MB, free: 32.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.2067, allocations: 21.86 kB / 441.5 MB, free: 32.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.2067, allocations: 8.312 kB / 441.6 MB, free: 32.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.145e-05/0.2067, allocations: 102.1 kB / 441.7 MB, free: 32.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2068, allocations: 2.906 kB / 441.7 MB, free: 32.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.207, allocations: 46.03 kB / 441.7 MB, free: 32.87 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.0007796/0.2078, allocations: 0.995 MB / 442.7 MB, free: 32.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004235/0.2082, allocations: 375.4 kB / 443.1 MB, free: 31.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2082, allocations: 0 / 443.1 MB, free: 31.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.2084, allocations: 287.6 kB / 443.3 MB, free: 31.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.2086, allocations: 20.97 kB / 443.4 MB, free: 31.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.2105, allocations: 2.154 MB / 445.5 MB, free: 29.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.885e-05/0.2106, allocations: 0.7241 MB / 446.2 MB, free: 29.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.433e-05/0.2106, allocations: 16.25 kB / 446.3 MB, free: 29.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.261e-05/0.2107, allocations: 39.84 kB / 446.3 MB, free: 29.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2107, allocations: 4 kB / 446.3 MB, free: 29.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.46/1.67, allocations: 3.039 MB / 449.3 MB, free: 28.89 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/1.671, allocations: 177.2 kB / 449.5 MB, free: 28.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/3.5, allocations: 3.938 kB / 449.5 MB, free: 28.64 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)