Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.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.Devel_test_models.Test_SR01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SR01") translateModel(AES.Devel_test_models.Test_SR01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SR01") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001772/0.001772, allocations: 194.7 kB / 16.14 MB, free: 6.648 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2008/0.2008, allocations: 22.36 MB / 312.3 MB, free: 12.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001315, allocations: 63.89 kB / 380.1 MB, free: 11.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2589, allocations: 54.93 MB / 435 MB, free: 39.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.001816/0.2607, allocations: 0.7796 MB / 435.8 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001321/0.2609, allocations: 16.7 kB / 435.8 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.787e-05/0.2609, allocations: 0 / 435.8 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.261, allocations: 7.266 kB / 435.8 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.483e-05/0.2611, allocations: 4 kB / 435.8 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.71e-05/0.2611, allocations: 6.844 kB / 435.8 MB, free: 39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.972e-05/0.2612, allocations: 19.17 kB / 435.9 MB, free: 39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.01e-05/0.2613, allocations: 2.688 kB / 435.9 MB, free: 39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.276e-05/0.2613, allocations: 16.06 kB / 435.9 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.701e-05/0.2614, allocations: 10.53 kB / 435.9 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.2614, allocations: 2.469 kB / 435.9 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.728e-06/0.2614, allocations: 3.938 kB / 435.9 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.2614, allocations: 5.938 kB / 435.9 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.2614, allocations: 7.938 kB / 435.9 MB, free: 38.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.867e-05/0.2615, allocations: 19.67 kB / 435.9 MB, free: 38.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2615, allocations: 0 / 435.9 MB, free: 38.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.2615, allocations: 0 / 435.9 MB, free: 38.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.2615, allocations: 0 / 435.9 MB, free: 38.96 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003044/0.2618, allocations: 333.9 kB / 436.3 MB, free: 38.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.2619, allocations: 13.47 kB / 436.3 MB, free: 38.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.2619, allocations: 3.469 kB / 436.3 MB, free: 38.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.635e-05/0.262, allocations: 164.4 kB / 436.4 MB, free: 38.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.262, allocations: 3.312 kB / 436.4 MB, free: 38.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.262, allocations: 4.375 kB / 436.4 MB, free: 38.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.251e-05/0.2621, allocations: 41.06 kB / 436.5 MB, free: 38.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.2621, allocations: 4.125 kB / 436.5 MB, free: 38.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.2621, allocations: 7.219 kB / 436.5 MB, free: 38.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.2621, allocations: 3.938 kB / 436.5 MB, free: 38.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.241e-05/0.2622, allocations: 11.62 kB / 436.5 MB, free: 38.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.2625, allocations: 252.9 kB / 436.8 MB, free: 38.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.285e-05/0.2626, allocations: 43.86 kB / 436.8 MB, free: 38.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.2626, allocations: 17.73 kB / 436.8 MB, free: 38.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.2626, allocations: 3.938 kB / 436.8 MB, free: 38.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.2626, allocations: 37.33 kB / 436.9 MB, free: 37.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2627, allocations: 0 / 436.9 MB, free: 37.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001448/0.2628, allocations: 56.31 kB / 436.9 MB, free: 37.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.2628, allocations: 59.41 kB / 437 MB, free: 37.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.607e-05/0.2629, allocations: 98.67 kB / 437.1 MB, free: 37.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/0.2629, allocations: 25.7 kB / 437.1 MB, free: 37.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.227e-05/0.2629, allocations: 84.14 kB / 437.2 MB, free: 37.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.2629, allocations: 10.2 kB / 437.2 MB, free: 37.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.263, allocations: 12.59 kB / 437.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.263, allocations: 314.8 kB / 437.5 MB, free: 37.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.263, allocations: 2.875 kB / 437.5 MB, free: 37.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.418e-05/0.2631, allocations: 17.06 kB / 437.5 MB, free: 37.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.488e-05/0.2631, allocations: 21.45 kB / 437.5 MB, free: 37.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2631, allocations: 0 / 437.5 MB, free: 37.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.854e-05/0.2632, allocations: 52.2 kB / 437.6 MB, free: 37.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2632, allocations: 5.5 kB / 437.6 MB, free: 37.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.2632, allocations: 0 / 437.6 MB, free: 37.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.2632, allocations: 0 / 437.6 MB, free: 37.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-05/0.2633, allocations: 8.609 kB / 437.6 MB, free: 37.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2633, allocations: 0 / 437.6 MB, free: 37.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.732e-05/0.2633, allocations: 2.938 kB / 437.6 MB, free: 37.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.2634, allocations: 0 / 437.6 MB, free: 37.24 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.525e-05/0.2634, allocations: 128.5 kB / 437.7 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.2634, allocations: 3.906 kB / 437.7 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.2636, allocations: 69.97 kB / 437.8 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2636, allocations: 0 / 437.8 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2636, allocations: 0 / 437.8 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2636, allocations: 7.234 kB / 437.8 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.2637, allocations: 161.2 kB / 438 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2637, allocations: 3.938 kB / 438 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.658e-05/0.2638, allocations: 16.34 kB / 438 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2638, allocations: 0 / 438 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.2638, allocations: 0 / 438 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2638, allocations: 0 / 438 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2638, allocations: 7.062 kB / 438 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.151e-05/0.2639, allocations: 149.9 kB / 438.1 MB, free: 36.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/0.2639, allocations: 88.95 kB / 438.2 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.264, allocations: 7.703 kB / 438.2 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.819e-05/0.264, allocations: 2.656 kB / 438.2 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.264, allocations: 0 / 438.2 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.2641, allocations: 2.719 kB / 438.2 MB, free: 36.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.623e-05/0.2641, allocations: 82.64 kB / 438.3 MB, free: 36.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2641, allocations: 0 / 438.3 MB, free: 36.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.2643, allocations: 2.906 kB / 438.3 MB, free: 36.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.531e-05/0.2644, allocations: 106.1 kB / 438.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.416e-05/0.2645, allocations: 21.95 kB / 438.5 MB, free: 36.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2645, allocations: 3.031 kB / 438.5 MB, free: 36.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.129e-05/0.2645, allocations: 15.94 kB / 438.5 MB, free: 36.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.2648, allocations: 12.12 kB / 438.5 MB, free: 36.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002301/0.2651, allocations: 113 kB / 438.6 MB, free: 36.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.2652, allocations: 0.6864 MB / 439.3 MB, free: 35.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.282e-05/0.2652, allocations: 10.23 kB / 439.3 MB, free: 35.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.2653, allocations: 14.91 kB / 439.3 MB, free: 35.57 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2653, allocations: 0 / 439.3 MB, free: 35.57 MB / 350.1 MB Notification: Performance of Templates: time 0.002186/0.2675, allocations: 430.3 kB / 439.7 MB, free: 35.51 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_SR01.makefile (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & ./AES_AES.Devel_test_models.Test_SR01 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1)