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.001412/0.001412, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.00169/0.00169, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2422/0.2422, allocations: 22.33 MB / 313.3 MB, free: 13.18 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003588, allocations: 8 kB / 379.8 MB, free: 12.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3671, allocations: 55.98 MB / 435.8 MB, free: 38.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.001531/0.3687, allocations: 1.129 MB / 436.9 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002634/0.3689, allocations: 116 kB / 437 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.369, allocations: 0 / 437 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.369, allocations: 7.938 kB / 437 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.797e-05/0.3691, allocations: 6.453 kB / 437 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.3693, allocations: 16.75 kB / 437.1 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.428e-05/0.3694, allocations: 19.5 kB / 437.1 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3695, allocations: 20.81 kB / 437.1 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.175e-05/0.3695, allocations: 3.75 kB / 437.1 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/0.3696, allocations: 15.19 kB / 437.1 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.3696, allocations: 0 / 437.1 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.118e-05/0.3696, allocations: 0 / 437.1 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.3697, allocations: 10.66 kB / 437.1 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.3697, allocations: 25.7 kB / 437.2 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.184e-05/0.3697, allocations: 25.53 kB / 437.2 MB, free: 37.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3697, allocations: 0 / 437.2 MB, free: 37.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.3698, allocations: 0 / 437.2 MB, free: 37.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.3698, allocations: 3.938 kB / 437.2 MB, free: 37.25 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.0003568/0.3701, allocations: 337.1 kB / 437.5 MB, free: 36.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3702, allocations: 7.906 kB / 437.5 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.3702, allocations: 6.5 kB / 437.5 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.3704, allocations: 183.4 kB / 437.7 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3704, allocations: 2.969 kB / 437.7 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.3704, allocations: 0 / 437.7 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.311e-05/0.3705, allocations: 46.5 kB / 437.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3705, allocations: 3.281 kB / 437.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3705, allocations: 3.953 kB / 437.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.3706, allocations: 0 / 437.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.737e-05/0.3706, allocations: 9.625 kB / 437.8 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.3709, allocations: 271.8 kB / 438 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.912e-05/0.371, allocations: 25.19 kB / 438.1 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.371, allocations: 2.5 kB / 438.1 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.371, allocations: 34.5 kB / 438.1 MB, free: 36.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.371, allocations: 0 / 438.1 MB, free: 36.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001576/0.3712, allocations: 48.81 kB / 438.1 MB, free: 36.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.3712, allocations: 55.53 kB / 438.2 MB, free: 36.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.848e-05/0.3713, allocations: 112.5 kB / 438.3 MB, free: 36.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.3713, allocations: 32.67 kB / 438.3 MB, free: 36.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.3714, allocations: 88.05 kB / 438.4 MB, free: 35.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.068e-05/0.3714, allocations: 6.969 kB / 438.4 MB, free: 35.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.3714, allocations: 0 / 438.4 MB, free: 35.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.42e-05/0.3715, allocations: 314.2 kB / 438.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.3715, allocations: 6.969 kB / 438.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.227e-06/0.3715, allocations: 2.938 kB / 438.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.747e-05/0.3715, allocations: 13.47 kB / 438.8 MB, free: 35.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3715, allocations: 0 / 438.8 MB, free: 35.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.621e-05/0.3716, allocations: 56.2 kB / 438.8 MB, free: 35.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.3716, allocations: 5.75 kB / 438.8 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3716, allocations: 0 / 438.8 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3716, allocations: 0 / 438.8 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.047e-05/0.3717, allocations: 6.297 kB / 438.8 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3717, allocations: 2.906 kB / 438.8 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.3717, allocations: 7.875 kB / 438.8 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.3717, allocations: 0 / 438.8 MB, free: 35.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/0.3718, allocations: 118 kB / 439 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.3718, allocations: 3.953 kB / 439 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.3719, allocations: 6.719 kB / 439 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3719, allocations: 0 / 439 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3719, allocations: 0 / 439 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3719, allocations: 3.422 kB / 439 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.372, allocations: 168.7 kB / 439.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.372, allocations: 0 / 439.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.3721, allocations: 6.938 kB / 439.1 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.3721, allocations: 4 kB / 439.1 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3721, allocations: 4.328 kB / 439.1 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3721, allocations: 3.031 kB / 439.1 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3721, allocations: 0 / 439.1 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.3722, allocations: 141 kB / 439.3 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.3723, allocations: 88.19 kB / 439.4 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.3723, allocations: 3.031 kB / 439.4 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.18e-05/0.3723, allocations: 3.953 kB / 439.4 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.3723, allocations: 4.094 kB / 439.4 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.3724, allocations: 0 / 439.4 MB, free: 34.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.406e-05/0.3724, allocations: 91.14 kB / 439.5 MB, free: 34.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3724, allocations: 0 / 439.5 MB, free: 34.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.3726, allocations: 6.031 kB / 439.5 MB, free: 34.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.524e-05/0.3727, allocations: 93.97 kB / 439.6 MB, free: 34.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.396e-05/0.3728, allocations: 16.16 kB / 439.6 MB, free: 34.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3728, allocations: 4 kB / 439.6 MB, free: 34.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.458e-06/0.3728, allocations: 2.906 kB / 439.6 MB, free: 34.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.3731, allocations: 7.062 kB / 439.6 MB, free: 34.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.3733, allocations: 159.3 kB / 439.8 MB, free: 34.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.3735, allocations: 0.6874 MB / 440.4 MB, free: 33.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.92e-05/0.3735, allocations: 7.125 kB / 440.4 MB, free: 33.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.934e-05/0.3735, allocations: 14.34 kB / 440.5 MB, free: 33.94 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3735, allocations: 0 / 440.5 MB, free: 33.94 MB / 350.1 MB Notification: Performance of Templates: time 0.002467/0.376, allocations: 392.9 kB / 440.8 MB, free: 33.88 MB / 350.1 MB make -j1 -f AES_AES.ProcessBlocks.FOPDT.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: