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.0009502/0.0009502, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00716/0.00716, allocations: 169 kB / 16.26 MB, free: 6.66 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.289/1.289, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.186/0.186, allocations: 22.34 MB / 313.8 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002829/0.0002829, allocations: 11.98 kB / 380.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2261, allocations: 55.98 MB / 436.6 MB, free: 38.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.001348/0.2275, allocations: 1.442 MB / 438.1 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004121/0.2279, allocations: 262.1 kB / 438.3 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.219e-05/0.228, allocations: 0 / 438.3 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.219e-05/0.2281, allocations: 18.66 kB / 438.3 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.2282, allocations: 19.19 kB / 438.3 MB, free: 37.19 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.0001158/0.2283, allocations: 51.33 kB / 438.4 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.2284, allocations: 146.1 kB / 438.5 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.2286, allocations: 72.53 kB / 438.6 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.624e-05/0.2286, allocations: 49.75 kB / 438.7 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.917e-05/0.2287, allocations: 62.52 kB / 438.7 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.2287, allocations: 9.188 kB / 438.7 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.503e-05/0.2288, allocations: 8 kB / 438.7 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.2288, allocations: 13.8 kB / 438.8 MB, free: 37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.723e-05/0.2289, allocations: 89.41 kB / 438.8 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.229, allocations: 129.8 kB / 439 MB, free: 36.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.229, allocations: 0 / 439 MB, free: 36.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.229, allocations: 4 kB / 439 MB, free: 36.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.229, allocations: 0 / 439 MB, free: 36.88 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.0003452/0.2293, allocations: 470.4 kB / 439.4 MB, free: 36.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.2294, allocations: 13.47 kB / 439.4 MB, free: 36.4 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.2294, allocations: 47.23 kB / 439.5 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.2295, allocations: 27.27 kB / 439.5 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.2296, allocations: 220.4 kB / 439.7 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.2296, allocations: 10.53 kB / 439.7 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.2297, allocations: 18.81 kB / 439.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/0.23, allocations: 156 kB / 439.9 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.23, allocations: 3.938 kB / 439.9 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.23, allocations: 6.375 kB / 439.9 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.23, allocations: 2.656 kB / 439.9 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.2304, allocations: 99.62 kB / 440 MB, free: 36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.231, allocations: 487.8 kB / 440.5 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.2312, allocations: 157.2 kB / 440.7 MB, free: 35.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.2314, allocations: 136.5 kB / 440.8 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.2314, allocations: 9.797 kB / 440.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002637/0.2317, allocations: 156.9 kB / 440.9 MB, free: 35.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.2317, allocations: 0 / 440.9 MB, free: 35.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007215/0.2324, allocations: 352.5 kB / 441.3 MB, free: 35.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.2325, allocations: 126.7 kB / 441.4 MB, free: 35.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/0.2326, allocations: 145.4 kB / 441.6 MB, free: 34.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.2326, allocations: 28.3 kB / 441.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/0.2326, allocations: 119.6 kB / 441.7 MB, free: 34.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.2327, allocations: 54.47 kB / 441.8 MB, free: 34.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.2327, allocations: 33.3 kB / 441.8 MB, free: 34.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.905e-05/0.2327, allocations: 328.1 kB / 442.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.2329, allocations: 51.22 kB / 442.2 MB, free: 34.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.2331, allocations: 125.7 kB / 442.3 MB, free: 34.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.2334, allocations: 279.1 kB / 442.6 MB, free: 34.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2334, allocations: 0 / 442.6 MB, free: 34.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004669/0.2339, allocations: 308.3 kB / 442.9 MB, free: 33.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.234, allocations: 77.06 kB / 442.9 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.234, allocations: 7.031 kB / 442.9 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.234, allocations: 7.219 kB / 442.9 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.2341, allocations: 23.75 kB / 443 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.2341, allocations: 6.562 kB / 443 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.2343, allocations: 29.12 kB / 443 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.2343, allocations: 12.12 kB / 443 MB, free: 33.79 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 9.343e-05/0.2344, allocations: 179.9 kB / 443.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.2345, allocations: 16.56 kB / 443.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005752/0.235, allocations: 343.2 kB / 443.5 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-06/0.2351, allocations: 2.938 kB / 443.5 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2351, allocations: 0 / 443.5 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2351, allocations: 4 kB / 443.5 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.2352, allocations: 250.9 kB / 443.8 MB, free: 33.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2352, allocations: 0 / 443.8 MB, free: 33.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.2354, allocations: 14.61 kB / 443.8 MB, free: 33.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2354, allocations: 7 kB / 443.8 MB, free: 33.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.2354, allocations: 10.34 kB / 443.8 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2354, allocations: 4 kB / 443.8 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2354, allocations: 0 / 443.8 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007603/0.2362, allocations: 455.6 kB / 444.3 MB, free: 32.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.2362, allocations: 91.92 kB / 444.4 MB, free: 32.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.2362, allocations: 9.75 kB / 444.4 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.2364, allocations: 28.06 kB / 444.4 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.2365, allocations: 20.83 kB / 444.4 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.2365, allocations: 9.938 kB / 444.4 MB, free: 32.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.492e-05/0.2365, allocations: 97.39 kB / 444.5 MB, free: 32.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2365, allocations: 0 / 444.5 MB, free: 32.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.2368, allocations: 49.38 kB / 444.6 MB, free: 32.76 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.0008831/0.2377, allocations: 0.9935 MB / 445.6 MB, free: 31.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004645/0.2382, allocations: 368.6 kB / 445.9 MB, free: 31.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2382, allocations: 0 / 445.9 MB, free: 31.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.2384, allocations: 283.2 kB / 446.2 MB, free: 31.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.2386, allocations: 25.25 kB / 446.2 MB, free: 31.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.2407, allocations: 2.166 MB / 448.4 MB, free: 29.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.91e-05/0.2408, allocations: 0.7182 MB / 449.1 MB, free: 29.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.932e-05/0.2409, allocations: 20.06 kB / 449.1 MB, free: 29.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.764e-05/0.241, allocations: 40.62 kB / 449.2 MB, free: 29.12 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.241, allocations: 4 kB / 449.2 MB, free: 29.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.178/1.419, allocations: 2.855 MB / 452 MB, free: 28.87 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/1.419, allocations: 185.2 kB / 452.2 MB, free: 28.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/3.612, allocations: 3.391 kB / 452.2 MB, free: 28.62 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)