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.005102/0.005102, allocations: 99.81 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.001143/0.001143, allocations: 195 kB / 16.67 MB, free: 5.973 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08869/0.08869, allocations: 22.33 MB / 312.8 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 67.88 kB / 434.9 MB, free: 13.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1128, allocations: 54.95 MB / 489.9 MB, free: 6.871 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002608/0.1155, allocations: 1.745 MB / 491.6 MB, free: 5.113 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000458/0.116, allocations: 235.5 kB / 491.9 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.94e-05/0.116, allocations: 0 / 491.9 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.1162, allocations: 23.73 kB / 491.9 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.1163, allocations: 19.8 kB / 491.9 MB, free: 4.84 MB / 366.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.0001515/0.1165, allocations: 67.91 kB / 492 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.1167, allocations: 179.7 kB / 492.1 MB, free: 4.598 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.1169, allocations: 75.94 kB / 492.2 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.117, allocations: 67.7 kB / 492.3 MB, free: 4.453 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.1171, allocations: 79.61 kB / 492.4 MB, free: 4.375 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.1171, allocations: 12 kB / 492.4 MB, free: 4.363 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.307e-05/0.1172, allocations: 16 kB / 492.4 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.4e-05/0.1172, allocations: 23.86 kB / 492.4 MB, free: 4.324 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.664e-05/0.1173, allocations: 75.64 kB / 492.5 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.1175, allocations: 155.2 kB / 492.6 MB, free: 4.098 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1175, allocations: 0 / 492.6 MB, free: 4.098 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1175, allocations: 0 / 492.6 MB, free: 4.098 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.1175, allocations: 0 / 492.6 MB, free: 4.098 MB / 366.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.0005506/0.118, allocations: 494.2 kB / 493.1 MB, free: 3.551 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.1181, allocations: 8.031 kB / 493.1 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/0.1181, allocations: 24.8 kB / 493.1 MB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.1184, allocations: 216.1 kB / 493.4 MB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.1184, allocations: 12.38 kB / 493.4 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.1184, allocations: 20.38 kB / 493.4 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.1188, allocations: 158.4 kB / 493.5 MB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1188, allocations: 192 / 493.5 MB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.1189, allocations: 7.938 kB / 493.5 MB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1189, allocations: 4 kB / 493.6 MB, free: 3.066 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003172/0.1192, allocations: 104.6 kB / 493.7 MB, free: 2.965 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006851/0.1199, allocations: 476.3 kB / 494.1 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.1202, allocations: 154.5 kB / 494.3 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.1204, allocations: 147.6 kB / 494.4 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.1204, allocations: 7.922 kB / 494.4 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002707/0.1207, allocations: 157 kB / 494.6 MB, free: 1.965 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.1207, allocations: 0 / 494.6 MB, free: 1.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007869/0.1215, allocations: 355.4 kB / 494.9 MB, free: 1.605 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.1216, allocations: 114.8 kB / 495 MB, free: 1.469 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.536e-05/0.1217, allocations: 149.2 kB / 495.2 MB, free: 1.316 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1217, allocations: 37.64 kB / 495.2 MB, free: 1.273 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.1218, allocations: 116.5 kB / 495.3 MB, free: 1.156 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.1218, allocations: 59.58 kB / 495.4 MB, free: 1.098 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.1219, allocations: 49.7 kB / 495.4 MB, free: 1.043 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.122, allocations: 330.8 kB / 495.8 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.1222, allocations: 51.97 kB / 495.8 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.1224, allocations: 122.5 kB / 495.9 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/0.1228, allocations: 271.6 kB / 496.2 MB, free: 212 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1228, allocations: 0 / 496.2 MB, free: 212 kB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005439/0.1234, allocations: 317 kB / 496.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.979e-05/0.1234, allocations: 71.39 kB / 496.6 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1234, allocations: 3.75 kB / 496.6 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1235, allocations: 8 kB / 496.6 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.1236, allocations: 27.92 kB / 496.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1236, allocations: 0 / 496.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.1238, allocations: 40.08 kB / 496.7 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.1238, allocations: 8 kB / 496.7 MB, free: 15.71 MB / 382.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.0001335/0.124, allocations: 179.3 kB / 496.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.124, allocations: 19.84 kB / 496.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006371/0.1247, allocations: 342.7 kB / 497.2 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1247, allocations: 0 / 497.2 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.1247, allocations: 3.984 kB / 497.2 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1247, allocations: 7.938 kB / 497.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.1249, allocations: 245.5 kB / 497.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1249, allocations: 0 / 497.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.125, allocations: 19.98 kB / 497.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.125, allocations: 3.938 kB / 497.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.1251, allocations: 8 kB / 497.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1251, allocations: 4 kB / 497.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1251, allocations: 0 / 497.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008433/0.1259, allocations: 446.8 kB / 497.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.126, allocations: 100.9 kB / 498 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.126, allocations: 8.062 kB / 498 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.1262, allocations: 27.92 kB / 498 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.1263, allocations: 19.97 kB / 498.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.1263, allocations: 11.97 kB / 498.1 MB, free: 14.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.231e-05/0.1264, allocations: 99.27 kB / 498.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1264, allocations: 3.938 kB / 498.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.1266, allocations: 47.89 kB / 498.2 MB, free: 14.02 MB / 382.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.0001248/0.1268, allocations: 115.3 kB / 498.3 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005725/0.1273, allocations: 370.5 kB / 498.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1274, allocations: 0.5 kB / 498.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003342/0.1277, allocations: 287.4 kB / 499 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.1279, allocations: 29.89 kB / 499 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007029/0.1287, allocations: 352 kB / 499.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.1289, allocations: 0.7197 MB / 0.4884 GB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.097e-05/0.129, allocations: 12.64 kB / 0.4884 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.1291, allocations: 15.44 kB / 0.4884 GB, free: 12.05 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1291, allocations: 0 / 0.4884 GB, free: 12.05 MB / 382.1 MB Notification: Performance of Templates: time 0.004227/0.1333, allocations: 1.794 MB / 0.4901 GB, free: 10.26 MB / 382.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)