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.006456/0.006456, allocations: 101.6 kB / 15.88 MB, free: 5.863 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.001532/0.001532, allocations: 190.6 kB / 16.79 MB, free: 5.805 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.32/1.32, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2342/0.2342, allocations: 22.35 MB / 313 MB, free: 12.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 59.91 kB / 378.7 MB, free: 13.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2745, allocations: 54.95 MB / 433.6 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002339/0.2769, allocations: 1.482 MB / 435.1 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003047/0.2772, allocations: 113.7 kB / 435.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.2773, allocations: 0 / 435.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.2773, allocations: 0 / 435.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.82e-05/0.2774, allocations: 11.27 kB / 435.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.2776, allocations: 23.12 kB / 435.3 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.459e-05/0.2777, allocations: 33.53 kB / 435.3 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.959e-05/0.2778, allocations: 9.75 kB / 435.3 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.992e-05/0.2778, allocations: 10.2 kB / 435.3 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.2779, allocations: 22.03 kB / 435.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.2779, allocations: 2.844 kB / 435.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.2779, allocations: 0 / 435.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.2779, allocations: 10.75 kB / 435.3 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.2779, allocations: 18.66 kB / 435.4 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.542e-05/0.278, allocations: 18.38 kB / 435.4 MB, free: 37.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.278, allocations: 0 / 435.4 MB, free: 37.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.278, allocations: 3.938 kB / 435.4 MB, free: 37.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.278, allocations: 0 / 435.4 MB, free: 37.54 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003372/0.2784, allocations: 348.8 kB / 435.7 MB, free: 37.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.2784, allocations: 8.625 kB / 435.7 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.2784, allocations: 4.281 kB / 435.7 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.2786, allocations: 179.6 kB / 435.9 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-06/0.2786, allocations: 3.312 kB / 435.9 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.2786, allocations: 384 / 435.9 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.767e-05/0.2787, allocations: 49.86 kB / 436 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2787, allocations: 4.125 kB / 436 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.2787, allocations: 3.938 kB / 436 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2787, allocations: 2.844 kB / 436 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.435e-05/0.2788, allocations: 6.109 kB / 436 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.2791, allocations: 282.2 kB / 436.3 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.602e-05/0.2791, allocations: 17.42 kB / 436.3 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.2792, allocations: 8.797 kB / 436.3 MB, free: 36.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.2792, allocations: 2.812 kB / 436.3 MB, free: 36.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.2792, allocations: 33.89 kB / 436.3 MB, free: 36.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.2792, allocations: 0 / 436.3 MB, free: 36.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001355/0.2793, allocations: 45.14 kB / 436.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.2794, allocations: 55.34 kB / 436.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.675e-05/0.2795, allocations: 119.1 kB / 436.5 MB, free: 36.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.284e-06/0.2795, allocations: 25.7 kB / 436.6 MB, free: 36.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.2795, allocations: 90.98 kB / 436.6 MB, free: 36.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.2795, allocations: 11.17 kB / 436.7 MB, free: 36.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.2795, allocations: 16.53 kB / 436.7 MB, free: 36.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.836e-05/0.2796, allocations: 317.6 kB / 437 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/0.2796, allocations: 14.3 kB / 437 MB, free: 35.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.628e-06/0.2796, allocations: 3.844 kB / 437 MB, free: 35.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.769e-05/0.2797, allocations: 19.16 kB / 437 MB, free: 35.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2797, allocations: 0 / 437 MB, free: 35.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.807e-05/0.2797, allocations: 48.95 kB / 437.1 MB, free: 35.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.2798, allocations: 9.688 kB / 437.1 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2798, allocations: 0 / 437.1 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2798, allocations: 0 / 437.1 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.597e-05/0.2798, allocations: 6.875 kB / 437.1 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2798, allocations: 2.875 kB / 437.1 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.2799, allocations: 11.94 kB / 437.1 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.2799, allocations: 0 / 437.1 MB, free: 35.78 MB / 350.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 4.829e-05/0.2799, allocations: 119.8 kB / 437.2 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.28, allocations: 2.938 kB / 437.2 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.28, allocations: 7.531 kB / 437.2 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.28, allocations: 0 / 437.2 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.28, allocations: 0 / 437.2 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.28, allocations: 2.875 kB / 437.2 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.2801, allocations: 161.9 kB / 437.4 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2801, allocations: 4 kB / 437.4 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.2802, allocations: 9.016 kB / 437.4 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2802, allocations: 0 / 437.4 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.2802, allocations: 0 / 437.4 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2802, allocations: 0 / 437.4 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2802, allocations: 0 / 437.4 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.2803, allocations: 159.2 kB / 437.6 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/0.2804, allocations: 77.11 kB / 437.6 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.2804, allocations: 8.094 kB / 437.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.378e-05/0.2804, allocations: 6.875 kB / 437.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.2805, allocations: 3.328 kB / 437.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.2805, allocations: 0 / 437.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.093e-05/0.2805, allocations: 91.34 kB / 437.7 MB, free: 35.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2805, allocations: 0 / 437.7 MB, free: 35.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.2807, allocations: 10.81 kB / 437.7 MB, free: 35.11 MB / 350.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 5.859e-05/0.2808, allocations: 89.25 kB / 437.8 MB, free: 35.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.343e-05/0.2809, allocations: 12.59 kB / 437.8 MB, free: 35.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2809, allocations: 0 / 437.8 MB, free: 35.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.164e-05/0.2809, allocations: 11.06 kB / 437.9 MB, free: 35.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.2812, allocations: 15.86 kB / 437.9 MB, free: 35.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.2815, allocations: 186.3 kB / 438.1 MB, free: 34.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.2817, allocations: 0.6852 MB / 438.7 MB, free: 34.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.053e-05/0.2817, allocations: 10.31 kB / 438.7 MB, free: 34.13 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2817, allocations: 0 / 438.7 MB, free: 34.13 MB / 350.1 MB Notification: Performance of Templates: time 0.001671/0.2834, allocations: 0.6601 MB / 439.4 MB, free: 34.09 MB / 350.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)