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.0009739/0.0009738, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009105/0.0009106, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2359/0.2359, allocations: 22.34 MB / 313.3 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.00049, allocations: 12 kB / 379.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3696, allocations: 55.98 MB / 435.8 MB, free: 38.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.001854/0.3715, allocations: 1.422 MB / 437.2 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004069/0.3719, allocations: 226.8 kB / 437.4 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.851e-05/0.372, allocations: 2.625 kB / 437.4 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.3721, allocations: 7.875 kB / 437.4 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.3723, allocations: 23.78 kB / 437.5 MB, free: 37.2 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.0001345/0.3724, allocations: 48.09 kB / 437.5 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.3726, allocations: 92.56 kB / 437.6 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.3728, allocations: 56.66 kB / 437.7 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.272e-05/0.3728, allocations: 41.03 kB / 437.7 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.373, allocations: 69.8 kB / 437.8 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.373, allocations: 3.812 kB / 437.8 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.003e-05/0.373, allocations: 5.938 kB / 437.8 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.373, allocations: 12.55 kB / 437.8 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/0.3731, allocations: 51.89 kB / 437.8 MB, free: 37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.3732, allocations: 95.2 kB / 437.9 MB, free: 36.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3733, allocations: 0 / 437.9 MB, free: 36.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3733, allocations: 0 / 437.9 MB, free: 36.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.3733, allocations: 0 / 437.9 MB, free: 36.98 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.0005724/0.3739, allocations: 479 kB / 438.4 MB, free: 36.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.3739, allocations: 10.97 kB / 438.4 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.374, allocations: 16.69 kB / 438.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.3742, allocations: 213.9 kB / 438.6 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.3742, allocations: 12.09 kB / 438.7 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.3743, allocations: 17.09 kB / 438.7 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.3747, allocations: 152.8 kB / 438.8 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3747, allocations: 7.953 kB / 438.8 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.3747, allocations: 4 kB / 438.8 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.3747, allocations: 8.922 kB / 438.8 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.375, allocations: 97.53 kB / 438.9 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007266/0.3758, allocations: 479.6 kB / 439.4 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.376, allocations: 162.5 kB / 439.6 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.3761, allocations: 2.594 kB / 439.6 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003215/0.3764, allocations: 161.9 kB / 439.7 MB, free: 35.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.3764, allocations: 0 / 439.7 MB, free: 35.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007825/0.3772, allocations: 434.7 kB / 440.1 MB, free: 35.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.3773, allocations: 125.9 kB / 440.3 MB, free: 35.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.729e-05/0.3773, allocations: 134.7 kB / 440.4 MB, free: 35.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3774, allocations: 35.83 kB / 440.4 MB, free: 35.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.3774, allocations: 119.9 kB / 440.6 MB, free: 34.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.3775, allocations: 58.98 kB / 440.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/0.3775, allocations: 4 kB / 440.6 MB, free: 34.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.781e-05/0.3776, allocations: 331.9 kB / 440.9 MB, free: 34.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.3777, allocations: 45.89 kB / 441 MB, free: 34.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.3779, allocations: 120.9 kB / 441.1 MB, free: 34.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.3781, allocations: 125.3 kB / 441.2 MB, free: 34.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3781, allocations: 4 kB / 441.2 MB, free: 34.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004354/0.3785, allocations: 317.9 kB / 441.5 MB, free: 34.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.5e-05/0.3786, allocations: 69.86 kB / 441.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3786, allocations: 0 / 441.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3786, allocations: 9.875 kB / 441.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.3787, allocations: 31.64 kB / 441.6 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.3788, allocations: 6.688 kB / 441.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.3789, allocations: 31.75 kB / 441.7 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.3789, allocations: 12.41 kB / 441.7 MB, free: 34.1 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,$PRE.C.HIsat,C.HIsat,$PRE.C.LOsat,C.LOsat,$PRE.C.xBias,C.xBias,$PRE.C.iBiaso,C.iBiaso,$PRE.C.fBias,C.fBias,$PRE.C.xfb,C.xfb,$PRE.C.ulin,C.ulin,$PRE.C.ulino,C.ulino,$PRE.C.u,C.u,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.3791, allocations: 172.1 kB / 441.9 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.3791, allocations: 16.44 kB / 441.9 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005672/0.3797, allocations: 351.9 kB / 442.2 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3797, allocations: 2.438 kB / 442.2 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.3797, allocations: 0 / 442.2 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3797, allocations: 0 / 442.2 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.3799, allocations: 250.8 kB / 442.5 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3799, allocations: 4 kB / 442.5 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.38, allocations: 20.12 kB / 442.5 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.38, allocations: 2.531 kB / 442.5 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.3801, allocations: 7 kB / 442.5 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3801, allocations: 0 / 442.5 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3801, allocations: 2.906 kB / 442.5 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007414/0.3808, allocations: 447.6 kB / 442.9 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.3809, allocations: 94.64 kB / 443 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.3809, allocations: 10.86 kB / 443 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.3811, allocations: 24.48 kB / 443.1 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.3812, allocations: 31.41 kB / 443.1 MB, free: 33.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.3812, allocations: 13.17 kB / 443.1 MB, free: 33.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.537e-05/0.3812, allocations: 94.38 kB / 443.2 MB, free: 33.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3812, allocations: 0 / 443.2 MB, free: 33.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00024/0.3815, allocations: 43.03 kB / 443.2 MB, free: 33.07 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001242/0.3816, allocations: 110.1 kB / 443.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004799/0.3821, allocations: 369.3 kB / 443.7 MB, free: 32.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3821, allocations: 0 / 443.7 MB, free: 32.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.3824, allocations: 290.4 kB / 444 MB, free: 32.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.3826, allocations: 17.73 kB / 444 MB, free: 32.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006391/0.3832, allocations: 397.2 kB / 444.4 MB, free: 32.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.3834, allocations: 0.7232 MB / 445.1 MB, free: 31.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.826e-05/0.3835, allocations: 15.22 kB / 445.1 MB, free: 31.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.3835, allocations: 13.66 kB / 445.2 MB, free: 31.56 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3835, allocations: 0 / 445.2 MB, free: 31.56 MB / 350.1 MB Notification: Performance of Templates: time 0.004002/0.3875, allocations: 1.474 MB / 446.6 MB, free: 31.41 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_digital_PI_awfb_full.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: