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.001053/0.001054, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.213/1.213, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.177/0.177, allocations: 22.33 MB / 312.7 MB, free: 12.57 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.89 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2226, allocations: 54.93 MB / 433.8 MB, free: 38.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002245/0.2249, allocations: 1.742 MB / 435.5 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003731/0.2253, allocations: 228.1 kB / 435.7 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.497e-05/0.2254, allocations: 7.156 kB / 435.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.354e-05/0.2255, allocations: 19.08 kB / 435.7 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.2256, allocations: 29.33 kB / 435.8 MB, free: 37.24 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.0001199/0.2257, allocations: 59.34 kB / 435.8 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.2259, allocations: 183.9 kB / 436 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.226, allocations: 76.98 kB / 436.1 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.999e-05/0.2261, allocations: 62.83 kB / 436.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.878e-05/0.2262, allocations: 78.92 kB / 436.2 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.2262, allocations: 17.12 kB / 436.2 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.074e-05/0.2262, allocations: 17.16 kB / 436.3 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.2263, allocations: 26.14 kB / 436.3 MB, free: 37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.647e-05/0.2263, allocations: 78.2 kB / 436.4 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.2264, allocations: 135.6 kB / 436.5 MB, free: 36.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2265, allocations: 2.812 kB / 436.5 MB, free: 36.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2265, allocations: 0 / 436.5 MB, free: 36.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.2265, allocations: 0 / 436.5 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.0003978/0.2269, allocations: 0.4896 MB / 437 MB, free: 36.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.2269, allocations: 11.19 kB / 437 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.227, allocations: 47.83 kB / 437 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.227, allocations: 19.25 kB / 437.1 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.2272, allocations: 216.9 kB / 437.3 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.2272, allocations: 13.97 kB / 437.3 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.2272, allocations: 16.59 kB / 437.3 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.2275, allocations: 158 kB / 437.5 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2275, allocations: 7.938 kB / 437.5 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.2276, allocations: 6.938 kB / 437.5 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2276, allocations: 2.875 kB / 437.5 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.2279, allocations: 98.09 kB / 437.6 MB, free: 35.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.2285, allocations: 474.3 kB / 438 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.2287, allocations: 168.7 kB / 438.2 MB, free: 35.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.2289, allocations: 136.6 kB / 438.3 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.2289, allocations: 3.938 kB / 438.3 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002545/0.2292, allocations: 156.2 kB / 438.5 MB, free: 35.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.2292, allocations: 4 kB / 438.5 MB, free: 35.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006896/0.2299, allocations: 358.9 kB / 438.8 MB, free: 35.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.2299, allocations: 119.2 kB / 439 MB, free: 35.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.32e-05/0.23, allocations: 136.1 kB / 439.1 MB, free: 34.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.23, allocations: 32.2 kB / 439.1 MB, free: 34.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.2301, allocations: 127.4 kB / 439.2 MB, free: 34.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.2301, allocations: 51.41 kB / 439.3 MB, free: 34.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/0.2302, allocations: 47.31 kB / 439.3 MB, free: 34.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.603e-05/0.2302, allocations: 329 kB / 439.7 MB, free: 34.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.2304, allocations: 54.81 kB / 439.7 MB, free: 34.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.2305, allocations: 127.3 kB / 439.8 MB, free: 34.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.2309, allocations: 273.5 kB / 440.1 MB, free: 34.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2309, allocations: 2.875 kB / 440.1 MB, free: 34.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004431/0.2313, allocations: 316.1 kB / 440.4 MB, free: 33.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.2314, allocations: 78.28 kB / 440.5 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2314, allocations: 2.562 kB / 440.5 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2314, allocations: 2.656 kB / 440.5 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.2315, allocations: 25.02 kB / 440.5 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2315, allocations: 10.75 kB / 440.5 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.2317, allocations: 33.19 kB / 440.6 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.2317, allocations: 8.344 kB / 440.6 MB, free: 33.78 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.93e-05/0.2318, allocations: 184.3 kB / 440.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.2319, allocations: 20.41 kB / 440.8 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000551/0.2324, allocations: 348.4 kB / 441.1 MB, free: 33.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2324, allocations: 0 / 441.1 MB, free: 33.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2324, allocations: 3.469 kB / 441.1 MB, free: 33.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.2324, allocations: 0 / 441.1 MB, free: 33.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.2326, allocations: 245 kB / 441.4 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2326, allocations: 0 / 441.4 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.2327, allocations: 26.03 kB / 441.4 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2327, allocations: 7.938 kB / 441.4 MB, free: 33.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.2327, allocations: 10.94 kB / 441.4 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2327, allocations: 0 / 441.4 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2328, allocations: 0 / 441.4 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007166/0.2335, allocations: 443.4 kB / 441.8 MB, free: 32.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.2335, allocations: 102.2 kB / 441.9 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.2335, allocations: 5.406 kB / 441.9 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.2337, allocations: 21.52 kB / 442 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.2338, allocations: 22.91 kB / 442 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.2338, allocations: 9.656 kB / 442 MB, free: 32.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.44e-05/0.2338, allocations: 103.5 kB / 442.1 MB, free: 32.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2338, allocations: 0 / 442.1 MB, free: 32.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.2341, allocations: 49.91 kB / 442.1 MB, free: 32.73 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.0008621/0.235, allocations: 0.9898 MB / 443.1 MB, free: 31.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004699/0.2354, allocations: 370.3 kB / 443.5 MB, free: 31.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2354, allocations: 2.781 kB / 443.5 MB, free: 31.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.2357, allocations: 295.8 kB / 443.8 MB, free: 31.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.2359, allocations: 20.97 kB / 443.8 MB, free: 31.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.2379, allocations: 2.091 MB / 445.9 MB, free: 29.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.2381, allocations: 0.7192 MB / 446.6 MB, free: 29.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.708e-05/0.2381, allocations: 22.31 kB / 446.6 MB, free: 29.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.2382, allocations: 40.59 kB / 446.7 MB, free: 29.15 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2382, allocations: 0 / 446.7 MB, free: 29.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.063/1.302, allocations: 3.304 MB / 450 MB, free: 28.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.319/10.62, allocations: 14.33 kB / 450 MB, free: 28.66 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)