Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessBlocks.SOPDT_overdamped.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.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.SOPDT_overdamped") translateModel(AES.ProcessBlocks.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.SOPDT_overdamped") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 99.7 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.001067/0.001067, allocations: 177.3 kB / 15.95 MB, free: 216 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.455/1.455, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2017/0.2017, allocations: 22.34 MB / 313.3 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002934, allocations: 8 kB / 379.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.383, allocations: 55.97 MB / 435.8 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.001535/0.3846, allocations: 1.168 MB / 437 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006867/0.3853, allocations: 467.7 kB / 437.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.394e-05/0.3854, allocations: 3.031 kB / 437.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.3856, allocations: 17.25 kB / 437.4 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.55e-05/0.3858, allocations: 23.95 kB / 437.5 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.3859, allocations: 46.23 kB / 437.5 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.386, allocations: 62.36 kB / 437.6 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3862, allocations: 18.33 kB / 437.6 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.983e-05/0.3863, allocations: 54.45 kB / 437.6 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.3864, allocations: 49.78 kB / 437.7 MB, free: 37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3864, allocations: 3.688 kB / 437.7 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.626e-05/0.3864, allocations: 2.75 kB / 437.7 MB, free: 37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.008e-05/0.3865, allocations: 30.73 kB / 437.7 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.3865, allocations: 47.2 kB / 437.8 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.279e-05/0.3866, allocations: 56.17 kB / 437.8 MB, free: 36.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.3866, allocations: 2.688 kB / 437.8 MB, free: 36.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3866, allocations: 0 / 437.8 MB, free: 36.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.3866, allocations: 0 / 437.8 MB, free: 36.93 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000744/0.3874, allocations: 438.3 kB / 438.2 MB, free: 36.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3874, allocations: 10.91 kB / 438.3 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.3875, allocations: 9.031 kB / 438.3 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.3878, allocations: 230.4 kB / 438.5 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.3879, allocations: 2.781 kB / 438.5 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.3879, allocations: 6.906 kB / 438.5 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.388, allocations: 79.09 kB / 438.6 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3881, allocations: 4 kB / 438.6 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3881, allocations: 6.797 kB / 438.6 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.3881, allocations: 0 / 438.6 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.07e-05/0.3882, allocations: 53.27 kB / 438.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.3887, allocations: 364.2 kB / 439 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.3888, allocations: 82.42 kB / 439.1 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.3888, allocations: 3.031 kB / 439.1 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.3889, allocations: 30.56 kB / 439.1 MB, free: 35.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.3889, allocations: 0 / 439.1 MB, free: 35.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002443/0.3891, allocations: 128.6 kB / 439.2 MB, free: 35.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.3892, allocations: 54.31 kB / 439.3 MB, free: 35.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.3895, allocations: 190.8 kB / 439.5 MB, free: 35.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.3895, allocations: 32.98 kB / 439.5 MB, free: 35.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.3895, allocations: 106.1 kB / 439.6 MB, free: 35.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.3896, allocations: 17.75 kB / 439.6 MB, free: 35.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.3896, allocations: 4 kB / 439.6 MB, free: 35.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.842e-05/0.3896, allocations: 321.3 kB / 439.9 MB, free: 35.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/0.3897, allocations: 30.69 kB / 440 MB, free: 35.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.955e-05/0.3897, allocations: 32.31 kB / 440 MB, free: 35.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.947e-05/0.3898, allocations: 37.05 kB / 440 MB, free: 35.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3898, allocations: 0 / 440 MB, free: 35.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001308/0.3899, allocations: 115.8 kB / 440.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3899, allocations: 6.375 kB / 440.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.39, allocations: 0 / 440.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.39, allocations: 0 / 440.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.3902, allocations: 22.31 kB / 440.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3902, allocations: 0 / 440.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.3903, allocations: 22.72 kB / 440.2 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.3903, allocations: 2.594 kB / 440.2 MB, free: 35.02 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 (8): * Single equations (assignments): 8 * 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 6.233e-05/0.3904, allocations: 127 kB / 440.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.3904, allocations: 13.2 kB / 440.3 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.3905, allocations: 11.34 kB / 440.4 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3905, allocations: 0 / 440.4 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3905, allocations: 2.312 kB / 440.4 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3905, allocations: 0 / 440.4 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.3906, allocations: 199.2 kB / 440.6 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3907, allocations: 0 / 440.6 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.878e-05/0.3908, allocations: 22.42 kB / 440.6 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3908, allocations: 7.938 kB / 440.6 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3908, allocations: 3.953 kB / 440.6 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3908, allocations: 2.875 kB / 440.6 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3908, allocations: 0 / 440.6 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.391, allocations: 225.5 kB / 440.8 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-05/0.3911, allocations: 87.95 kB / 440.9 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.3911, allocations: 5.828 kB / 440.9 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.3912, allocations: 22.88 kB / 440.9 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.3913, allocations: 9.906 kB / 440.9 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.3913, allocations: 2.875 kB / 440.9 MB, free: 34.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002183/0.3915, allocations: 149.2 kB / 441.1 MB, free: 34.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3915, allocations: 0 / 441.1 MB, free: 34.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.3917, allocations: 14.88 kB / 441.1 MB, free: 34.29 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Pr.x_scaled[1],Pr.x_scaled[2]) * 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 (6): * Single equations (assignments): 6 * 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 7.472e-05/0.3918, allocations: 101 kB / 441.2 MB, free: 34.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.392, allocations: 66.34 kB / 441.3 MB, free: 34.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.392, allocations: 2.719 kB / 441.3 MB, free: 34.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.641e-05/0.392, allocations: 32.81 kB / 441.3 MB, free: 34.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.3923, allocations: 12.78 kB / 441.3 MB, free: 34.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.3927, allocations: 268 kB / 441.6 MB, free: 33.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.3928, allocations: 0.7114 MB / 442.3 MB, free: 33.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.251e-05/0.3929, allocations: 20.12 kB / 442.3 MB, free: 33.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.3929, allocations: 12.91 kB / 442.3 MB, free: 33.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.393, allocations: 4 kB / 442.3 MB, free: 33.26 MB / 350.1 MB Notification: Performance of Templates: time 0.003116/0.3961, allocations: 0.8963 MB / 443.2 MB, free: 33.18 MB / 350.1 MB make -j1 -f AES_AES.ProcessBlocks.SOPDT_overdamped.makefile Environment - environmentSimulation: (rm -f AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; mkfifo AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.SOPDT_overdamped.pipe >> ../files/AES_AES.ProcessBlocks.SOPDT_overdamped.sim & ./AES_AES.ProcessBlocks.SOPDT_overdamped -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1) Environment - environmentSimulation: