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: translateModel(AES.Devel_test_models.Test_digital_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_digital_PI_awfb_full") translateModel(AES.Devel_test_models.Test_digital_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_digital_PI_awfb_full") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000823/0.0008228, allocations: 98.03 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.006727/0.006727, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.481/1.481, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2297/0.2297, allocations: 22.35 MB / 313.8 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005545/0.0005546, allocations: 8 kB / 380.5 MB, free: 12.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3638, allocations: 55.97 MB / 436.5 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.001796/0.3656, allocations: 1.448 MB / 437.9 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005445/0.3662, allocations: 256 kB / 438.2 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.564e-05/0.3663, allocations: 7 kB / 438.2 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.93e-05/0.3664, allocations: 10.97 kB / 438.2 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.3665, allocations: 22.08 kB / 438.2 MB, free: 37.16 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.0001293/0.3667, allocations: 50.03 kB / 438.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.3668, allocations: 153.4 kB / 438.4 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.367, allocations: 73.39 kB / 438.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.081e-05/0.3671, allocations: 45.03 kB / 438.6 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.582e-05/0.3672, allocations: 66.89 kB / 438.6 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.3672, allocations: 6.062 kB / 438.6 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.746e-05/0.3672, allocations: 10.03 kB / 438.6 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.796e-05/0.3673, allocations: 17.27 kB / 438.6 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.785e-05/0.3673, allocations: 87.66 kB / 438.7 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.3675, allocations: 129.2 kB / 438.9 MB, free: 36.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3675, allocations: 0 / 438.9 MB, free: 36.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3675, allocations: 0 / 438.9 MB, free: 36.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.3675, allocations: 0 / 438.9 MB, free: 36.85 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.0004398/0.368, allocations: 469.4 kB / 439.3 MB, free: 36.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.368, allocations: 16.12 kB / 439.3 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.3681, allocations: 19.78 kB / 439.4 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.3683, allocations: 211 kB / 439.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.3683, allocations: 12.5 kB / 439.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.3683, allocations: 17.75 kB / 439.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.3687, allocations: 154.7 kB / 439.7 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3687, allocations: 192 / 439.7 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.3687, allocations: 14.84 kB / 439.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3687, allocations: 2.75 kB / 439.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.3691, allocations: 104.2 kB / 439.9 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000684/0.3698, allocations: 477.6 kB / 440.3 MB, free: 35.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.37, allocations: 162.8 kB / 440.5 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.3702, allocations: 139.5 kB / 440.6 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.3703, allocations: 3.938 kB / 440.6 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002976/0.3706, allocations: 158.6 kB / 440.8 MB, free: 35.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.3706, allocations: 0 / 440.8 MB, free: 35.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007719/0.3714, allocations: 367.6 kB / 441.1 MB, free: 35.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.3714, allocations: 120.2 kB / 441.3 MB, free: 35.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.3715, allocations: 142.6 kB / 441.4 MB, free: 34.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.3716, allocations: 35.42 kB / 441.4 MB, free: 34.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.3716, allocations: 109.5 kB / 441.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.3717, allocations: 62.73 kB / 441.6 MB, free: 34.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.3717, allocations: 32.45 kB / 441.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.546e-05/0.3718, allocations: 324.4 kB / 441.9 MB, free: 34.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.3719, allocations: 54.66 kB / 442 MB, free: 34.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.3721, allocations: 123.2 kB / 442.1 MB, free: 34.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.3725, allocations: 270.7 kB / 442.4 MB, free: 34.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3725, allocations: 0 / 442.4 MB, free: 34.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004862/0.373, allocations: 312 kB / 442.7 MB, free: 33.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/0.3731, allocations: 73.77 kB / 442.8 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3731, allocations: 6.812 kB / 442.8 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3731, allocations: 2.625 kB / 442.8 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.3733, allocations: 32.23 kB / 442.8 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3733, allocations: 2.594 kB / 442.8 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.3734, allocations: 34.98 kB / 442.8 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.3735, allocations: 15.95 kB / 442.9 MB, free: 33.81 MB / 350.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.0001199/0.3736, allocations: 183.4 kB / 443 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.3736, allocations: 16.19 kB / 443 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006162/0.3743, allocations: 345.1 kB / 443.4 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.3743, allocations: 2.844 kB / 443.4 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3743, allocations: 0 / 443.4 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3743, allocations: 0 / 443.4 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.3745, allocations: 243 kB / 443.6 MB, free: 33.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3745, allocations: 0 / 443.6 MB, free: 33.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.3746, allocations: 24.84 kB / 443.7 MB, free: 33.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3746, allocations: 0 / 443.7 MB, free: 33.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.3747, allocations: 13.09 kB / 443.7 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3747, allocations: 0 / 443.7 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3747, allocations: 0 / 443.7 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007974/0.3755, allocations: 455.5 kB / 444.1 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.3755, allocations: 95.23 kB / 444.2 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.3756, allocations: 15.11 kB / 444.2 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.3757, allocations: 24.53 kB / 444.2 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.3758, allocations: 19.91 kB / 444.3 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.3758, allocations: 9.359 kB / 444.3 MB, free: 32.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.072e-05/0.3759, allocations: 102.2 kB / 444.4 MB, free: 32.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3759, allocations: 0 / 444.4 MB, free: 32.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000256/0.3761, allocations: 47.34 kB / 444.4 MB, free: 32.78 MB / 350.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.0001095/0.3763, allocations: 107.8 kB / 444.5 MB, free: 32.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004968/0.3768, allocations: 366.4 kB / 444.9 MB, free: 32.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3768, allocations: 4.062 kB / 444.9 MB, free: 32.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.3771, allocations: 291.2 kB / 445.2 MB, free: 32.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.3773, allocations: 22.12 kB / 445.2 MB, free: 32.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006596/0.378, allocations: 406.3 kB / 445.6 MB, free: 31.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.3781, allocations: 0.7197 MB / 446.3 MB, free: 31.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.438e-05/0.3782, allocations: 16.22 kB / 446.3 MB, free: 31.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.3783, allocations: 18.12 kB / 446.3 MB, free: 31.26 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3783, allocations: 0 / 446.3 MB, free: 31.26 MB / 350.1 MB Notification: Performance of Templates: time 0.003971/0.3822, allocations: 1.516 MB / 447.9 MB, free: 31.11 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_digital_PI_awfb_full.makefile (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 & ./AES_AES.Devel_test_models.Test_digital_PI_awfb_full -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe 2>&1)