Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.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.ProcessBlocks.FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.FOPDT") translateModel(AES.ProcessBlocks.FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.FOPDT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 108.7 kB / 16.41 MB, free: 6.465 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.001768/0.001768, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.089/0.089, allocations: 22.32 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.89 kB / 435.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1272, allocations: 54.96 MB / 490.5 MB, free: 6.898 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.003289/0.1305, allocations: 1.428 MB / 491.9 MB, free: 5.457 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003977/0.1309, allocations: 119.5 kB / 492.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.185e-05/0.131, allocations: 4 kB / 492.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.1311, allocations: 3.938 kB / 492.1 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.448e-05/0.1312, allocations: 3.938 kB / 492.1 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.1315, allocations: 31.91 kB / 492.1 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.1316, allocations: 35.86 kB / 492.1 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.1317, allocations: 11.98 kB / 492.2 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.687e-05/0.1318, allocations: 11.94 kB / 492.2 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.927e-05/0.1319, allocations: 19.86 kB / 492.2 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1319, allocations: 4 kB / 492.2 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.1319, allocations: 0 / 492.2 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.1319, allocations: 0 / 492.2 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.132, allocations: 19.86 kB / 492.2 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.283e-05/0.1321, allocations: 27.91 kB / 492.2 MB, free: 5.168 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1321, allocations: 0 / 492.2 MB, free: 5.168 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1321, allocations: 0 / 492.2 MB, free: 5.168 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1321, allocations: 0 / 492.2 MB, free: 5.168 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004409/0.1325, allocations: 359.2 kB / 492.6 MB, free: 4.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1326, allocations: 8.031 kB / 492.6 MB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.1326, allocations: 0.9375 kB / 492.6 MB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.1329, allocations: 180.2 kB / 492.8 MB, free: 4.543 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1329, allocations: 4.375 kB / 492.8 MB, free: 4.539 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.133, allocations: 4.375 kB / 492.8 MB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.695e-05/0.1331, allocations: 42.27 kB / 492.8 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1331, allocations: 192 / 492.8 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.1331, allocations: 7.938 kB / 492.8 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1331, allocations: 7.922 kB / 492.8 MB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.847e-05/0.1331, allocations: 7.938 kB / 492.8 MB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.1336, allocations: 272.8 kB / 493.1 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.109e-05/0.1337, allocations: 30.58 kB / 493.1 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.152e-05/0.1337, allocations: 16.84 kB / 493.2 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.1338, allocations: 0 / 493.2 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1338, allocations: 34.56 kB / 493.2 MB, free: 4.047 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1338, allocations: 0 / 493.2 MB, free: 4.047 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001707/0.134, allocations: 41.7 kB / 493.2 MB, free: 4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.1341, allocations: 55.53 kB / 493.3 MB, free: 3.934 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.1342, allocations: 117.8 kB / 493.4 MB, free: 3.809 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1342, allocations: 25.7 kB / 493.4 MB, free: 3.777 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.1343, allocations: 88.05 kB / 493.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.1343, allocations: 19.78 kB / 493.5 MB, free: 3.668 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.1344, allocations: 9.719 kB / 493.5 MB, free: 3.652 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1345, allocations: 326.8 kB / 493.9 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.1345, allocations: 0 / 493.9 MB, free: 3.324 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.297e-05/0.1345, allocations: 12 kB / 493.9 MB, free: 3.312 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.409e-05/0.1346, allocations: 16.86 kB / 493.9 MB, free: 3.293 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1346, allocations: 0 / 493.9 MB, free: 3.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.508e-05/0.1347, allocations: 49.59 kB / 493.9 MB, free: 3.238 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1347, allocations: 4 kB / 493.9 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1347, allocations: 0 / 493.9 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1347, allocations: 4 kB / 493.9 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.1348, allocations: 7.938 kB / 494 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1348, allocations: 3.984 kB / 494 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.943e-05/0.1348, allocations: 0 / 494 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.1349, allocations: 4 kB / 494 MB, free: 3.215 MB / 366.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 (3): * Single equations (assignments): 3 * 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 7.989e-05/0.1349, allocations: 122.5 kB / 494.1 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.135, allocations: 0 / 494.1 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.135, allocations: 3.531 kB / 494.1 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.135, allocations: 4 kB / 494.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.135, allocations: 0 / 494.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.135, allocations: 144 / 494.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.1353, allocations: 282.9 kB / 494.4 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1353, allocations: 7.969 kB / 494.4 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.1353, allocations: 15.92 kB / 494.4 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1354, allocations: 0 / 494.4 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.1354, allocations: 3.938 kB / 494.4 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1354, allocations: 0 / 494.4 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1354, allocations: 0 / 494.4 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.1355, allocations: 147.4 kB / 494.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.1356, allocations: 77.11 kB / 494.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.1356, allocations: 8.094 kB / 494.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.347e-05/0.1357, allocations: 4 kB / 494.6 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.1357, allocations: 4.031 kB / 494.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.1357, allocations: 3.938 kB / 494.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.514e-05/0.1358, allocations: 91.27 kB / 494.7 MB, free: 2.352 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1358, allocations: 0 / 494.7 MB, free: 2.352 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000236/0.136, allocations: 7.906 kB / 494.7 MB, free: 2.344 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (2): * Single equations (assignments): 2 * 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.202e-05/0.1361, allocations: 95.19 kB / 494.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.525e-05/0.1362, allocations: 19.98 kB / 494.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1362, allocations: 0 / 494.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.177e-05/0.1363, allocations: 4 kB / 494.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.1365, allocations: 11.94 kB / 494.9 MB, free: 2.207 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.1369, allocations: 168.5 kB / 495 MB, free: 2.008 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.1373, allocations: 0.6807 MB / 495.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.1374, allocations: 15.44 kB / 495.7 MB, free: 1.285 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1374, allocations: 4 kB / 495.7 MB, free: 1.281 MB / 366.1 MB Notification: Performance of Templates: time 0.002095/0.1395, allocations: 0.6562 MB / 496.4 MB, free: 0.625 MB / 366.1 MB make -j1 -f AES_AES.ProcessBlocks.FOPDT.makefile (rm -f AES_AES.ProcessBlocks.FOPDT.pipe ; mkfifo AES_AES.ProcessBlocks.FOPDT.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.FOPDT.pipe >> ../files/AES_AES.ProcessBlocks.FOPDT.sim & ./AES_AES.ProcessBlocks.FOPDT -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessBlocks.FOPDT.pipe 2>&1)