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.000964/0.0009642, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.006044/0.006044, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.403/1.403, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2176/0.2176, allocations: 22.34 MB / 313.8 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003062/0.0003064, allocations: 8 kB / 380.5 MB, free: 12.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3228, allocations: 55.99 MB / 436.5 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.001364/0.3242, allocations: 1.173 MB / 437.7 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006429/0.3249, allocations: 0.4927 MB / 438.2 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.3249, allocations: 0 / 438.2 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.3252, allocations: 14.22 kB / 438.2 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.256e-05/0.3253, allocations: 22.06 kB / 438.2 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.3254, allocations: 48.45 kB / 438.3 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.3256, allocations: 113.8 kB / 438.4 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.306e-05/0.3257, allocations: 24.06 kB / 438.4 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.288e-05/0.3257, allocations: 40.89 kB / 438.4 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.3258, allocations: 54.16 kB / 438.5 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.3259, allocations: 2.562 kB / 438.5 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/0.3259, allocations: 5.938 kB / 438.5 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.608e-05/0.326, allocations: 31.44 kB / 438.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.168e-05/0.326, allocations: 62.06 kB / 438.6 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.271e-05/0.3261, allocations: 77.34 kB / 438.7 MB, free: 37.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3261, allocations: 3.938 kB / 438.7 MB, free: 37.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3261, allocations: 3.469 kB / 438.7 MB, free: 37.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.3261, allocations: 4 kB / 438.7 MB, free: 37.01 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.0007144/0.3268, allocations: 432.1 kB / 439.1 MB, free: 36.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3269, allocations: 11.78 kB / 439.1 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.3269, allocations: 10.44 kB / 439.1 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.3272, allocations: 240.9 kB / 439.3 MB, free: 36.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.3273, allocations: 384 / 439.3 MB, free: 36.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.3273, allocations: 3.906 kB / 439.3 MB, free: 36.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.3274, allocations: 82.41 kB / 439.4 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3274, allocations: 0 / 439.4 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3274, allocations: 0 / 439.4 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3274, allocations: 0 / 439.4 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.648e-05/0.3275, allocations: 50.42 kB / 439.5 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.328, allocations: 373.2 kB / 439.8 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.3281, allocations: 74.5 kB / 439.9 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/0.3282, allocations: 34.17 kB / 439.9 MB, free: 35.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.3282, allocations: 0 / 439.9 MB, free: 35.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.3282, allocations: 38.56 kB / 440 MB, free: 35.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.3282, allocations: 6.406 kB / 440 MB, free: 35.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002298/0.3285, allocations: 120 kB / 440.1 MB, free: 35.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.3285, allocations: 51.41 kB / 440.2 MB, free: 35.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.3288, allocations: 193.8 kB / 440.3 MB, free: 35.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.3288, allocations: 25.7 kB / 440.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.3289, allocations: 112.4 kB / 440.5 MB, free: 35.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.3289, allocations: 18.47 kB / 440.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.3289, allocations: 16.72 kB / 440.5 MB, free: 35.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.529e-05/0.329, allocations: 328.1 kB / 440.8 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.165e-05/0.329, allocations: 25.34 kB / 440.9 MB, free: 35.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.816e-05/0.3291, allocations: 31.69 kB / 440.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.652e-05/0.3292, allocations: 65.09 kB / 441 MB, free: 35.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3292, allocations: 2.562 kB / 441 MB, free: 35.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001312/0.3293, allocations: 115.7 kB / 441.1 MB, free: 35.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3293, allocations: 7.531 kB / 441.1 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3293, allocations: 0 / 441.1 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3294, allocations: 0 / 441.1 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.3295, allocations: 27.75 kB / 441.1 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3296, allocations: 0 / 441.1 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.3297, allocations: 23.17 kB / 441.1 MB, free: 35.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.3297, allocations: 0 / 441.1 MB, free: 35.06 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.293e-05/0.3298, allocations: 127.1 kB / 441.3 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.3298, allocations: 13.81 kB / 441.3 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.3298, allocations: 15.59 kB / 441.3 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3299, allocations: 0 / 441.3 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3299, allocations: 3.125 kB / 441.3 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3299, allocations: 3.328 kB / 441.3 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.33, allocations: 207.3 kB / 441.5 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.33, allocations: 3.984 kB / 441.5 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.615e-05/0.3301, allocations: 13.08 kB / 441.5 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3301, allocations: 0 / 441.5 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.3302, allocations: 7.125 kB / 441.5 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3302, allocations: 8 kB / 441.5 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3302, allocations: 0 / 441.5 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.3304, allocations: 230.1 kB / 441.7 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.3304, allocations: 88.06 kB / 441.8 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.3305, allocations: 3.938 kB / 441.8 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.3306, allocations: 16.44 kB / 441.9 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.3306, allocations: 6.234 kB / 441.9 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-06/0.3307, allocations: 4.062 kB / 441.9 MB, free: 34.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002228/0.3309, allocations: 158.2 kB / 442 MB, free: 34.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3309, allocations: 0 / 442 MB, free: 34.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.3311, allocations: 21.28 kB / 442 MB, free: 34.31 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 6.272e-05/0.3312, allocations: 90.94 kB / 442.1 MB, free: 34.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.3313, allocations: 70.23 kB / 442.2 MB, free: 34.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3313, allocations: 4 kB / 442.2 MB, free: 34.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.532e-05/0.3314, allocations: 35.86 kB / 442.2 MB, free: 34.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.3317, allocations: 14 kB / 442.3 MB, free: 34.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.3321, allocations: 279.1 kB / 442.5 MB, free: 33.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.3322, allocations: 0.7036 MB / 443.2 MB, free: 33.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.111e-05/0.3323, allocations: 19.67 kB / 443.2 MB, free: 33.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.3323, allocations: 12.47 kB / 443.3 MB, free: 33.28 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3323, allocations: 0 / 443.3 MB, free: 33.28 MB / 350.1 MB Notification: Performance of Templates: time 0.003019/0.3353, allocations: 0.9637 MB / 444.2 MB, free: 33.2 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)