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.006509/0.006516, allocations: 101.5 kB / 15.73 MB, free: 6.051 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.001387/0.001387, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2309/0.2309, allocations: 22.36 MB / 312.9 MB, free: 12.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.62 kB / 435 MB, free: 34.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1255, allocations: 54.96 MB / 489.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.003104/0.1286, allocations: 1.746 MB / 491.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005645/0.1292, allocations: 239.5 kB / 491.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.1294, allocations: 0 / 491.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.1296, allocations: 23.73 kB / 491.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.1298, allocations: 23.8 kB / 491.9 MB, free: 1.293 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.0001835/0.1299, allocations: 67.84 kB / 492 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.1302, allocations: 183.6 kB / 492.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.1304, allocations: 75.94 kB / 492.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.818e-05/0.1305, allocations: 63.77 kB / 492.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.1306, allocations: 79.59 kB / 492.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.1306, allocations: 16 kB / 492.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.131e-05/0.1306, allocations: 16 kB / 492.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.224e-05/0.1307, allocations: 23.86 kB / 492.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.49e-05/0.1308, allocations: 79.59 kB / 492.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.1309, allocations: 139.4 kB / 492.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.131, allocations: 0 / 492.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.131, allocations: 4 kB / 492.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.131, allocations: 0 / 492.7 MB, free: 0.5547 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.0005659/0.1315, allocations: 490.4 kB / 493.2 MB, free: 12 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1316, allocations: 12.03 kB / 493.2 MB, free: 0 / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.766e-05/0.1317, allocations: 16.92 kB / 493.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.132, allocations: 216.1 kB / 493.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.1321, allocations: 12.38 kB / 493.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.1321, allocations: 20.38 kB / 493.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.1326, allocations: 154.7 kB / 493.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1326, allocations: 8.062 kB / 493.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.1326, allocations: 7.938 kB / 493.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.1326, allocations: 4 kB / 493.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.133, allocations: 107.9 kB / 493.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008194/0.1338, allocations: 480.1 kB / 494.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.1341, allocations: 162.5 kB / 494.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.1343, allocations: 136.8 kB / 494.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.1344, allocations: 4 kB / 494.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000302/0.1347, allocations: 157 kB / 494.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.1347, allocations: 4 kB / 494.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0008358/0.1355, allocations: 352.9 kB / 495 MB, free: 14.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/0.1356, allocations: 114.8 kB / 495.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.1358, allocations: 144.2 kB / 495.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.1358, allocations: 29.7 kB / 495.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.438e-05/0.1359, allocations: 120.3 kB / 495.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.1359, allocations: 51.3 kB / 495.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.457e-05/0.136, allocations: 57.69 kB / 495.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1361, allocations: 322.8 kB / 495.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.1363, allocations: 51.97 kB / 495.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.1366, allocations: 127.1 kB / 496 MB, free: 12.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004258/0.137, allocations: 265.8 kB / 496.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.137, allocations: 4 kB / 496.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006056/0.1376, allocations: 322 kB / 496.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.725e-05/0.1377, allocations: 63.39 kB / 496.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.1377, allocations: 7.938 kB / 496.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1377, allocations: 4 kB / 496.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.1379, allocations: 28.17 kB / 496.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.1379, allocations: 11.98 kB / 496.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.1381, allocations: 23.83 kB / 496.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.1381, allocations: 16 kB / 496.7 MB, free: 12.18 MB / 366.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.0001655/0.1383, allocations: 179.4 kB / 496.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.1384, allocations: 15.81 kB / 496.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006832/0.1391, allocations: 353.4 kB / 497.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.1391, allocations: 3.984 kB / 497.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1391, allocations: 0 / 497.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1391, allocations: 4 kB / 497.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.1393, allocations: 245.5 kB / 497.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1393, allocations: 0 / 497.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.1395, allocations: 15.98 kB / 497.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1395, allocations: 4 kB / 497.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.1395, allocations: 7.938 kB / 497.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1395, allocations: 7.938 kB / 497.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1395, allocations: 0 / 497.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008832/0.1404, allocations: 463 kB / 498 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.1405, allocations: 100.8 kB / 498.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.1405, allocations: 8 kB / 498.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.1407, allocations: 19.97 kB / 498.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.1408, allocations: 23.97 kB / 498.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.1408, allocations: 8 kB / 498.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.21e-05/0.1409, allocations: 95.27 kB / 498.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1409, allocations: 64 / 498.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.1412, allocations: 44 kB / 498.3 MB, free: 10.49 MB / 366.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.0001224/0.1413, allocations: 103.2 kB / 498.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006033/0.1419, allocations: 371 kB / 498.7 MB, free: 9.996 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1419, allocations: 0 / 498.7 MB, free: 9.996 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.1422, allocations: 287.3 kB / 499 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.1425, allocations: 23.92 kB / 499 MB, free: 9.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007831/0.1433, allocations: 348.9 kB / 499.4 MB, free: 9.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.1436, allocations: 0.7197 MB / 0.4884 GB, free: 8.566 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.741e-05/0.1437, allocations: 12.64 kB / 0.4884 GB, free: 8.555 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.1437, allocations: 23.38 kB / 0.4884 GB, free: 8.531 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1437, allocations: 0 / 0.4884 GB, free: 8.531 MB / 366.1 MB Notification: Performance of Templates: time 0.004888/0.1486, allocations: 1.805 MB / 0.4902 GB, free: 6.73 MB / 366.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)