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.001135/0.001135, allocations: 104.6 kB / 16.41 MB, free: 6.508 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.001015/0.001015, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08921/0.08921, allocations: 22.32 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.001331, allocations: 59.84 kB / 435.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1116, allocations: 54.95 MB / 490.5 MB, free: 6.898 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.003337/0.115, allocations: 1.424 MB / 492 MB, free: 5.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004355/0.1155, allocations: 115.6 kB / 492.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.258e-05/0.1156, allocations: 0 / 492.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.322e-05/0.1157, allocations: 3.938 kB / 492.1 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.293e-05/0.1158, allocations: 7.875 kB / 492.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.1161, allocations: 23.97 kB / 492.1 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.1162, allocations: 35.86 kB / 492.1 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1164, allocations: 15.98 kB / 492.2 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.499e-05/0.1164, allocations: 11.94 kB / 492.2 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.104e-05/0.1165, allocations: 23.84 kB / 492.2 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1165, allocations: 0 / 492.2 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.1165, allocations: 7.938 kB / 492.2 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.1166, allocations: 0 / 492.2 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.1166, allocations: 19.86 kB / 492.2 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.951e-05/0.1167, allocations: 19.92 kB / 492.2 MB, free: 5.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1167, allocations: 0 / 492.2 MB, free: 5.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1167, allocations: 0 / 492.2 MB, free: 5.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1167, allocations: 3.938 kB / 492.2 MB, free: 5.176 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.0004936/0.1172, allocations: 355.3 kB / 492.6 MB, free: 4.777 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1173, allocations: 8.031 kB / 492.6 MB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.1173, allocations: 4.938 kB / 492.6 MB, free: 4.766 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.1176, allocations: 184.2 kB / 492.8 MB, free: 4.547 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1176, allocations: 384 / 492.8 MB, free: 4.547 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.1177, allocations: 4.375 kB / 492.8 MB, free: 4.543 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.1178, allocations: 38.27 kB / 492.8 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1178, allocations: 8.109 kB / 492.8 MB, free: 4.492 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1178, allocations: 11.94 kB / 492.8 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1178, allocations: 0 / 492.8 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.092e-05/0.1179, allocations: 15.94 kB / 492.9 MB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.1183, allocations: 260.8 kB / 493.1 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.168e-05/0.1184, allocations: 30.5 kB / 493.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.759e-05/0.1184, allocations: 16.91 kB / 493.2 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.1184, allocations: 4 kB / 493.2 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.1185, allocations: 34.56 kB / 493.2 MB, free: 4.055 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.1185, allocations: 0 / 493.2 MB, free: 4.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001805/0.1186, allocations: 41.7 kB / 493.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.1187, allocations: 51.41 kB / 493.3 MB, free: 3.945 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.1188, allocations: 117.8 kB / 493.4 MB, free: 3.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.1188, allocations: 25.7 kB / 493.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.1189, allocations: 100.5 kB / 493.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.1189, allocations: 7.844 kB / 493.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.119, allocations: 17.7 kB / 493.5 MB, free: 3.656 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1191, allocations: 318.8 kB / 493.9 MB, free: 3.336 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.1191, allocations: 7.938 kB / 493.9 MB, free: 3.328 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.555e-05/0.1191, allocations: 8 kB / 493.9 MB, free: 3.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.152e-05/0.1192, allocations: 16.84 kB / 493.9 MB, free: 3.301 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1192, allocations: 4 kB / 493.9 MB, free: 3.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.163e-05/0.1193, allocations: 45.61 kB / 493.9 MB, free: 3.246 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1193, allocations: 8 kB / 493.9 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.1193, allocations: 0 / 493.9 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1193, allocations: 0 / 493.9 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.402e-05/0.1194, allocations: 11.92 kB / 494 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1194, allocations: 0 / 494 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.1194, allocations: 0 / 494 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1195, allocations: 4 kB / 494 MB, free: 3.223 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 8.793e-05/0.1195, allocations: 118.5 kB / 494.1 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.1196, allocations: 4 kB / 494.1 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.1196, allocations: 7.531 kB / 494.1 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1196, allocations: 0 / 494.1 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.1196, allocations: 0 / 494.1 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1196, allocations: 3.938 kB / 494.1 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.1199, allocations: 286.6 kB / 494.4 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1199, allocations: 0 / 494.4 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.292e-05/0.12, allocations: 7.938 kB / 494.4 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.12, allocations: 0 / 494.4 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.12, allocations: 0 / 494.4 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.12, allocations: 4.031 kB / 494.4 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.12, allocations: 4 kB / 494.4 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.1202, allocations: 143.4 kB / 494.5 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.1202, allocations: 85.14 kB / 494.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.1202, allocations: 0 / 494.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.889e-05/0.1203, allocations: 4 kB / 494.6 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.1203, allocations: 0 / 494.6 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.1203, allocations: 7.922 kB / 494.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.584e-05/0.1204, allocations: 95.38 kB / 494.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1204, allocations: 0 / 494.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.1206, allocations: 8.188 kB / 494.7 MB, free: 2.355 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 8.983e-05/0.1207, allocations: 91.19 kB / 494.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.982e-05/0.1208, allocations: 23.92 kB / 494.8 MB, free: 2.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1208, allocations: 0 / 494.8 MB, free: 2.234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.089e-05/0.1208, allocations: 4 kB / 494.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.1212, allocations: 12.06 kB / 494.9 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.1215, allocations: 164.5 kB / 495 MB, free: 2.023 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1218, allocations: 0.6845 MB / 495.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.1218, allocations: 11.44 kB / 495.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1218, allocations: 0 / 495.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of Templates: time 0.00236/0.1242, allocations: 0.6561 MB / 496.4 MB, free: 0.6445 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)