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.001108/0.001108, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001518/0.001519, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.334/1.334, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2225/0.2225, allocations: 22.35 MB / 312.3 MB, free: 12.68 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.91 kB / 378 MB, free: 13.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2978, allocations: 54.94 MB / 433 MB, free: 38.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.00236/0.3002, allocations: 1.513 MB / 434.5 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007137/0.301, allocations: 0.4966 MB / 435 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/0.301, allocations: 0 / 435 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.3013, allocations: 13.03 kB / 435 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.974e-05/0.3014, allocations: 31.28 kB / 435 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.3016, allocations: 45.48 kB / 435.1 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.3017, allocations: 117.4 kB / 435.2 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.477e-05/0.3018, allocations: 19.66 kB / 435.2 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.021e-05/0.3019, allocations: 39.91 kB / 435.3 MB, free: 37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.302, allocations: 64.48 kB / 435.3 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.302, allocations: 7.812 kB / 435.3 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.701e-05/0.3021, allocations: 3 kB / 435.3 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.045e-05/0.3021, allocations: 37.2 kB / 435.4 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.3022, allocations: 28.95 kB / 435.4 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.209e-05/0.3023, allocations: 79.91 kB / 435.5 MB, free: 36.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3023, allocations: 0 / 435.5 MB, free: 36.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.3023, allocations: 0 / 435.5 MB, free: 36.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.3023, allocations: 2.781 kB / 435.5 MB, free: 36.9 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.0007468/0.303, allocations: 454.3 kB / 435.9 MB, free: 36.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3031, allocations: 14.06 kB / 435.9 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.3031, allocations: 11.8 kB / 435.9 MB, free: 36.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.3035, allocations: 233.6 kB / 436.2 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.3035, allocations: 3.312 kB / 436.2 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.3035, allocations: 7.312 kB / 436.2 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.3037, allocations: 83.14 kB / 436.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3037, allocations: 4 kB / 436.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3037, allocations: 3.031 kB / 436.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3037, allocations: 0 / 436.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.288e-05/0.3038, allocations: 48.75 kB / 436.3 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.3043, allocations: 361.5 kB / 436.7 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.3044, allocations: 84.55 kB / 436.8 MB, free: 35.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.436e-05/0.3045, allocations: 31.23 kB / 436.8 MB, free: 35.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.3045, allocations: 3.375 kB / 436.8 MB, free: 35.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.3045, allocations: 33.44 kB / 436.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.3045, allocations: 0 / 436.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002327/0.3048, allocations: 122.1 kB / 436.9 MB, free: 35.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.3048, allocations: 51.41 kB / 437 MB, free: 35.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.3051, allocations: 192.8 kB / 437.2 MB, free: 35.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.3051, allocations: 32.33 kB / 437.2 MB, free: 35.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.3051, allocations: 106.3 kB / 437.3 MB, free: 35.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.3052, allocations: 18.05 kB / 437.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.3052, allocations: 20.12 kB / 437.3 MB, free: 35.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.667e-05/0.3053, allocations: 328.9 kB / 437.7 MB, free: 35.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/0.3053, allocations: 28.2 kB / 437.7 MB, free: 35.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.955e-05/0.3054, allocations: 34.69 kB / 437.7 MB, free: 35.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.893e-05/0.3054, allocations: 78.42 kB / 437.8 MB, free: 35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.3055, allocations: 3.938 kB / 437.8 MB, free: 34.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001291/0.3056, allocations: 110.7 kB / 437.9 MB, free: 34.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3056, allocations: 5.281 kB / 437.9 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3056, allocations: 0 / 437.9 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3056, allocations: 2.875 kB / 437.9 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.3058, allocations: 24.91 kB / 438 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3058, allocations: 0 / 438 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.306, allocations: 24.58 kB / 438 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.306, allocations: 0 / 438 MB, free: 34.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/0.306, allocations: 128.4 kB / 438.1 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.3061, allocations: 10.25 kB / 438.1 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.914e-05/0.3061, allocations: 17.53 kB / 438.1 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3061, allocations: 0 / 438.1 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3061, allocations: 3.188 kB / 438.1 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3061, allocations: 6.969 kB / 438.1 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.3063, allocations: 199.1 kB / 438.3 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3063, allocations: 7.234 kB / 438.3 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.644e-05/0.3064, allocations: 14.66 kB / 438.4 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3064, allocations: 0 / 438.4 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3064, allocations: 3.188 kB / 438.4 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3064, allocations: 2.125 kB / 438.4 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3064, allocations: 0 / 438.4 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.3066, allocations: 228.8 kB / 438.6 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.3067, allocations: 90.23 kB / 438.7 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.3067, allocations: 4.062 kB / 438.7 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.3069, allocations: 14.48 kB / 438.7 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.3069, allocations: 8.469 kB / 438.7 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.3069, allocations: 0 / 438.7 MB, free: 34.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000214/0.3071, allocations: 150 kB / 438.8 MB, free: 34.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3071, allocations: 0 / 438.8 MB, free: 34.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002197/0.3074, allocations: 11 kB / 438.9 MB, free: 34.19 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.197e-05/0.3074, allocations: 113.2 kB / 439 MB, free: 34.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.3076, allocations: 64.73 kB / 439 MB, free: 34.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3076, allocations: 2.656 kB / 439 MB, free: 34.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.09e-05/0.3077, allocations: 37.72 kB / 439.1 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.3079, allocations: 14.25 kB / 439.1 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/0.3084, allocations: 283.5 kB / 439.4 MB, free: 33.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.3085, allocations: 0.7027 MB / 440.1 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.438e-05/0.3086, allocations: 24.5 kB / 440.1 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.3087, allocations: 16.78 kB / 440.1 MB, free: 33.13 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3087, allocations: 0 / 440.1 MB, free: 33.13 MB / 350.1 MB Notification: Performance of Templates: time 0.003054/0.3117, allocations: 0.9727 MB / 441.1 MB, free: 33.05 MB / 350.1 MB make -j1 -f AES_AES.ProcessBlocks.SOPDT_overdamped.makefile (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)