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.001233/0.001233, allocations: 105 kB / 16.27 MB, free: 6.008 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.001128/0.001129, allocations: 190.4 kB / 17.2 MB, free: 5.621 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.432/1.432, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09441/0.09441, allocations: 22.32 MB / 313.4 MB, free: 8.973 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 62.17 kB / 379.3 MB, free: 42.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07278/0.0741, allocations: 54.96 MB / 434.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002783/0.07691, allocations: 1.743 MB / 436 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004608/0.07739, allocations: 231.5 kB / 436.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.304e-05/0.07748, allocations: 4 kB / 436.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.07761, allocations: 19.73 kB / 436.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.07775, allocations: 23.8 kB / 436.3 MB, free: 13.13 MB / 318.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.0001463/0.0779, allocations: 71.84 kB / 436.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.07814, allocations: 179.7 kB / 436.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.0783, allocations: 67.94 kB / 436.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.041e-05/0.07838, allocations: 71.75 kB / 436.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.0785, allocations: 75.61 kB / 436.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.07853, allocations: 16 kB / 436.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.172e-05/0.07856, allocations: 12 kB / 436.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.196e-05/0.0786, allocations: 19.92 kB / 436.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.213e-05/0.07869, allocations: 83.53 kB / 436.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.07885, allocations: 143.5 kB / 437 MB, free: 12.4 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.07886, allocations: 0 / 437 MB, free: 12.4 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.07887, allocations: 0 / 437 MB, free: 12.4 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.07888, allocations: 0 / 437 MB, free: 12.4 MB / 318.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.0005345/0.07942, allocations: 498.7 kB / 437.5 MB, free: 11.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.07946, allocations: 8.031 kB / 437.5 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.504e-05/0.07952, allocations: 28.64 kB / 437.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.07973, allocations: 210.6 kB / 437.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.07976, allocations: 16.38 kB / 437.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.07981, allocations: 24.36 kB / 437.8 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.08019, allocations: 146.5 kB / 438 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.08021, allocations: 192 / 438 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.08024, allocations: 11.94 kB / 438 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.08025, allocations: 4 kB / 438 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/0.0806, allocations: 108.4 kB / 438.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007356/0.08135, allocations: 476.2 kB / 438.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.08165, allocations: 158.5 kB / 438.7 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.08189, allocations: 136.8 kB / 438.8 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.08192, allocations: 3.984 kB / 438.8 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003157/0.08224, allocations: 164.9 kB / 439 MB, free: 10.26 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 3.126e-06/0.08226, allocations: 112 / 439 MB, free: 10.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.0008406/0.0831, allocations: 357.6 kB / 439.3 MB, free: 9.902 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.08317, allocations: 118.8 kB / 439.5 MB, free: 9.762 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.08328, allocations: 138 kB / 439.6 MB, free: 9.617 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.08332, allocations: 33.7 kB / 439.6 MB, free: 9.578 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.08338, allocations: 116.3 kB / 439.7 MB, free: 9.461 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.251e-05/0.08344, allocations: 51.34 kB / 439.8 MB, free: 9.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/0.08352, allocations: 53.69 kB / 439.8 MB, free: 9.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.08363, allocations: 322.8 kB / 440.2 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.08382, allocations: 55.97 kB / 440.2 MB, free: 8.973 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.08406, allocations: 130.8 kB / 440.3 MB, free: 8.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/0.08449, allocations: 269.2 kB / 440.6 MB, free: 8.512 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.0845, allocations: 0 / 440.6 MB, free: 8.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005779/0.08509, allocations: 314.1 kB / 440.9 MB, free: 8.188 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.863e-05/0.08515, allocations: 71.64 kB / 441 MB, free: 8.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.08516, allocations: 11.94 kB / 441 MB, free: 8.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.08518, allocations: 4 kB / 441 MB, free: 8.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.08535, allocations: 31.92 kB / 441 MB, free: 8.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.08537, allocations: 3.984 kB / 441 MB, free: 8.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.08556, allocations: 31.73 kB / 441.1 MB, free: 8.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.08558, allocations: 12 kB / 441.1 MB, free: 8.012 MB / 318.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.0001316/0.08572, allocations: 183.3 kB / 441.3 MB, free: 7.816 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.08576, allocations: 11.91 kB / 441.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006798/0.08644, allocations: 340.3 kB / 441.6 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.08646, allocations: 3.984 kB / 441.6 MB, free: 7.453 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.08647, allocations: 7.938 kB / 441.6 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.08648, allocations: 4 kB / 441.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.08668, allocations: 245.4 kB / 441.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.08668, allocations: 0 / 441.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.08684, allocations: 27.92 kB / 441.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.08685, allocations: 0 / 441.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.08688, allocations: 7.938 kB / 441.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.08689, allocations: 3.984 kB / 441.9 MB, free: 7.113 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.08689, allocations: 0 / 441.9 MB, free: 7.113 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009032/0.0878, allocations: 449.1 kB / 442.3 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.08786, allocations: 96.83 kB / 442.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.0879, allocations: 8 kB / 442.4 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.08809, allocations: 23.97 kB / 442.5 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.08817, allocations: 24.03 kB / 442.5 MB, free: 6.484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.0882, allocations: 8 kB / 442.5 MB, free: 6.477 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.097e-05/0.08826, allocations: 97.8 kB / 442.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.08827, allocations: 0 / 442.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.08854, allocations: 51.78 kB / 442.6 MB, free: 6.332 MB / 318.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.0001005/0.08864, allocations: 111.2 kB / 442.7 MB, free: 6.215 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000612/0.08926, allocations: 370.6 kB / 443.1 MB, free: 5.828 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.08927, allocations: 0 / 443.1 MB, free: 5.828 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.08962, allocations: 295.3 kB / 443.4 MB, free: 5.527 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.08985, allocations: 18.5 kB / 443.4 MB, free: 5.512 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006956/0.09056, allocations: 370.8 kB / 443.8 MB, free: 5.113 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.09084, allocations: 0.7197 MB / 444.5 MB, free: 4.367 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.09089, allocations: 15.44 kB / 444.5 MB, free: 4.352 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.0909, allocations: 0 / 444.5 MB, free: 4.352 MB / 318.1 MB Notification: Performance of Templates: time 0.003254/0.09416, allocations: 1.92 MB / 446.4 MB, free: 2.43 MB / 318.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)