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.001015/0.001015, allocations: 108 kB / 15.6 MB, free: 132 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.001045/0.001045, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.257/1.257, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1814/0.1814, allocations: 22.34 MB / 312.7 MB, free: 12.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 55.91 kB / 378.8 MB, free: 12.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2165, allocations: 54.94 MB / 433.8 MB, free: 38.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.002282/0.2188, allocations: 1.732 MB / 435.5 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002883/0.2191, allocations: 149.2 kB / 435.6 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.588e-05/0.2192, allocations: 6.656 kB / 435.7 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.282e-05/0.2193, allocations: 19.12 kB / 435.7 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.2194, allocations: 17.75 kB / 435.7 MB, free: 37.16 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.0001017/0.2196, allocations: 52.86 kB / 435.7 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.2197, allocations: 141.4 kB / 435.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.2198, allocations: 77 kB / 436 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.877e-05/0.2199, allocations: 55.69 kB / 436 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.681e-05/0.22, allocations: 77.84 kB / 436.1 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.22, allocations: 15.66 kB / 436.1 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.143e-05/0.22, allocations: 13.25 kB / 436.1 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.803e-05/0.2201, allocations: 36.31 kB / 436.1 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.2201, allocations: 62.89 kB / 436.2 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.2202, allocations: 126.1 kB / 436.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2202, allocations: 2.812 kB / 436.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2202, allocations: 0 / 436.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.227e-06/0.2203, allocations: 0 / 436.3 MB, free: 36.84 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.0004885/0.2208, allocations: 444.6 kB / 436.8 MB, free: 36.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.2208, allocations: 11.72 kB / 436.8 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.254e-05/0.2208, allocations: 44.88 kB / 436.8 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.2209, allocations: 17 kB / 436.8 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.221, allocations: 215.5 kB / 437.1 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.221, allocations: 13.19 kB / 437.1 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.2211, allocations: 24.53 kB / 437.1 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.2214, allocations: 157.6 kB / 437.2 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.2214, allocations: 7.938 kB / 437.2 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.2214, allocations: 4 kB / 437.3 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.2214, allocations: 5.469 kB / 437.3 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003344/0.2218, allocations: 114.6 kB / 437.4 MB, free: 36.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006552/0.2224, allocations: 0.5002 MB / 437.9 MB, free: 35.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.2227, allocations: 118.9 kB / 438 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.2229, allocations: 70.47 kB / 438.1 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.2229, allocations: 5.922 kB / 438.1 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.066e-05/0.2229, allocations: 34.5 kB / 438.1 MB, free: 35.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.2229, allocations: 2.75 kB / 438.1 MB, free: 35.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006093/0.2235, allocations: 225.1 kB / 438.3 MB, free: 35.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.816e-05/0.2236, allocations: 58.44 kB / 438.4 MB, free: 35.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.346e-05/0.2236, allocations: 129.8 kB / 438.5 MB, free: 35.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.2237, allocations: 32.8 kB / 438.5 MB, free: 35.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/0.2237, allocations: 110.7 kB / 438.6 MB, free: 35.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.2237, allocations: 70.78 kB / 438.7 MB, free: 35.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.2238, allocations: 46.44 kB / 438.8 MB, free: 35.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.859e-05/0.2239, allocations: 328.6 kB / 439.1 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.224, allocations: 62.73 kB / 439.1 MB, free: 34.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.2242, allocations: 80.77 kB / 439.2 MB, free: 34.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.2245, allocations: 135.5 kB / 439.4 MB, free: 34.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2246, allocations: 2.781 kB / 439.4 MB, free: 34.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004143/0.225, allocations: 202.8 kB / 439.6 MB, free: 34.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.225, allocations: 5.344 kB / 439.6 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.225, allocations: 3.188 kB / 439.6 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.225, allocations: 4 kB / 439.6 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004013/0.2254, allocations: 56.64 kB / 439.6 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.2254, allocations: 2.375 kB / 439.6 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.2256, allocations: 28.91 kB / 439.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.2256, allocations: 5.688 kB / 439.7 MB, free: 34.46 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 (ts.y,C.LOsat,C.HIsat,C.noDec,C.noInc) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.888e-05/0.2257, allocations: 139.2 kB / 439.8 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.2257, allocations: 19.44 kB / 439.8 MB, free: 34.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004586/0.2262, allocations: 205.6 kB / 440 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2262, allocations: 0 / 440 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2262, allocations: 3.938 kB / 440 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.2262, allocations: 6.312 kB / 440 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.2264, allocations: 250.7 kB / 440.3 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2264, allocations: 0 / 440.3 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.2267, allocations: 57.89 kB / 440.3 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.2267, allocations: 7.359 kB / 440.3 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.2267, allocations: 2.844 kB / 440.3 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2268, allocations: 0 / 440.3 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2268, allocations: 0 / 440.3 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005836/0.2273, allocations: 353.3 kB / 440.7 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.2274, allocations: 98.11 kB / 440.8 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.2274, allocations: 3.938 kB / 440.8 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.2276, allocations: 20.19 kB / 440.8 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/0.2277, allocations: 35.91 kB / 440.8 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.2277, allocations: 3.031 kB / 440.8 MB, free: 33.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.38e-05/0.2277, allocations: 107.3 kB / 440.9 MB, free: 33.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2277, allocations: 0 / 440.9 MB, free: 33.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.228, allocations: 35.03 kB / 441 MB, free: 33.53 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 (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.0007406/0.2287, allocations: 0.8956 MB / 441.9 MB, free: 32.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004372/0.2292, allocations: 162.7 kB / 442 MB, free: 32.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2292, allocations: 0 / 442 MB, free: 32.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.2294, allocations: 84.12 kB / 442.1 MB, free: 32.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.2297, allocations: 29.38 kB / 442.1 MB, free: 32.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.2317, allocations: 1.964 MB / 444.1 MB, free: 31.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.2318, allocations: 0.7234 MB / 444.8 MB, free: 30.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.2319, allocations: 21.22 kB / 444.8 MB, free: 30.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.271e-05/0.232, allocations: 52.89 kB / 444.9 MB, free: 30.47 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.232, allocations: 0 / 444.9 MB, free: 30.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4601/0.6921, allocations: 3.444 MB / 448.3 MB, free: 30.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.204/8.897, allocations: 21.09 kB / 448.4 MB, free: 30 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/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)