Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_digital_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_digital_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_digital_PI_awfb_full",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_digital_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_digital_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.005793/0.005793, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.001227/0.001227, allocations: 195.9 kB / 16.68 MB, free: 5.977 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1939/0.1939, allocations: 22.36 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 64.59 kB / 434.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07505/0.0769, allocations: 54.97 MB / 489.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002108/0.07904, allocations: 1.747 MB / 491.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003836/0.07944, allocations: 227.6 kB / 491.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.092e-05/0.07953, allocations: 0 / 491.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.563e-05/0.07964, allocations: 23.73 kB / 491.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.07976, allocations: 23.8 kB / 491.5 MB, free: 1.793 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:73:5-73:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:79:5-79:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.07989, allocations: 71.84 kB / 491.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.08009, allocations: 179.7 kB / 491.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.08022, allocations: 79.86 kB / 491.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.567e-05/0.08028, allocations: 67.7 kB / 491.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.548e-05/0.08037, allocations: 71.67 kB / 491.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.08041, allocations: 16 kB / 491.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.182e-05/0.08044, allocations: 19.94 kB / 492 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.583e-05/0.08047, allocations: 19.92 kB / 492 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.013e-05/0.08053, allocations: 83.58 kB / 492.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.08067, allocations: 139.3 kB / 492.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.08068, allocations: 0 / 492.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.08069, allocations: 0 / 492.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.0807, allocations: 0 / 492.2 MB, free: 1.055 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.0004256/0.08113, allocations: 494.3 kB / 492.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.08117, allocations: 8.031 kB / 492.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.029e-05/0.0812, allocations: 50.73 kB / 492.7 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.08125, allocations: 28.8 kB / 492.8 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.08142, allocations: 218.3 kB / 493 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.08145, allocations: 16.31 kB / 493 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.08148, allocations: 16.38 kB / 493 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.08184, allocations: 162.6 kB / 493.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.08186, allocations: 7.875 kB / 493.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.08188, allocations: 4 kB / 493.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.08189, allocations: 4 kB / 493.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003508/0.08225, allocations: 103.9 kB / 493.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007746/0.08303, allocations: 480.2 kB / 493.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.08335, allocations: 162.5 kB / 493.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.08361, allocations: 144.8 kB / 494.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.08364, allocations: 3.938 kB / 494.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003125/0.08396, allocations: 158.9 kB / 494.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/0.08397, allocations: 0 / 494.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0008623/0.08484, allocations: 351.3 kB / 494.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.08493, allocations: 118.8 kB / 494.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.08505, allocations: 134.1 kB / 494.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.08508, allocations: 33.7 kB / 494.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.398e-05/0.08518, allocations: 120.5 kB / 495 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.485e-05/0.08524, allocations: 55.58 kB / 495 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.763e-05/0.08532, allocations: 53.69 kB / 495.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.08547, allocations: 326.8 kB / 495.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.08566, allocations: 48.08 kB / 495.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.0859, allocations: 128.4 kB / 495.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/0.08636, allocations: 271 kB / 495.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.08637, allocations: 0 / 495.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005969/0.08697, allocations: 316.7 kB / 496.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.085e-05/0.08704, allocations: 75.33 kB / 496.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.08706, allocations: 3.984 kB / 496.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.08707, allocations: 4 kB / 496.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.08725, allocations: 32.17 kB / 496.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.08726, allocations: 3.984 kB / 496.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.08744, allocations: 31.88 kB / 496.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.08746, allocations: 8 kB / 496.3 MB, free: 12.6 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition1,C.u,$PRE.C.u,C.ulino,$PRE.C.ulino,C.ulin,$PRE.C.ulin,C.xfb,$PRE.C.xfb,C.fBias,$PRE.C.fBias,C.iBiaso,$PRE.C.iBiaso,C.xBias,$PRE.C.xBias,C.LOsat,$PRE.C.LOsat,C.HIsat,$PRE.C.HIsat,ts.y,C.noInc,C.noDec) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.0001598/0.08763, allocations: 179.3 kB / 496.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.08767, allocations: 23.84 kB / 496.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007161/0.08839, allocations: 341.3 kB / 496.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.0884, allocations: 0 / 496.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.08841, allocations: 0 / 496.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.08842, allocations: 0 / 496.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.08867, allocations: 257.4 kB / 497.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.08867, allocations: 0 / 497.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.08882, allocations: 23.92 kB / 497.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.08884, allocations: 7.938 kB / 497.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.08887, allocations: 8 kB / 497.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.08888, allocations: 3.984 kB / 497.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.08888, allocations: 0 / 497.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009382/0.08982, allocations: 452.5 kB / 497.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.08989, allocations: 92.98 kB / 497.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.08993, allocations: 8 kB / 497.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.09011, allocations: 19.97 kB / 497.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.319e-05/0.0902, allocations: 27.97 kB / 497.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.09022, allocations: 4 kB / 497.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.914e-05/0.09029, allocations: 101.5 kB / 497.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.0903, allocations: 4.062 kB / 497.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.09056, allocations: 47.89 kB / 497.8 MB, free: 10.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P.y) * Number of discrete variables: 13 ($whenCondition1,C.noInc,C.noDec,C.HIsat,C.LOsat,C.xBias,C.iBiaso,C.fBias,C.xfb,C.ulin,C.ulino,C.u,ts.y) * Number of discrete states: 10 (C.LOsat,C.HIsat,C.u,C.ulino,C.ulin,C.xfb,C.iBiaso,C.fBias,C.xBias,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.001246/0.09181, allocations: 0.9986 MB / 498.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006276/0.09245, allocations: 366.5 kB / 499.2 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.09246, allocations: 0.5625 kB / 499.2 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.09285, allocations: 291.3 kB / 499.5 MB, free: 9.203 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.09306, allocations: 16 kB / 499.5 MB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.09593, allocations: 2.108 MB / 0.4899 GB, free: 6.934 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.09627, allocations: 0.7197 MB / 0.4906 GB, free: 6.188 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.618e-05/0.09635, allocations: 12.64 kB / 0.4906 GB, free: 6.176 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.423e-05/0.09643, allocations: 43.42 kB / 0.4906 GB, free: 6.133 MB / 366.1 MB Notification: Performance of SimCode: time 2.175e-06/0.09644, allocations: 0 / 0.4906 GB, free: 6.133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3157/0.4122, allocations: 3.363 MB / 0.4939 GB, free: 2.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.26/8.672, allocations: 11.72 kB / 0.4939 GB, free: 2.832 MB / 366.1 MB (rm -f AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_digital_PI_awfb_full.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_digital_PI_awfb_full_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_digital_PI_awfb_full.fmu > AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe 2>&1)