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.001087/0.001087, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 182.6 kB / 16.92 MB, free: 6.918 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: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2124/0.2124, allocations: 22.36 MB / 314.4 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003256, allocations: 4 kB / 381.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2898, allocations: 55.97 MB / 437.2 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.001382/0.2912, allocations: 1.151 MB / 438.3 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003159/0.2916, allocations: 114.4 kB / 438.4 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.2916, allocations: 0 / 438.4 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.2917, allocations: 3.938 kB / 438.4 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.821e-05/0.2917, allocations: 6.25 kB / 438.4 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.2919, allocations: 28.41 kB / 438.5 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.107e-05/0.292, allocations: 28.45 kB / 438.5 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.147e-05/0.2921, allocations: 11.06 kB / 438.5 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.963e-05/0.2922, allocations: 9.406 kB / 438.5 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.199e-05/0.2922, allocations: 10.59 kB / 438.5 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.2922, allocations: 3.938 kB / 438.5 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.2922, allocations: 2.5 kB / 438.5 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.2923, allocations: 7.359 kB / 438.5 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.2923, allocations: 40.16 kB / 438.6 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.872e-05/0.2923, allocations: 25.67 kB / 438.6 MB, free: 37.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2924, allocations: 3.938 kB / 438.6 MB, free: 37.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2924, allocations: 0 / 438.6 MB, free: 37.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.646e-06/0.2924, allocations: 2.938 kB / 438.6 MB, free: 37.34 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.0002989/0.2927, allocations: 334.6 kB / 438.9 MB, free: 36.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.2927, allocations: 14.69 kB / 438.9 MB, free: 36.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.2927, allocations: 7.625 kB / 438.9 MB, free: 36.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.2929, allocations: 176.5 kB / 439.1 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.2929, allocations: 384 / 439.1 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.2929, allocations: 15.03 kB / 439.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.816e-05/0.293, allocations: 42.61 kB / 439.2 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.293, allocations: 192 / 439.2 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.293, allocations: 7.922 kB / 439.2 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.293, allocations: 0 / 439.2 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.424e-05/0.2931, allocations: 13.11 kB / 439.2 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.2933, allocations: 262.8 kB / 439.5 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.467e-05/0.2934, allocations: 25.05 kB / 439.5 MB, free: 36.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.577e-05/0.2934, allocations: 7.516 kB / 439.5 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.2934, allocations: 0 / 439.5 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.2935, allocations: 36.75 kB / 439.5 MB, free: 36.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.2935, allocations: 0 / 439.5 MB, free: 36.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001296/0.2936, allocations: 48.23 kB / 439.6 MB, free: 36.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.2936, allocations: 51.53 kB / 439.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.672e-05/0.2937, allocations: 121.4 kB / 439.7 MB, free: 36.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.143e-06/0.2937, allocations: 25.7 kB / 439.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.722e-05/0.2937, allocations: 90.89 kB / 439.9 MB, free: 36.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.081e-05/0.2938, allocations: 10.03 kB / 439.9 MB, free: 36.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.822e-05/0.2938, allocations: 13.72 kB / 439.9 MB, free: 35.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.392e-05/0.2938, allocations: 317.3 kB / 440.2 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.2938, allocations: 6.969 kB / 440.2 MB, free: 35.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.016e-05/0.2939, allocations: 6.609 kB / 440.2 MB, free: 35.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.676e-05/0.2939, allocations: 19.27 kB / 440.2 MB, free: 35.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2939, allocations: 3.938 kB / 440.2 MB, free: 35.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.725e-05/0.294, allocations: 52.2 kB / 440.3 MB, free: 35.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.294, allocations: 7.594 kB / 440.3 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.294, allocations: 3.984 kB / 440.3 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.294, allocations: 0 / 440.3 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.415e-05/0.2941, allocations: 5.719 kB / 440.3 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.2941, allocations: 0 / 440.3 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.2941, allocations: 3.938 kB / 440.3 MB, free: 35.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.2941, allocations: 2.938 kB / 440.3 MB, free: 35.6 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.944e-05/0.2942, allocations: 125 kB / 440.4 MB, free: 35.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.2942, allocations: 6.812 kB / 440.4 MB, free: 35.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.227e-05/0.2942, allocations: 3.531 kB / 440.4 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2942, allocations: 2.906 kB / 440.4 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2942, allocations: 0 / 440.4 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2942, allocations: 0 / 440.4 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.2944, allocations: 172.4 kB / 440.6 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2944, allocations: 0 / 440.6 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.2944, allocations: 6.219 kB / 440.6 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2944, allocations: 4 kB / 440.6 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.2944, allocations: 0 / 440.6 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2944, allocations: 0 / 440.6 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2944, allocations: 6.812 kB / 440.6 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.2946, allocations: 149.3 kB / 440.8 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.16e-05/0.2946, allocations: 81.02 kB / 440.8 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.2946, allocations: 0 / 440.8 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.801e-05/0.2947, allocations: 3.031 kB / 440.8 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.165e-05/0.2947, allocations: 7.375 kB / 440.9 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.2947, allocations: 0 / 440.9 MB, free: 35.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.046e-05/0.2947, allocations: 91.75 kB / 440.9 MB, free: 34.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2947, allocations: 0 / 440.9 MB, free: 34.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002087/0.2949, allocations: 5.906 kB / 440.9 MB, free: 34.93 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 6.14e-05/0.295, allocations: 94.69 kB / 441 MB, free: 34.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.776e-05/0.2951, allocations: 10.86 kB / 441.1 MB, free: 34.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2951, allocations: 4.281 kB / 441.1 MB, free: 34.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.11e-05/0.2951, allocations: 8.875 kB / 441.1 MB, free: 34.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.2954, allocations: 23.78 kB / 441.1 MB, free: 34.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/0.2957, allocations: 184.8 kB / 441.3 MB, free: 34.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.2958, allocations: 0.6836 MB / 442 MB, free: 33.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.2958, allocations: 14.38 kB / 442 MB, free: 33.94 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2958, allocations: 0 / 442 MB, free: 33.94 MB / 350.1 MB Notification: Performance of Templates: time 0.001684/0.2975, allocations: 0.6512 MB / 442.6 MB, free: 33.9 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)