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.001227/0.001227, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001424/0.001424, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.216/0.216, allocations: 22.34 MB / 313.3 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003392, allocations: 16 kB / 379.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3101, allocations: 55.98 MB / 435.9 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.001807/0.312, allocations: 1.415 MB / 437.3 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004255/0.3124, allocations: 225.8 kB / 437.5 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.576e-05/0.3125, allocations: 2.844 kB / 437.5 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.3126, allocations: 11.2 kB / 437.5 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.3128, allocations: 17.97 kB / 437.6 MB, free: 37.08 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.0001229/0.3129, allocations: 53.86 kB / 437.6 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.3131, allocations: 93.31 kB / 437.7 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.3133, allocations: 54.67 kB / 437.8 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.553e-05/0.3134, allocations: 52.61 kB / 437.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.3135, allocations: 52.39 kB / 437.9 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.3135, allocations: 6.094 kB / 437.9 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.7e-05/0.3135, allocations: 5.906 kB / 437.9 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.3136, allocations: 14.23 kB / 437.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.3136, allocations: 49.27 kB / 437.9 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.3137, allocations: 102.4 kB / 438 MB, free: 36.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3137, allocations: 4 kB / 438 MB, free: 36.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3137, allocations: 0 / 438 MB, free: 36.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3137, allocations: 0 / 438 MB, free: 36.86 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.0004223/0.3142, allocations: 467 kB / 438.5 MB, free: 36.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3142, allocations: 8.562 kB / 438.5 MB, free: 36.4 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.3143, allocations: 47.58 kB / 438.5 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.3143, allocations: 18.44 kB / 438.6 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.3145, allocations: 220.8 kB / 438.8 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.3145, allocations: 20.12 kB / 438.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.3146, allocations: 17.94 kB / 438.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.3149, allocations: 148.1 kB / 439 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3149, allocations: 0 / 439 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.315, allocations: 6.562 kB / 439 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.315, allocations: 2.344 kB / 439 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00028/0.3152, allocations: 99.27 kB / 439.1 MB, free: 36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006407/0.3159, allocations: 490.7 kB / 439.5 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.3161, allocations: 150.7 kB / 439.7 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.3162, allocations: 2.594 kB / 439.7 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/0.3164, allocations: 164.5 kB / 439.9 MB, free: 35.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.3165, allocations: 0 / 439.9 MB, free: 35.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007104/0.3172, allocations: 439.3 kB / 440.3 MB, free: 35.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.3172, allocations: 118.2 kB / 440.4 MB, free: 35.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.228e-05/0.3173, allocations: 144 kB / 440.5 MB, free: 34.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.3173, allocations: 32.2 kB / 440.6 MB, free: 34.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.3174, allocations: 115.5 kB / 440.7 MB, free: 34.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.3174, allocations: 58.42 kB / 440.7 MB, free: 34.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-06/0.3174, allocations: 2.406 kB / 440.7 MB, free: 34.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.294e-05/0.3175, allocations: 325 kB / 441.1 MB, free: 34.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.3177, allocations: 55.08 kB / 441.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.3178, allocations: 116 kB / 441.2 MB, free: 34.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.318, allocations: 128.7 kB / 441.4 MB, free: 34.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.318, allocations: 3.156 kB / 441.4 MB, free: 34.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004533/0.3185, allocations: 320.3 kB / 441.7 MB, free: 34.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/0.3185, allocations: 70.44 kB / 441.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3185, allocations: 2.906 kB / 441.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3186, allocations: 6.453 kB / 441.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.3187, allocations: 27.55 kB / 441.8 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3187, allocations: 2.875 kB / 441.8 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.3189, allocations: 39.55 kB / 441.8 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.3189, allocations: 16.75 kB / 441.8 MB, free: 33.93 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,$PRE.C.HIsat,C.HIsat,$PRE.C.LOsat,C.LOsat,$PRE.C.xBias,C.xBias,$PRE.C.iBiaso,C.iBiaso,$PRE.C.fBias,C.fBias,$PRE.C.xfb,C.xfb,$PRE.C.ulin,C.ulin,$PRE.C.ulino,C.ulino,$PRE.C.u,C.u,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.319, allocations: 172.2 kB / 442 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.319, allocations: 18.47 kB / 442 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005514/0.3196, allocations: 347.8 kB / 442.4 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3196, allocations: 0 / 442.4 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3196, allocations: 0 / 442.4 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3196, allocations: 2.969 kB / 442.4 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.3198, allocations: 247.2 kB / 442.6 MB, free: 33.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3198, allocations: 0 / 442.6 MB, free: 33.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.3199, allocations: 29.31 kB / 442.6 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3199, allocations: 0 / 442.6 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.3199, allocations: 8.984 kB / 442.6 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.32, allocations: 0 / 442.6 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.32, allocations: 4 kB / 442.6 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007144/0.3207, allocations: 453.2 kB / 443.1 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.488e-05/0.3207, allocations: 95.66 kB / 443.2 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.3208, allocations: 9.812 kB / 443.2 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.3209, allocations: 24.77 kB / 443.2 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.321, allocations: 29.33 kB / 443.2 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.321, allocations: 5.719 kB / 443.2 MB, free: 32.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.378e-05/0.3211, allocations: 104.3 kB / 443.4 MB, free: 32.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3211, allocations: 3.938 kB / 443.4 MB, free: 32.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.3213, allocations: 41.12 kB / 443.4 MB, free: 32.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008741/0.3222, allocations: 0.9915 MB / 444.4 MB, free: 32.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004661/0.3227, allocations: 371.8 kB / 444.7 MB, free: 31.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3227, allocations: 0 / 444.7 MB, free: 31.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.323, allocations: 290.2 kB / 445 MB, free: 31.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.3231, allocations: 9.719 kB / 445 MB, free: 31.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.3247, allocations: 2.195 MB / 447.2 MB, free: 29.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.3248, allocations: 0.724 MB / 448 MB, free: 29.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.034e-05/0.3249, allocations: 19.69 kB / 448 MB, free: 29.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.383e-05/0.325, allocations: 42.58 kB / 448 MB, free: 29.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.325, allocations: 0 / 448 MB, free: 29.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.3379, allocations: 2.794 MB / 450.8 MB, free: 28.84 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.3381, allocations: 178.1 kB / 451 MB, free: 28.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.219, allocations: 0 / 451 MB, free: 28.59 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/linux/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) Environment - environmentSimulation: