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.00117/0.00117, allocations: 100.1 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.001331/0.001331, allocations: 177.3 kB / 15.95 MB, free: 216 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.366/1.366, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2116/0.2116, allocations: 22.33 MB / 313.3 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003168, allocations: 8 kB / 379.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2889, allocations: 55.97 MB / 435.9 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.002055/0.291, allocations: 1.413 MB / 437.3 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004011/0.2914, allocations: 141.8 kB / 437.4 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.2916, allocations: 6.844 kB / 437.4 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.424e-05/0.2916, allocations: 7.312 kB / 437.5 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.2918, allocations: 22.12 kB / 437.5 MB, free: 37.15 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 0.000138/0.292, allocations: 43.05 kB / 437.5 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.2922, allocations: 83.05 kB / 437.6 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.2923, allocations: 52.67 kB / 437.7 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.276e-05/0.2924, allocations: 48.73 kB / 437.7 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.2926, allocations: 48.59 kB / 437.7 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.2926, allocations: 5.906 kB / 437.8 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.2926, allocations: 3.094 kB / 437.8 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.811e-05/0.2926, allocations: 32.06 kB / 437.8 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.2927, allocations: 43.64 kB / 437.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.2928, allocations: 88.47 kB / 437.9 MB, free: 36.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2928, allocations: 0 / 437.9 MB, free: 36.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2928, allocations: 0 / 437.9 MB, free: 36.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.2928, allocations: 0 / 437.9 MB, free: 36.95 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.0005835/0.2934, allocations: 410.6 kB / 438.3 MB, free: 36.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.2935, allocations: 9.375 kB / 438.3 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.716e-05/0.2935, allocations: 55.94 kB / 438.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.2936, allocations: 16.44 kB / 438.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.2938, allocations: 215 kB / 438.6 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.2938, allocations: 12.38 kB / 438.6 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.2939, allocations: 24.91 kB / 438.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.2943, allocations: 160.1 kB / 438.8 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2943, allocations: 0 / 438.8 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.2943, allocations: 6.812 kB / 438.8 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2943, allocations: 6.906 kB / 438.8 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003428/0.2947, allocations: 114.5 kB / 438.9 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007902/0.2955, allocations: 0.4899 MB / 439.4 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.2957, allocations: 120.4 kB / 439.5 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.2958, allocations: 352 / 439.5 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.2958, allocations: 42.23 kB / 439.6 MB, free: 35.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.082e-06/0.2958, allocations: 0 / 439.6 MB, free: 35.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006156/0.2964, allocations: 227.9 kB / 439.8 MB, free: 35.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.2965, allocations: 58.19 kB / 439.9 MB, free: 35.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.386e-05/0.2966, allocations: 128.2 kB / 440 MB, free: 35.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.2966, allocations: 29.7 kB / 440 MB, free: 35.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.2967, allocations: 124.1 kB / 440.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.2967, allocations: 57.36 kB / 440.2 MB, free: 35.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/0.2967, allocations: 7.938 kB / 440.2 MB, free: 35.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.2968, allocations: 324.6 kB / 440.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.297, allocations: 60.38 kB / 440.6 MB, free: 34.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.2972, allocations: 78.67 kB / 440.6 MB, free: 34.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.2973, allocations: 63.92 kB / 440.7 MB, free: 34.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2973, allocations: 0 / 440.7 MB, free: 34.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004029/0.2978, allocations: 204 kB / 440.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.2978, allocations: 9.391 kB / 440.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2978, allocations: 0 / 440.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.2978, allocations: 2.938 kB / 440.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.2982, allocations: 54.91 kB / 441 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.2982, allocations: 2.344 kB / 441 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.2984, allocations: 33.5 kB / 441 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.2984, allocations: 8.594 kB / 441 MB, free: 34.69 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.867e-05/0.2985, allocations: 127.4 kB / 441.1 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.2986, allocations: 13.61 kB / 441.2 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004686/0.2991, allocations: 211.3 kB / 441.4 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2991, allocations: 6.156 kB / 441.4 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2991, allocations: 4 kB / 441.4 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.2991, allocations: 0 / 441.4 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.2993, allocations: 250.8 kB / 441.6 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.2993, allocations: 2.594 kB / 441.6 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.2996, allocations: 47.73 kB / 441.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.2996, allocations: 2.625 kB / 441.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.2996, allocations: 0 / 441.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.2996, allocations: 10.95 kB / 441.7 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.2997, allocations: 4 kB / 441.7 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006037/0.3003, allocations: 355.2 kB / 442 MB, free: 33.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.3003, allocations: 95.33 kB / 442.1 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.3003, allocations: 0 / 442.1 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.3005, allocations: 25.09 kB / 442.1 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-05/0.3006, allocations: 32.84 kB / 442.2 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.3007, allocations: 12.19 kB / 442.2 MB, free: 33.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.917e-05/0.3007, allocations: 97.12 kB / 442.3 MB, free: 33.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3007, allocations: 0 / 442.3 MB, free: 33.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.301, allocations: 35 kB / 442.3 MB, free: 33.77 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.0008443/0.3018, allocations: 0.896 MB / 443.2 MB, free: 33.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004239/0.3023, allocations: 154.8 kB / 443.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3023, allocations: 4 kB / 443.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.3025, allocations: 82.72 kB / 443.5 MB, free: 32.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.3027, allocations: 15.95 kB / 443.5 MB, free: 32.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.3044, allocations: 1.152 MB / 444.6 MB, free: 32.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.3046, allocations: 0.7291 MB / 445.3 MB, free: 31.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.3047, allocations: 18.33 kB / 445.4 MB, free: 31.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.348e-05/0.3048, allocations: 51.81 kB / 445.4 MB, free: 31.44 MB / 350.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3048, allocations: 0 / 445.4 MB, free: 31.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01368/0.3185, allocations: 2.895 MB / 448.3 MB, free: 31.22 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/0.3187, allocations: 169.5 kB / 448.5 MB, free: 30.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.23, allocations: 2 kB / 448.5 MB, free: 30.98 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: