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.0009461/0.0009461, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.005322/0.005322, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.256/1.256, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1702/0.1702, allocations: 22.34 MB / 313.8 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002603/0.0002603, allocations: 8 kB / 380.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2115, allocations: 55.99 MB / 436.6 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.001316/0.2129, allocations: 1.429 MB / 438 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002754/0.2132, allocations: 157 kB / 438.2 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.402e-05/0.2132, allocations: 3.938 kB / 438.2 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.979e-05/0.2133, allocations: 11.34 kB / 438.2 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.2135, allocations: 18.81 kB / 438.2 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 9.777e-05/0.2136, allocations: 43.08 kB / 438.3 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.2137, allocations: 139 kB / 438.4 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.2138, allocations: 72.11 kB / 438.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/0.2139, allocations: 37.66 kB / 438.5 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.031e-05/0.214, allocations: 58.89 kB / 438.6 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.214, allocations: 6.531 kB / 438.6 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.438e-05/0.214, allocations: 7.656 kB / 438.6 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.214, allocations: 24.23 kB / 438.6 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.2141, allocations: 80.66 kB / 438.7 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.453e-05/0.2142, allocations: 118.3 kB / 438.8 MB, free: 36.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2142, allocations: 0 / 438.8 MB, free: 36.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2142, allocations: 4 kB / 438.8 MB, free: 36.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.2142, allocations: 0 / 438.8 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.0004014/0.2146, allocations: 412.9 kB / 439.2 MB, free: 36.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.2146, allocations: 12.81 kB / 439.2 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.2147, allocations: 49.17 kB / 439.3 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.2147, allocations: 18.16 kB / 439.3 MB, free: 36.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.2149, allocations: 216.9 kB / 439.5 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.2149, allocations: 10.03 kB / 439.5 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.2149, allocations: 24.25 kB / 439.5 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.2152, allocations: 156.4 kB / 439.7 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.2152, allocations: 3.938 kB / 439.7 MB, free: 36.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.2153, allocations: 6.812 kB / 439.7 MB, free: 36.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2153, allocations: 7.094 kB / 439.7 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/0.2156, allocations: 128.6 kB / 439.8 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006229/0.2162, allocations: 0.4883 MB / 440.3 MB, free: 35.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.2164, allocations: 123.6 kB / 440.4 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.2166, allocations: 76.05 kB / 440.5 MB, free: 35.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.2166, allocations: 3.062 kB / 440.5 MB, free: 35.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.085e-05/0.2167, allocations: 37.59 kB / 440.6 MB, free: 35.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.873e-06/0.2167, allocations: 0 / 440.6 MB, free: 35.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005532/0.2172, allocations: 222.1 kB / 440.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.58e-05/0.2172, allocations: 55.41 kB / 440.8 MB, free: 35.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.332e-05/0.2173, allocations: 137.5 kB / 441 MB, free: 35.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.2173, allocations: 32.95 kB / 441 MB, free: 35.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.2174, allocations: 107.5 kB / 441.1 MB, free: 35.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.2174, allocations: 70.11 kB / 441.2 MB, free: 35.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.2174, allocations: 33.89 kB / 441.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.687e-05/0.2175, allocations: 324.6 kB / 441.5 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.2176, allocations: 61.78 kB / 441.6 MB, free: 34.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.2178, allocations: 79.8 kB / 441.7 MB, free: 34.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.2181, allocations: 139.1 kB / 441.8 MB, free: 34.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2181, allocations: 0 / 441.8 MB, free: 34.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003739/0.2185, allocations: 205.5 kB / 442 MB, free: 34.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.2185, allocations: 6.188 kB / 442 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2186, allocations: 0 / 442 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.2186, allocations: 0 / 442 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003676/0.2189, allocations: 56.38 kB / 442 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.219, allocations: 6.875 kB / 442.1 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.2191, allocations: 37.58 kB / 442.1 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.2191, allocations: 5.562 kB / 442.1 MB, free: 34.5 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.803e-05/0.2192, allocations: 131.8 kB / 442.2 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.2192, allocations: 13.31 kB / 442.2 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004281/0.2197, allocations: 218.5 kB / 442.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2197, allocations: 2.812 kB / 442.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2197, allocations: 0 / 442.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2197, allocations: 4 kB / 442.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.2199, allocations: 253.1 kB / 442.7 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2199, allocations: 0 / 442.7 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.2201, allocations: 45.73 kB / 442.8 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2201, allocations: 6.375 kB / 442.8 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.2202, allocations: 7.469 kB / 442.8 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2202, allocations: 6.625 kB / 442.8 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2202, allocations: 0 / 442.8 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005378/0.2207, allocations: 356.2 kB / 443.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.2208, allocations: 90.02 kB / 443.2 MB, free: 33.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.2208, allocations: 7.938 kB / 443.2 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.221, allocations: 21.22 kB / 443.2 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.533e-05/0.221, allocations: 31.23 kB / 443.3 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.221, allocations: 6.875 kB / 443.3 MB, free: 33.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.122e-05/0.2211, allocations: 98.45 kB / 443.4 MB, free: 33.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2211, allocations: 0 / 443.4 MB, free: 33.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000232/0.2213, allocations: 34.16 kB / 443.4 MB, free: 33.58 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.0006725/0.222, allocations: 0.9006 MB / 444.3 MB, free: 32.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003641/0.2224, allocations: 159.4 kB / 444.5 MB, free: 32.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2224, allocations: 0 / 444.5 MB, free: 32.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.2226, allocations: 80.03 kB / 444.5 MB, free: 32.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.2228, allocations: 17.88 kB / 444.6 MB, free: 32.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.2247, allocations: 2.042 MB / 446.6 MB, free: 31.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.2248, allocations: 0.7237 MB / 447.3 MB, free: 30.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.2249, allocations: 21.34 kB / 447.3 MB, free: 30.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.549e-05/0.225, allocations: 50.83 kB / 447.4 MB, free: 30.47 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.225, allocations: 0 / 447.4 MB, free: 30.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.621/1.846, allocations: 2.975 MB / 450.4 MB, free: 30.24 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/1.846, allocations: 189.2 kB / 450.5 MB, free: 29.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/3.826, allocations: 0 / 450.5 MB, free: 29.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/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)