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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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/AES main/package.mo): time 0.07397/0.07397, allocations: 17.69 MB / 33.63 MB, free: 1.621 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 173 kB / 38.91 MB, free: 8.25 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.4 MB / 249.5 MB, free: 2.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008017/0.0008017, allocations: 90.3 kB / 302.2 MB, free: 4.434 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005469/0.0005473, allocations: 15.94 kB / 364.9 MB, free: 5.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3252, allocations: 51.98 MB / 416.9 MB, free: 24.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.449, allocations: 77.94 MB / 494.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.4493, allocations: 71.95 kB / 494.9 MB, free: 10.54 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:51:3-51:23:writable] Warning: Connecting two signal sources while connecting iBias to Bias. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:52:3-52:19:writable] Warning: Connecting two signal sources while connecting iTS to TS. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:53:3-53:19:writable] Warning: Connecting two signal sources while connecting iTR to TR. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:54:3-54:25:writable] Warning: Connecting two signal sources while connecting iNoInc to noInc. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:55:3-55:25:writable] Warning: Connecting two signal sources while connecting iNoDec to noDec. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:56:3-56:27:writable] Warning: Connecting two signal sources while connecting iOvrMax to ovrMax. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:57:3-57:27:writable] Warning: Connecting two signal sources while connecting iOvrMin to ovrMin. Notification: Performance of FrontEnd - DAE generated: time 0.006311/0.4556, allocations: 2.184 MB / 497.1 MB, free: 8.344 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4556, allocations: 0 / 497.1 MB, free: 8.344 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.4557, allocations: 4 kB / 497.1 MB, free: 8.34 MB / 362.7 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.0005498/0.4562, allocations: 474.4 kB / 497.5 MB, free: 7.812 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4563, allocations: 8.219 kB / 497.5 MB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.4563, allocations: 24.75 kB / 497.6 MB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.4566, allocations: 216 kB / 497.8 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.4566, allocations: 12.38 kB / 497.8 MB, free: 7.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/0.4567, allocations: 16.38 kB / 497.8 MB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.457, allocations: 154.2 kB / 498 MB, free: 7.348 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.4571, allocations: 192 / 498 MB, free: 7.348 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.4571, allocations: 11.88 kB / 498 MB, free: 7.336 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4571, allocations: 4 kB / 498 MB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002989/0.4574, allocations: 103.9 kB / 498.1 MB, free: 7.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009129/0.4583, allocations: 488.1 kB / 498.5 MB, free: 6.703 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.4586, allocations: 162.5 kB / 498.7 MB, free: 6.535 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.4588, allocations: 140.8 kB / 498.8 MB, free: 6.395 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.4589, allocations: 0 / 498.8 MB, free: 6.395 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003494/0.4592, allocations: 153 kB / 499 MB, free: 6.227 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.4593, allocations: 4 kB / 499 MB, free: 6.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008262/0.4601, allocations: 359.9 kB / 499.3 MB, free: 5.859 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.4602, allocations: 114.8 kB / 499.5 MB, free: 5.723 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.4603, allocations: 138.1 kB / 499.6 MB, free: 5.574 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.4603, allocations: 33.7 kB / 499.6 MB, free: 5.535 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/0.4604, allocations: 120.3 kB / 499.7 MB, free: 5.414 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/0.4605, allocations: 51.34 kB / 499.8 MB, free: 5.363 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/0.4605, allocations: 8 kB / 499.8 MB, free: 5.355 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4607, allocations: 318.8 kB / 0.4884 GB, free: 5.035 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.4608, allocations: 55.95 kB / 0.4884 GB, free: 4.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.4611, allocations: 119.6 kB / 0.4886 GB, free: 4.836 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004363/0.4615, allocations: 273.5 kB / 0.4888 GB, free: 4.523 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.4615, allocations: 0 / 0.4888 GB, free: 4.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006233/0.4621, allocations: 312.6 kB / 0.4891 GB, free: 4.199 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.4622, allocations: 71.39 kB / 0.4892 GB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.4622, allocations: 3.938 kB / 0.4892 GB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.4623, allocations: 4 kB / 0.4892 GB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.4624, allocations: 31.97 kB / 0.4892 GB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.4624, allocations: 4.188 kB / 0.4892 GB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.4626, allocations: 31.83 kB / 0.4893 GB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.4626, allocations: 12 kB / 0.4893 GB, free: 4.031 MB / 362.7 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,C.TS,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.0001667/0.4628, allocations: 167.5 kB / 0.4894 GB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.4628, allocations: 23.8 kB / 0.4895 GB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006602/0.4635, allocations: 344.8 kB / 0.4898 GB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.4635, allocations: 0 / 0.4898 GB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.4635, allocations: 4 kB / 0.4898 GB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.4635, allocations: 0 / 0.4898 GB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.4638, allocations: 245.5 kB / 0.49 GB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4638, allocations: 4 kB / 0.49 GB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.4639, allocations: 15.98 kB / 0.49 GB, free: 3.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.4639, allocations: 8 kB / 0.49 GB, free: 3.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.464, allocations: 15.92 kB / 0.4901 GB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.464, allocations: 0 / 0.4901 GB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.464, allocations: 7.875 kB / 0.4901 GB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008568/0.4649, allocations: 454.4 kB / 0.4905 GB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-05/0.4649, allocations: 93.05 kB / 0.4906 GB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.445e-05/0.465, allocations: 8 kB / 0.4906 GB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.4652, allocations: 23.97 kB / 0.4906 GB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/0.4652, allocations: 19.97 kB / 0.4906 GB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.4653, allocations: 7.984 kB / 0.4906 GB, free: 2.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.871e-05/0.4654, allocations: 107.7 kB / 0.4908 GB, free: 2.395 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4654, allocations: 4 kB / 0.4908 GB, free: 2.391 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002739/0.4657, allocations: 47.91 kB / 0.4908 GB, free: 2.344 MB / 362.7 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.HIsat,C.LOsat,C.xBias,C.iBiaso,C.fBias,C.xfb,C.ulin,C.ulino,C.u,C.TS,C.noInc,C.noDec) * 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.0002121/0.4659, allocations: 111.2 kB / 0.4909 GB, free: 2.223 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006968/0.4666, allocations: 371 kB / 0.4913 GB, free: 1.836 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4666, allocations: 0 / 0.4913 GB, free: 1.836 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004012/0.467, allocations: 283.3 kB / 0.4915 GB, free: 1.547 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.4673, allocations: 23.92 kB / 0.4916 GB, free: 1.523 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009004/0.4682, allocations: 390.5 kB / 0.4919 GB, free: 1.117 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.4686, allocations: 0.7277 MB / 0.4926 GB, free: 372 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.645e-05/0.4688, allocations: 16.42 kB / 0.4927 GB, free: 356 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.4688, allocations: 19.44 kB / 0.4927 GB, free: 336 kB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.4688, allocations: 0 / 0.4927 GB, free: 336 kB / 362.7 MB Notification: Performance of Templates: time 0.005011/0.4738, allocations: 1.476 MB / 0.4941 GB, free: 14.86 MB / 378.7 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)