Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_FOPDT.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_FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_FOPDT") translateModel(AES.Devel_test_models.Test_FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_FOPDT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001467, allocations: 115 kB / 16.37 MB, free: 6.016 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.001864/0.001864, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09571/0.09571, allocations: 22.33 MB / 313.5 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 65.39 kB / 380.1 MB, free: 42.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1286, allocations: 54.96 MB / 435.1 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002882/0.1315, allocations: 1.64 MB / 436.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003739/0.1319, allocations: 159.4 kB / 436.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.451e-05/0.1319, allocations: 0 / 436.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.707e-05/0.132, allocations: 11.86 kB / 436.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.188e-05/0.1321, allocations: 15.88 kB / 436.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.1324, allocations: 47.89 kB / 437 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.1325, allocations: 91.7 kB / 437.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.1327, allocations: 27.98 kB / 437.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.4e-05/0.1327, allocations: 35.84 kB / 437.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.229e-05/0.1328, allocations: 31.86 kB / 437.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.1328, allocations: 8 kB / 437.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.29e-05/0.1329, allocations: 4 kB / 437.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.1329, allocations: 23.86 kB / 437.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.1329, allocations: 35.75 kB / 437.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.133, allocations: 79.7 kB / 437.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1331, allocations: 4 kB / 437.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1331, allocations: 0 / 437.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.1331, allocations: 0 / 437.3 MB, free: 12.14 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000469/0.1336, allocations: 391 kB / 437.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.1336, allocations: 12.03 kB / 437.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.1336, allocations: 12.83 kB / 437.7 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.1338, allocations: 196.2 kB / 437.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1339, allocations: 4.375 kB / 437.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.1339, allocations: 12.36 kB / 437.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.134, allocations: 69.42 kB / 438 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1341, allocations: 192 / 438 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1341, allocations: 15.94 kB / 438 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1341, allocations: 3.938 kB / 438 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.514e-05/0.1342, allocations: 23.98 kB / 438 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.1346, allocations: 348.5 kB / 438.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.1349, allocations: 62.55 kB / 438.4 MB, free: 10.87 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.818e-05/0.135, allocations: 16.92 kB / 438.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.135, allocations: 4 kB / 438.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.135, allocations: 30.56 kB / 438.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.135, allocations: 0 / 438.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002224/0.1353, allocations: 73.52 kB / 438.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.1353, allocations: 55.41 kB / 438.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.1354, allocations: 140 kB / 438.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1355, allocations: 29.7 kB / 438.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.016e-05/0.1355, allocations: 108 kB / 438.9 MB, free: 10.37 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.1355, allocations: 11.81 kB / 438.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.1356, allocations: 21.7 kB / 438.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1357, allocations: 318.8 kB / 439.2 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.1358, allocations: 15.98 kB / 439.2 MB, free: 9.996 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.17e-05/0.1358, allocations: 11.94 kB / 439.2 MB, free: 9.984 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.57e-05/0.1359, allocations: 40.84 kB / 439.3 MB, free: 9.941 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1359, allocations: 0 / 439.3 MB, free: 9.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001269/0.136, allocations: 85.66 kB / 439.4 MB, free: 9.852 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.136, allocations: 4 kB / 439.4 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1361, allocations: 0 / 439.4 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1361, allocations: 0 / 439.4 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/0.1361, allocations: 8 kB / 439.4 MB, free: 9.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1361, allocations: 4 kB / 439.4 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.143e-05/0.1362, allocations: 3.938 kB / 439.4 MB, free: 9.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1362, allocations: 0 / 439.4 MB, free: 9.832 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 8.558e-05/0.1363, allocations: 122.6 kB / 439.5 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.1363, allocations: 11.89 kB / 439.5 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.1364, allocations: 12.25 kB / 439.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1364, allocations: 0 / 439.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1364, allocations: 0 / 439.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1364, allocations: 3.938 kB / 439.5 MB, free: 9.668 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.1365, allocations: 189.6 kB / 439.7 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1366, allocations: 4 kB / 439.7 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.858e-05/0.1366, allocations: 7.938 kB / 439.7 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1366, allocations: 4 kB / 439.7 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.1367, allocations: 0 / 439.7 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1367, allocations: 7.938 kB / 439.7 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1367, allocations: 0 / 439.7 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.1369, allocations: 175.4 kB / 439.9 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.1369, allocations: 97.2 kB / 440 MB, free: 9.109 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.137, allocations: 0 / 440 MB, free: 9.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.285e-05/0.137, allocations: 0 / 440 MB, free: 9.109 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.1371, allocations: 15.98 kB / 440 MB, free: 9.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.1371, allocations: 0 / 440 MB, free: 9.094 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.493e-05/0.1371, allocations: 113.6 kB / 440.1 MB, free: 8.984 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1372, allocations: 0 / 440.1 MB, free: 8.984 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.1374, allocations: 15.91 kB / 440.1 MB, free: 8.969 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.Pr.y,P2.Pr.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 9.537e-05/0.1375, allocations: 95.19 kB / 440.2 MB, free: 8.867 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.1376, allocations: 31.98 kB / 440.3 MB, free: 8.836 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1376, allocations: 4 kB / 440.3 MB, free: 8.832 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.503e-05/0.1377, allocations: 19.92 kB / 440.3 MB, free: 8.812 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.138, allocations: 12 kB / 440.3 MB, free: 8.801 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.1383, allocations: 216.2 kB / 440.5 MB, free: 8.562 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.1386, allocations: 0.6963 MB / 441.2 MB, free: 7.84 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.293e-05/0.1386, allocations: 12 kB / 441.2 MB, free: 7.828 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.1387, allocations: 11.44 kB / 441.2 MB, free: 7.816 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1387, allocations: 0 / 441.2 MB, free: 7.816 MB / 318.1 MB Notification: Performance of Templates: time 0.002768/0.1414, allocations: 0.7541 MB / 442 MB, free: 7.066 MB / 318.1 MB make -j1 -f AES_AES.Devel_test_models.Test_FOPDT.makefile (rm -f AES_AES.Devel_test_models.Test_FOPDT.pipe ; mkfifo AES_AES.Devel_test_models.Test_FOPDT.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_FOPDT.pipe >> ../files/AES_AES.Devel_test_models.Test_FOPDT.sim & ./AES_AES.Devel_test_models.Test_FOPDT -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > AES_AES.Devel_test_models.Test_FOPDT.pipe 2>&1)