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.007449/0.007449, allocations: 100.8 kB / 15.73 MB, free: 5.988 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.001529/0.001529, allocations: 197 kB / 16.67 MB, free: 5.926 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.213/0.213, allocations: 22.35 MB / 312.9 MB, free: 12.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.66 kB / 434.9 MB, free: 35.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1377, allocations: 54.97 MB / 489.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002911/0.1407, allocations: 1.648 MB / 491.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004612/0.1412, allocations: 147.5 kB / 491.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.1413, allocations: 0 / 491.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.198e-05/0.1413, allocations: 11.86 kB / 491.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.1415, allocations: 23.8 kB / 491.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.1419, allocations: 47.91 kB / 491.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.142, allocations: 87.75 kB / 491.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.1422, allocations: 31.98 kB / 491.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.256e-05/0.1423, allocations: 35.8 kB / 491.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.855e-05/0.1423, allocations: 31.8 kB / 492 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.1424, allocations: 4 kB / 492 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.497e-05/0.1424, allocations: 8 kB / 492 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.1424, allocations: 27.91 kB / 492 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.088e-05/0.1425, allocations: 31.75 kB / 492 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.1426, allocations: 83.7 kB / 492.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1426, allocations: 0 / 492.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1426, allocations: 0 / 492.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1426, allocations: 0 / 492.1 MB, free: 1.117 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000442/0.1431, allocations: 383.2 kB / 492.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1431, allocations: 8.031 kB / 492.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.1432, allocations: 12.83 kB / 492.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.1434, allocations: 212 kB / 492.7 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.1434, allocations: 4.375 kB / 492.7 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.1435, allocations: 4.375 kB / 492.7 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.1436, allocations: 70.23 kB / 492.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1436, allocations: 192 / 492.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1437, allocations: 3.938 kB / 492.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1437, allocations: 4 kB / 492.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/0.1438, allocations: 27.92 kB / 492.8 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.1442, allocations: 340.7 kB / 493.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.1446, allocations: 62.48 kB / 493.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.969e-05/0.1446, allocations: 20.86 kB / 493.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1447, allocations: 0 / 493.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.1447, allocations: 34.56 kB / 493.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 2.635e-06/0.1447, allocations: 11.92 kB / 493.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002653/0.145, allocations: 65.67 kB / 493.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.145, allocations: 59.34 kB / 493.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.1452, allocations: 144.3 kB / 493.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1452, allocations: 29.7 kB / 493.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.1453, allocations: 104 kB / 493.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.1453, allocations: 15.75 kB / 493.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.1454, allocations: 25.7 kB / 493.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1455, allocations: 314.8 kB / 494 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.223e-05/0.1456, allocations: 19.98 kB / 494.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.615e-05/0.1456, allocations: 12 kB / 494.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.882e-05/0.1457, allocations: 40.84 kB / 494.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1457, allocations: 0 / 494.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000151/0.1459, allocations: 73.53 kB / 494.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1459, allocations: 12 kB / 494.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1459, allocations: 0 / 494.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1459, allocations: 0 / 494.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.856e-05/0.146, allocations: 8 kB / 494.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.146, allocations: 0 / 494.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.876e-05/0.1461, allocations: 7.938 kB / 494.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1461, allocations: 3.984 kB / 494.2 MB, free: 14.8 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 (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 9.191e-05/0.1462, allocations: 122.6 kB / 494.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.1462, allocations: 11.89 kB / 494.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.1462, allocations: 12.25 kB / 494.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1463, allocations: 4 kB / 494.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1463, allocations: 0 / 494.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1463, allocations: 3.938 kB / 494.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.1465, allocations: 193.5 kB / 494.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1465, allocations: 0 / 494.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.904e-05/0.1466, allocations: 8 kB / 494.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1466, allocations: 0 / 494.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1466, allocations: 0 / 494.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.1466, allocations: 192 / 494.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1466, allocations: 3.938 kB / 494.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.1469, allocations: 187.4 kB / 494.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.623e-05/0.147, allocations: 85 kB / 494.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.147, allocations: 3.938 kB / 494.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.317e-05/0.147, allocations: 4.031 kB / 494.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.1471, allocations: 7.938 kB / 494.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-06/0.1471, allocations: 7.938 kB / 494.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.283e-05/0.1472, allocations: 109.3 kB / 495 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1472, allocations: 4 kB / 495 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.1474, allocations: 8 kB / 495 MB, free: 13.94 MB / 366.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 0.0001301/0.1476, allocations: 103.2 kB / 495.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001533/0.1477, allocations: 31.92 kB / 495.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1478, allocations: 0 / 495.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.886e-05/0.1478, allocations: 19.98 kB / 495.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.1481, allocations: 12 kB / 495.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/0.1486, allocations: 215.9 kB / 495.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.149, allocations: 0.7001 MB / 496 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.119e-05/0.149, allocations: 4 kB / 496.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.149, allocations: 11.44 kB / 496.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.149, allocations: 4 kB / 496.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of Templates: time 0.003347/0.1524, allocations: 0.7676 MB / 496.8 MB, free: 12.02 MB / 366.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 -lv LOG_STATS > AES_AES.Devel_test_models.Test_FOPDT.pipe 2>&1)