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.007084/0.007084, allocations: 102.3 kB / 15.73 MB, free: 5.992 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.001285/0.001285, allocations: 193.6 kB / 16.67 MB, free: 5.922 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09004/0.09004, allocations: 22.32 MB / 312.8 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.91 kB / 434.9 MB, free: 13.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1365, allocations: 54.95 MB / 489.9 MB, free: 6.855 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002903/0.1395, allocations: 1.655 MB / 491.5 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004174/0.1399, allocations: 147.5 kB / 491.7 MB, free: 5.043 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.991e-05/0.14, allocations: 4 kB / 491.7 MB, free: 5.039 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.642e-05/0.14, allocations: 7.875 kB / 491.7 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.1402, allocations: 23.78 kB / 491.7 MB, free: 5.008 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.1406, allocations: 47.89 kB / 491.8 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.1408, allocations: 83.77 kB / 491.8 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/0.141, allocations: 31.98 kB / 491.9 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.186e-05/0.1411, allocations: 31.86 kB / 491.9 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.1413, allocations: 35.73 kB / 491.9 MB, free: 4.781 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.1413, allocations: 8 kB / 491.9 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.2e-05/0.1413, allocations: 8 kB / 491.9 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.032e-05/0.1414, allocations: 19.91 kB / 492 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.1414, allocations: 31.81 kB / 492 MB, free: 4.715 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.1416, allocations: 87.59 kB / 492.1 MB, free: 4.629 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/0.1416, allocations: 7.984 kB / 492.1 MB, free: 4.621 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.09e-06/0.1416, allocations: 0 / 492.1 MB, free: 4.621 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1417, allocations: 3.938 kB / 492.1 MB, free: 4.617 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007217/0.1424, allocations: 379.2 kB / 492.5 MB, free: 4.195 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.1425, allocations: 8.031 kB / 492.5 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.1425, allocations: 12.75 kB / 492.5 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.1429, allocations: 206.6 kB / 492.7 MB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.1429, allocations: 8.359 kB / 492.7 MB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.1429, allocations: 8.375 kB / 492.7 MB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.1431, allocations: 66.25 kB / 492.8 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1432, allocations: 192 / 492.8 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.1432, allocations: 7.922 kB / 492.8 MB, free: 3.844 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.1432, allocations: 4 kB / 492.8 MB, free: 3.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.23e-05/0.1433, allocations: 23.98 kB / 492.8 MB, free: 3.816 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005798/0.1439, allocations: 348.5 kB / 493.1 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.1443, allocations: 62.48 kB / 493.2 MB, free: 3.355 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.287e-05/0.1443, allocations: 16.92 kB / 493.2 MB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1444, allocations: 0 / 493.2 MB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.1444, allocations: 34.56 kB / 493.3 MB, free: 3.293 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1444, allocations: 7.938 kB / 493.3 MB, free: 3.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.000281/0.1447, allocations: 69.58 kB / 493.3 MB, free: 3.211 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.1447, allocations: 55.41 kB / 493.4 MB, free: 3.145 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.1449, allocations: 141.8 kB / 493.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.1449, allocations: 25.7 kB / 493.6 MB, free: 2.965 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.145, allocations: 104 kB / 493.7 MB, free: 2.859 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.145, allocations: 19.8 kB / 493.7 MB, free: 2.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.145, allocations: 17.72 kB / 493.7 MB, free: 2.816 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1452, allocations: 322.8 kB / 494 MB, free: 2.492 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.707e-05/0.1452, allocations: 19.98 kB / 494 MB, free: 2.473 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.574e-05/0.1453, allocations: 12 kB / 494 MB, free: 2.461 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.854e-05/0.1454, allocations: 36.84 kB / 494.1 MB, free: 2.422 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1454, allocations: 0 / 494.1 MB, free: 2.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000118/0.1455, allocations: 65.61 kB / 494.1 MB, free: 2.352 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1455, allocations: 11.98 kB / 494.1 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1455, allocations: 0 / 494.1 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1455, allocations: 4 kB / 494.2 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.651e-05/0.1456, allocations: 11.94 kB / 494.2 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1456, allocations: 192 / 494.2 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.1457, allocations: 15.88 kB / 494.2 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1457, allocations: 4 kB / 494.2 MB, free: 2.305 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 0.0001045/0.1458, allocations: 118.6 kB / 494.3 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.1458, allocations: 7.906 kB / 494.3 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/0.1459, allocations: 12.23 kB / 494.3 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1459, allocations: 192 / 494.3 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1459, allocations: 8 kB / 494.3 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.1459, allocations: 7.922 kB / 494.3 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.1461, allocations: 193.6 kB / 494.5 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1461, allocations: 0 / 494.5 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.566e-05/0.1462, allocations: 8 kB / 494.5 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1462, allocations: 0 / 494.5 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1462, allocations: 0 / 494.5 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1462, allocations: 0 / 494.5 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1462, allocations: 0 / 494.5 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.1465, allocations: 187.3 kB / 494.7 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.1465, allocations: 85 kB / 494.8 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.1466, allocations: 4 kB / 494.8 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/0.1466, allocations: 4.031 kB / 494.8 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.1467, allocations: 3.938 kB / 494.8 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.1467, allocations: 4 kB / 494.8 MB, free: 1.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.68e-05/0.1468, allocations: 109.1 kB / 494.9 MB, free: 1.469 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1468, allocations: 0 / 494.9 MB, free: 1.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002178/0.147, allocations: 19.91 kB / 494.9 MB, free: 1.449 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.0001305/0.1471, allocations: 99.25 kB / 495 MB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.1473, allocations: 31.92 kB / 495.1 MB, free: 1.312 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1473, allocations: 0 / 495.1 MB, free: 1.312 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.633e-05/0.1474, allocations: 19.98 kB / 495.1 MB, free: 1.293 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.1477, allocations: 12 kB / 495.1 MB, free: 1.281 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.1481, allocations: 211.9 kB / 495.3 MB, free: 1.047 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.1484, allocations: 0.6924 MB / 496 MB, free: 336 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.503e-05/0.1484, allocations: 7.984 kB / 496 MB, free: 328 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.1485, allocations: 15.44 kB / 496 MB, free: 312 kB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1485, allocations: 0 / 496 MB, free: 312 kB / 366.1 MB Notification: Performance of Templates: time 0.002945/0.1514, allocations: 0.7956 MB / 496.8 MB, free: 15.51 MB / 382.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)