Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_analogue_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_analogue_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_PI_awfb_full",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_analogue_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_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.000797/0.0007971, allocations: 91.22 kB / 15.06 MB, free: 1.094 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.0008412/0.0008412, allocations: 172.7 kB / 15.95 MB, free: 204 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.34/1.34, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2024/0.2024, allocations: 22.36 MB / 313.4 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003047, allocations: 12 kB / 380 MB, free: 12.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2934, allocations: 55.97 MB / 436 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.001475/0.2949, allocations: 1.42 MB / 437.4 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002819/0.2952, allocations: 142.2 kB / 437.6 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.237e-05/0.2953, allocations: 3.938 kB / 437.6 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.997e-05/0.2954, allocations: 14.58 kB / 437.6 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.2955, allocations: 7.406 kB / 437.6 MB, free: 37.14 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component ‘ovrMax‘ is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component ‘ovrMin‘ is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 9.461e-05/0.2956, allocations: 45.92 kB / 437.6 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.2957, allocations: 122.1 kB / 437.8 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.2959, allocations: 50.95 kB / 437.8 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.427e-05/0.2959, allocations: 46.81 kB / 437.8 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.684e-05/0.296, allocations: 49.08 kB / 437.9 MB, free: 37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.296, allocations: 6 kB / 437.9 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.483e-05/0.296, allocations: 3 kB / 437.9 MB, free: 37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.2961, allocations: 28.19 kB / 437.9 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.2961, allocations: 47.86 kB / 438 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.512e-05/0.2962, allocations: 84.53 kB / 438.1 MB, free: 36.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2962, allocations: 0 / 438.1 MB, free: 36.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2962, allocations: 3.938 kB / 438.1 MB, free: 36.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.2962, allocations: 4 kB / 438.1 MB, free: 36.91 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.0004454/0.2967, allocations: 415.8 kB / 438.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2967, allocations: 8.969 kB / 438.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/0.2968, allocations: 49.03 kB / 438.5 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.2968, allocations: 16.53 kB / 438.5 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.297, allocations: 206.4 kB / 438.7 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.297, allocations: 16.66 kB / 438.8 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.297, allocations: 19.66 kB / 438.8 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.2974, allocations: 157.8 kB / 438.9 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2974, allocations: 0 / 438.9 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.2974, allocations: 6.906 kB / 438.9 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.2974, allocations: 6.844 kB / 439 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.2977, allocations: 125.9 kB / 439.1 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006858/0.2984, allocations: 0.4959 MB / 439.6 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.2987, allocations: 111.4 kB / 439.7 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.2988, allocations: 68.53 kB / 439.7 MB, free: 35.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.2989, allocations: 14.61 kB / 439.8 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.2989, allocations: 41.28 kB / 439.8 MB, free: 35.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.2989, allocations: 0 / 439.8 MB, free: 35.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005825/0.2995, allocations: 226.5 kB / 440 MB, free: 35.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.2995, allocations: 51.41 kB / 440.1 MB, free: 35.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.043e-05/0.2996, allocations: 130.8 kB / 440.2 MB, free: 35.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.2996, allocations: 32.89 kB / 440.2 MB, free: 35.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.2997, allocations: 113.6 kB / 440.3 MB, free: 35.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.2997, allocations: 69.78 kB / 440.4 MB, free: 35.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.2997, allocations: 4 kB / 440.4 MB, free: 35.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.06e-05/0.2998, allocations: 320.5 kB / 440.7 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.3, allocations: 57.56 kB / 440.8 MB, free: 34.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.3001, allocations: 89.78 kB / 440.9 MB, free: 34.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.3003, allocations: 61.72 kB / 440.9 MB, free: 34.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3003, allocations: 0 / 440.9 MB, free: 34.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000385/0.3007, allocations: 197 kB / 441.1 MB, free: 34.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3007, allocations: 10.45 kB / 441.1 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3007, allocations: 0 / 441.1 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3008, allocations: 3.938 kB / 441.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.3011, allocations: 57.03 kB / 441.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.3012, allocations: 2.531 kB / 441.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.3013, allocations: 29.06 kB / 441.2 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.3013, allocations: 5.094 kB / 441.2 MB, free: 34.63 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (C.noInc,C.noDec,C.HIsat,C.LOsat,ts.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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 8.173e-05/0.3014, allocations: 133.8 kB / 441.4 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.3014, allocations: 13.45 kB / 441.4 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004469/0.3019, allocations: 212.5 kB / 441.6 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3019, allocations: 2.969 kB / 441.6 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3019, allocations: 3.938 kB / 441.6 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3019, allocations: 4 kB / 441.6 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.3022, allocations: 252.5 kB / 441.8 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3022, allocations: 2.25 kB / 441.8 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.3024, allocations: 42.78 kB / 441.9 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3024, allocations: 3.562 kB / 441.9 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.3025, allocations: 7.953 kB / 441.9 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3025, allocations: 0 / 441.9 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3025, allocations: 2.562 kB / 441.9 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005427/0.303, allocations: 353.3 kB / 442.2 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.45e-05/0.3031, allocations: 94.02 kB / 442.3 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.3031, allocations: 7 kB / 442.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.3033, allocations: 22.42 kB / 442.4 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.223e-05/0.3033, allocations: 34.02 kB / 442.4 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.3034, allocations: 10.42 kB / 442.4 MB, free: 33.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.041e-05/0.3034, allocations: 103.6 kB / 442.5 MB, free: 33.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3034, allocations: 0 / 442.5 MB, free: 33.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.3037, allocations: 34.22 kB / 442.5 MB, free: 33.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C.xfb,C.xBias,C.u,C.csfil,P.y) * Number of discrete variables: 5 (C.noInc,C.noDec,C.HIsat,C.LOsat,ts.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.0007374/0.3044, allocations: 0.8993 MB / 443.4 MB, free: 32.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003679/0.3048, allocations: 155.3 kB / 443.6 MB, free: 32.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3048, allocations: 4.062 kB / 443.6 MB, free: 32.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.305, allocations: 85.8 kB / 443.7 MB, free: 32.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.3054, allocations: 22.36 kB / 443.7 MB, free: 32.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.307, allocations: 1.005 MB / 444.7 MB, free: 32.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.3071, allocations: 0.719 MB / 445.4 MB, free: 31.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.3073, allocations: 21.03 kB / 445.4 MB, free: 31.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.306e-05/0.3074, allocations: 48.62 kB / 445.5 MB, free: 31.52 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3074, allocations: 0 / 445.5 MB, free: 31.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/0.3193, allocations: 2.909 MB / 448.4 MB, free: 31.31 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001191/0.3195, allocations: 187.8 kB / 448.6 MB, free: 31.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.046, allocations: 4 kB / 448.6 MB, free: 31.05 MB / 350.1 MB (rm -f AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_analogue_PI_awfb_full_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_analogue_PI_awfb_full.fmu > AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe 2>&1) Environment - environmentSimulation: