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.001659/0.001659, allocations: 116.4 kB / 16.37 MB, free: 6.43 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.001937/0.001937, allocations: 196.3 kB / 17.31 MB, free: 5.777 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09315/0.09315, allocations: 22.34 MB / 313.5 MB, free: 8.902 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 66.25 kB / 380.1 MB, free: 42.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09999/0.1016, allocations: 54.95 MB / 435.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.003491/0.1052, allocations: 1.741 MB / 436.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007729/0.106, allocations: 239.5 kB / 437.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.1062, allocations: 3.938 kB / 437.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.1064, allocations: 19.75 kB / 437.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.1067, allocations: 15.86 kB / 437.1 MB, free: 12.35 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.0002253/0.1069, allocations: 67.84 kB / 437.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.1072, allocations: 183.7 kB / 437.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.1074, allocations: 75.88 kB / 437.4 MB, free: 12.03 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.705e-05/0.1075, allocations: 71.75 kB / 437.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.1077, allocations: 75.61 kB / 437.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/0.1077, allocations: 12 kB / 437.6 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.45e-05/0.1077, allocations: 16 kB / 437.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.41e-05/0.1078, allocations: 23.86 kB / 437.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.82e-05/0.1079, allocations: 79.59 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.1081, allocations: 147.4 kB / 437.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1081, allocations: 0 / 437.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1081, allocations: 0 / 437.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1081, allocations: 0 / 437.8 MB, free: 11.61 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.000621/0.1087, allocations: 494.4 kB / 438.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1088, allocations: 8.031 kB / 438.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/0.1088, allocations: 28.64 kB / 438.4 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.1091, allocations: 220 kB / 438.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.1092, allocations: 12.38 kB / 438.6 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.1092, allocations: 16.38 kB / 438.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.1096, allocations: 149.9 kB / 438.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1096, allocations: 192 / 438.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.1096, allocations: 7.938 kB / 438.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1096, allocations: 4 kB / 438.8 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.11, allocations: 104.4 kB / 438.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007832/0.1107, allocations: 476.1 kB / 439.3 MB, free: 9.965 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.111, allocations: 162.5 kB / 439.5 MB, free: 9.797 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.1112, allocations: 140.8 kB / 439.6 MB, free: 9.656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.1113, allocations: 3.984 kB / 439.6 MB, free: 9.652 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/0.1116, allocations: 160.9 kB / 439.8 MB, free: 9.477 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.1116, allocations: 4 kB / 439.8 MB, free: 9.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007931/0.1124, allocations: 357.3 kB / 440.1 MB, free: 9.113 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.011e-05/0.1125, allocations: 114.8 kB / 440.2 MB, free: 8.977 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.1126, allocations: 138 kB / 440.4 MB, free: 8.832 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1127, allocations: 33.7 kB / 440.4 MB, free: 8.793 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.1127, allocations: 120.3 kB / 440.5 MB, free: 8.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.1128, allocations: 51.34 kB / 440.6 MB, free: 8.621 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.676e-05/0.1129, allocations: 53.69 kB / 440.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.695e-05/0.113, allocations: 322.8 kB / 440.9 MB, free: 8.238 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.1132, allocations: 51.97 kB / 441 MB, free: 8.188 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.1134, allocations: 132.4 kB / 441.1 MB, free: 8.031 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/0.1138, allocations: 265.4 kB / 441.4 MB, free: 7.727 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1138, allocations: 0 / 441.4 MB, free: 7.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005732/0.1144, allocations: 325 kB / 441.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/0.1144, allocations: 75.33 kB / 441.8 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.1144, allocations: 3.938 kB / 441.8 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.1145, allocations: 4 kB / 441.8 MB, free: 7.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.1146, allocations: 36.16 kB / 441.8 MB, free: 7.266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1147, allocations: 4 kB / 441.8 MB, free: 7.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.1148, allocations: 31.73 kB / 441.9 MB, free: 7.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.1149, allocations: 12 kB / 441.9 MB, free: 7.219 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.0001508/0.115, allocations: 179.3 kB / 442 MB, free: 7.027 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.1151, allocations: 11.91 kB / 442.1 MB, free: 7.016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006456/0.1157, allocations: 340.4 kB / 442.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1157, allocations: 7.938 kB / 442.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1157, allocations: 4 kB / 442.4 MB, free: 6.656 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1158, allocations: 0 / 442.4 MB, free: 6.656 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.116, allocations: 245.4 kB / 442.6 MB, free: 6.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.116, allocations: 0 / 442.6 MB, free: 6.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.1161, allocations: 27.92 kB / 442.7 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1161, allocations: 4 kB / 442.7 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.1162, allocations: 11.92 kB / 442.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1162, allocations: 0 / 442.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1162, allocations: 0 / 442.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008594/0.117, allocations: 449 kB / 443.1 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.1171, allocations: 96.83 kB / 443.2 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.1172, allocations: 8 kB / 443.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.1173, allocations: 23.97 kB / 443.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/0.1174, allocations: 19.97 kB / 443.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.1174, allocations: 8 kB / 443.3 MB, free: 5.691 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.002e-05/0.1175, allocations: 98.22 kB / 443.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1175, allocations: 64 / 443.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.1178, allocations: 51.84 kB / 443.4 MB, free: 5.547 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.0001176/0.1179, allocations: 115.2 kB / 443.5 MB, free: 5.426 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005872/0.1185, allocations: 367 kB / 443.9 MB, free: 5.043 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1185, allocations: 0 / 443.9 MB, free: 5.043 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003345/0.1188, allocations: 291.3 kB / 444.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.1191, allocations: 14.19 kB / 444.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007851/0.1199, allocations: 345.1 kB / 444.5 MB, free: 4.367 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.1202, allocations: 0.7197 MB / 445.2 MB, free: 3.621 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.589e-05/0.1202, allocations: 16.64 kB / 445.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.1203, allocations: 15.44 kB / 445.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1203, allocations: 3.938 kB / 445.3 MB, free: 3.586 MB / 318.1 MB Notification: Performance of Templates: time 0.004639/0.125, allocations: 1.791 MB / 447.1 MB, free: 1.797 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 -s gbode -lv LOG_STATS > AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe 2>&1)