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.001541/0.001541, allocations: 116.5 kB / 16.37 MB, free: 6.012 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.001683/0.001683, allocations: 190.4 kB / 17.31 MB, free: 5.613 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09068/0.09068, allocations: 22.32 MB / 313.5 MB, free: 8.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 68.14 kB / 380.1 MB, free: 42.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.124, allocations: 54.96 MB / 435.1 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.003301/0.1273, allocations: 1.742 MB / 436.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005339/0.1279, allocations: 243.5 kB / 437.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.128, allocations: 0 / 437.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.1282, allocations: 23.75 kB / 437.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.1283, allocations: 15.8 kB / 437.1 MB, free: 12.36 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.0001627/0.1285, allocations: 59.91 kB / 437.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.1288, allocations: 191.7 kB / 437.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.129, allocations: 75.92 kB / 437.4 MB, free: 12.03 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.478e-05/0.1291, allocations: 67.7 kB / 437.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.1292, allocations: 75.67 kB / 437.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.1292, allocations: 16 kB / 437.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.384e-05/0.1292, allocations: 12 kB / 437.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.041e-05/0.1293, allocations: 31.8 kB / 437.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.186e-05/0.1294, allocations: 75.58 kB / 437.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.1296, allocations: 139.4 kB / 437.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1296, allocations: 0 / 437.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1296, allocations: 0 / 437.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1296, allocations: 4 kB / 437.8 MB, free: 11.62 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.0006621/0.1303, allocations: 490.4 kB / 438.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1303, allocations: 12.02 kB / 438.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.663e-05/0.1304, allocations: 24.66 kB / 438.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.1307, allocations: 218.6 kB / 438.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.1308, allocations: 12.38 kB / 438.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.1308, allocations: 16.38 kB / 438.6 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.1312, allocations: 157.9 kB / 438.7 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1312, allocations: 192 / 438.7 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.1312, allocations: 11.94 kB / 438.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1312, allocations: 0 / 438.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.1315, allocations: 108.3 kB / 438.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007386/0.1323, allocations: 476.2 kB / 439.3 MB, free: 9.969 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.1326, allocations: 162.5 kB / 439.5 MB, free: 9.801 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.1328, allocations: 132.8 kB / 439.6 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.1328, allocations: 8 kB / 439.6 MB, free: 9.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002861/0.1331, allocations: 163.2 kB / 439.8 MB, free: 9.484 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.1331, allocations: 0 / 439.8 MB, free: 9.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007767/0.1339, allocations: 355.2 kB / 440.1 MB, free: 9.125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.134, allocations: 118.8 kB / 440.2 MB, free: 8.984 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.1341, allocations: 134 kB / 440.4 MB, free: 8.844 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.1341, allocations: 33.7 kB / 440.4 MB, free: 8.805 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/0.1342, allocations: 116.3 kB / 440.5 MB, free: 8.688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.1343, allocations: 55.34 kB / 440.6 MB, free: 8.633 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-05/0.1344, allocations: 49.69 kB / 440.6 MB, free: 8.578 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1345, allocations: 326.8 kB / 440.9 MB, free: 8.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.1347, allocations: 59.91 kB / 441 MB, free: 8.191 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.1349, allocations: 128.4 kB / 441.1 MB, free: 8.039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/0.1353, allocations: 266.7 kB / 441.4 MB, free: 7.734 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1353, allocations: 4 kB / 441.4 MB, free: 7.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005153/0.1358, allocations: 322.2 kB / 441.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/0.1359, allocations: 71.39 kB / 441.8 MB, free: 7.316 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.1359, allocations: 7.938 kB / 441.8 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1359, allocations: 0 / 441.8 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.1361, allocations: 31.91 kB / 441.8 MB, free: 7.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.1361, allocations: 4 kB / 441.8 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.1363, allocations: 31.73 kB / 441.9 MB, free: 7.242 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.1363, allocations: 11.94 kB / 441.9 MB, free: 7.23 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.0001559/0.1365, allocations: 187.3 kB / 442 MB, free: 7.031 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.1365, allocations: 11.91 kB / 442.1 MB, free: 7.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006319/0.1371, allocations: 338.8 kB / 442.4 MB, free: 6.676 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1371, allocations: 4 kB / 442.4 MB, free: 6.672 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1372, allocations: 4 kB / 442.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1372, allocations: 0 / 442.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.1374, allocations: 245.4 kB / 442.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1374, allocations: 4 kB / 442.6 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.1375, allocations: 19.92 kB / 442.7 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1375, allocations: 0 / 442.7 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.1376, allocations: 19.91 kB / 442.7 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1376, allocations: 0 / 442.7 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1376, allocations: 0 / 442.7 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000794/0.1384, allocations: 446.6 kB / 443.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.1384, allocations: 100.8 kB / 443.2 MB, free: 5.758 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.1385, allocations: 8 kB / 443.2 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.1386, allocations: 28.03 kB / 443.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.073e-05/0.1387, allocations: 23.91 kB / 443.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.1387, allocations: 4 kB / 443.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.813e-05/0.1388, allocations: 105.9 kB / 443.4 MB, free: 5.594 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1388, allocations: 4 kB / 443.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1391, allocations: 43.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.0001265/0.1392, allocations: 111.2 kB / 443.5 MB, free: 5.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005787/0.1398, allocations: 362.6 kB / 443.9 MB, free: 5.051 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1398, allocations: 0 / 443.9 MB, free: 5.051 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003251/0.1401, allocations: 287.3 kB / 444.2 MB, free: 4.758 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.1404, allocations: 16.5 kB / 444.2 MB, free: 4.742 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007864/0.1412, allocations: 352.5 kB / 444.5 MB, free: 4.367 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.1415, allocations: 0.7119 MB / 445.2 MB, free: 3.629 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.428e-05/0.1416, allocations: 20.64 kB / 445.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.1416, allocations: 15.44 kB / 445.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of SimCode: time 1.8e-07/0.1416, allocations: 0 / 445.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of Templates: time 0.004616/0.1463, allocations: 1.801 MB / 447.1 MB, free: 1.801 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 cvode -lv LOG_STATS > AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe 2>&1)