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.007327/0.007327, allocations: 97.78 kB / 15.73 MB, free: 5.996 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.001883/0.001883, allocations: 186.3 kB / 16.67 MB, free: 5.926 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1957/0.1957, allocations: 22.37 MB / 312.9 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 62.66 kB / 434.5 MB, free: 35.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07515/0.07706, allocations: 54.96 MB / 489.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.002144/0.07923, allocations: 1.745 MB / 491.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003072/0.07956, allocations: 151.5 kB / 491.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.077e-05/0.07965, allocations: 3.938 kB / 491.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.07976, allocations: 19.73 kB / 491.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.07989, allocations: 15.88 kB / 491.4 MB, free: 1.996 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.0001076/0.08, allocations: 63.84 kB / 491.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.08015, allocations: 135.7 kB / 491.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.08029, allocations: 79.86 kB / 491.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.241e-05/0.08035, allocations: 59.77 kB / 491.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.638e-05/0.08044, allocations: 71.62 kB / 491.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.08047, allocations: 12 kB / 491.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.192e-05/0.0805, allocations: 12 kB / 491.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.039e-05/0.08053, allocations: 39.83 kB / 491.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.529e-05/0.08058, allocations: 63.59 kB / 491.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.08072, allocations: 135.3 kB / 492 MB, free: 1.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.08073, allocations: 0 / 492 MB, free: 1.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.08073, allocations: 0 / 492 MB, free: 1.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.08074, allocations: 0 / 492 MB, free: 1.332 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.0005015/0.08125, allocations: 449.1 kB / 492.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.08129, allocations: 11.97 kB / 492.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.352e-05/0.08133, allocations: 50.73 kB / 492.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.08137, allocations: 16.84 kB / 492.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.08154, allocations: 216.1 kB / 492.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.08157, allocations: 12.38 kB / 492.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.08161, allocations: 20.38 kB / 492.8 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.08193, allocations: 161.6 kB / 492.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.08196, allocations: 7.938 kB / 492.9 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.08198, allocations: 4 kB / 492.9 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.08199, allocations: 4 kB / 493 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.08235, allocations: 123.9 kB / 493.1 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008309/0.08319, allocations: 488.3 kB / 493.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.08351, allocations: 118.5 kB / 493.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.08374, allocations: 80.75 kB / 493.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.08378, allocations: 7.984 kB / 493.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.08381, allocations: 34.5 kB / 493.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.08382, allocations: 0 / 493.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007296/0.08455, allocations: 229.8 kB / 494 MB, free: 15.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.0846, allocations: 55.41 kB / 494.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.08473, allocations: 129.8 kB / 494.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.08476, allocations: 33.64 kB / 494.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.475e-05/0.08484, allocations: 116.5 kB / 494.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.0849, allocations: 59.44 kB / 494.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.157e-05/0.085, allocations: 57.69 kB / 494.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.08515, allocations: 326.8 kB / 494.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.08537, allocations: 55.91 kB / 494.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.0856, allocations: 81.67 kB / 494.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.08602, allocations: 139.6 kB / 495 MB, free: 14.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.08603, allocations: 0 / 495 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000534/0.08657, allocations: 205.3 kB / 495.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.0866, allocations: 4 kB / 495.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.08662, allocations: 8.031 kB / 495.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.08664, allocations: 0 / 495.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/0.08709, allocations: 59.91 kB / 495.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.08711, allocations: 3.984 kB / 495.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.08729, allocations: 27.88 kB / 495.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.08732, allocations: 4 kB / 495.3 MB, free: 13.76 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 0.0001244/0.08745, allocations: 134.6 kB / 495.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.08749, allocations: 15.84 kB / 495.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005757/0.08808, allocations: 207 kB / 495.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.08809, allocations: 4 kB / 495.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.0881, allocations: 0 / 495.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.08811, allocations: 3.938 kB / 495.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.08843, allocations: 257.4 kB / 496 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.08844, allocations: 0 / 496 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.08875, allocations: 51.91 kB / 496 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.08876, allocations: 3.938 kB / 496 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.08879, allocations: 4 kB / 496 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.0888, allocations: 4 kB / 496 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.0888, allocations: 0 / 496 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007676/0.08958, allocations: 360.6 kB / 496.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.08964, allocations: 89 kB / 496.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.08968, allocations: 11.98 kB / 496.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.08989, allocations: 19.92 kB / 496.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/0.08999, allocations: 31.95 kB / 496.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.09001, allocations: 8 kB / 496.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.991e-05/0.09008, allocations: 96.95 kB / 496.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09009, allocations: 4 kB / 496.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.09037, allocations: 35.89 kB / 496.7 MB, free: 12.34 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.001071/0.09145, allocations: 0.8979 MB / 497.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004889/0.09195, allocations: 151.9 kB / 497.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.09196, allocations: 3.938 kB / 497.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002344/0.0922, allocations: 83.89 kB / 497.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.09252, allocations: 26.66 kB / 497.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.09539, allocations: 1.981 MB / 499.8 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.09575, allocations: 0.7163 MB / 0.4888 GB, free: 8.363 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.09586, allocations: 21.42 kB / 0.4888 GB, free: 8.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.09598, allocations: 55.41 kB / 0.4889 GB, free: 8.289 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.09598, allocations: 0 / 0.4889 GB, free: 8.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.1224, allocations: 3.521 MB / 0.4923 GB, free: 4.836 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.303/8.426, allocations: 15.88 kB / 0.4923 GB, free: 4.824 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 & /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)