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.005254/0.005254, allocations: 97.36 kB / 15.73 MB, free: 5.988 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.001238/0.001238, allocations: 188 kB / 16.67 MB, free: 5.918 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2083/0.2083, allocations: 22.36 MB / 312.9 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 65.39 kB / 434.5 MB, free: 35.31 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08442/0.08555, allocations: 54.96 MB / 489.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.002288/0.08787, allocations: 1.749 MB / 491.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003322/0.08822, allocations: 151.5 kB / 491.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.584e-05/0.08832, allocations: 0 / 491.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.08845, allocations: 23.73 kB / 491.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.08859, allocations: 19.84 kB / 491.4 MB, free: 1.887 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.000107/0.08871, allocations: 55.88 kB / 491.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.08886, allocations: 143.7 kB / 491.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.08902, allocations: 79.86 kB / 491.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.11e-05/0.08908, allocations: 55.78 kB / 491.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.909e-05/0.08918, allocations: 75.59 kB / 491.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.0892, allocations: 12 kB / 491.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.08923, allocations: 16 kB / 491.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.215e-05/0.08926, allocations: 35.84 kB / 491.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.908e-05/0.08932, allocations: 67.59 kB / 491.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.08947, allocations: 135.3 kB / 492 MB, free: 1.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.08948, allocations: 0 / 492 MB, free: 1.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.08949, allocations: 0 / 492 MB, free: 1.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.0895, allocations: 4 kB / 492 MB, free: 1.215 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.0005036/0.09, allocations: 438.9 kB / 492.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.09005, allocations: 8.031 kB / 492.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.09008, allocations: 50.73 kB / 492.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.09012, allocations: 16.84 kB / 492.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.09029, allocations: 208.1 kB / 492.7 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.09032, allocations: 20.31 kB / 492.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.007e-05/0.09036, allocations: 20.38 kB / 492.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.09067, allocations: 157.6 kB / 492.9 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.09069, allocations: 3.938 kB / 492.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.09071, allocations: 8 kB / 492.9 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.09072, allocations: 7.984 kB / 493 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.09104, allocations: 119.9 kB / 493.1 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007905/0.09183, allocations: 0.4886 MB / 493.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.09211, allocations: 114.5 kB / 493.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.09231, allocations: 76.81 kB / 493.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.09235, allocations: 0 / 493.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.09239, allocations: 42.5 kB / 493.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.022e-06/0.09239, allocations: 0 / 493.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006543/0.09305, allocations: 227.7 kB / 494 MB, free: 15.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.09309, allocations: 55.39 kB / 494.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.5e-05/0.0932, allocations: 125.8 kB / 494.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.09323, allocations: 37.64 kB / 494.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.0933, allocations: 112.5 kB / 494.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.09336, allocations: 75.36 kB / 494.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.731e-05/0.09344, allocations: 45.7 kB / 494.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.09357, allocations: 330.8 kB / 494.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.09376, allocations: 55.97 kB / 494.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.09397, allocations: 78.98 kB / 494.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.09432, allocations: 138.8 kB / 495 MB, free: 13.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.09433, allocations: 0 / 495 MB, free: 13.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004587/0.0948, allocations: 209.3 kB / 495.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.09482, allocations: 7.984 kB / 495.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.09483, allocations: 0 / 495.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.09484, allocations: 0 / 495.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.09524, allocations: 59.94 kB / 495.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.09526, allocations: 4 kB / 495.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.09542, allocations: 27.86 kB / 495.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.09544, allocations: 4 kB / 495.3 MB, free: 13.66 MB / 366.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 9.831e-05/0.09555, allocations: 138.5 kB / 495.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.09559, allocations: 15.84 kB / 495.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004948/0.09609, allocations: 207.7 kB / 495.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.0961, allocations: 0 / 495.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.09612, allocations: 7.984 kB / 495.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.09612, allocations: 3.984 kB / 495.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.09639, allocations: 249.5 kB / 496 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.0964, allocations: 0 / 496 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.09668, allocations: 51.91 kB / 496 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.0967, allocations: 11.88 kB / 496 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.853e-05/0.09673, allocations: 8 kB / 496 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.09673, allocations: 0 / 496 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.09674, allocations: 0 / 496 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006449/0.09739, allocations: 352.6 kB / 496.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.09745, allocations: 93 kB / 496.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.09748, allocations: 7.938 kB / 496.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.09766, allocations: 23.97 kB / 496.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/0.09775, allocations: 31.95 kB / 496.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.09777, allocations: 4 kB / 496.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.647e-05/0.09784, allocations: 100.7 kB / 496.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09785, allocations: 3.938 kB / 496.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.0981, allocations: 35.89 kB / 496.7 MB, free: 12.24 MB / 366.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.0009282/0.09903, allocations: 0.8977 MB / 497.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004974/0.09955, allocations: 155.9 kB / 497.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.09956, allocations: 0 / 497.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.09977, allocations: 90.89 kB / 497.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.1, allocations: 15.94 kB / 497.8 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.1026, allocations: 1.978 MB / 499.8 MB, free: 9.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.1029, allocations: 0.7202 MB / 0.4888 GB, free: 8.258 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.865e-05/0.103, allocations: 25.42 kB / 0.4888 GB, free: 8.234 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.184e-05/0.1031, allocations: 47.42 kB / 0.4889 GB, free: 8.188 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1031, allocations: 0 / 0.4889 GB, free: 8.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.1237, allocations: 3.508 MB / 0.4923 GB, free: 4.746 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.44/7.563, allocations: 24.28 kB / 0.4923 GB, free: 4.727 MB / 366.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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_analogue_PI_awfb_full_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 AES_AES_Devel_test_models_Test_analogue_PI_awfb_full.fmu > AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe 2>&1)