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.001341/0.001342, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 199.5 kB / 16.79 MB, free: 6.828 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.297/1.297, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1786/0.1786, allocations: 22.35 MB / 313 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 60.09 kB / 380.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2056, allocations: 54.95 MB / 435.7 MB, free: 39.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.001647/0.2073, allocations: 0.7546 MB / 436.5 MB, free: 39.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001254/0.2075, allocations: 27.67 kB / 436.5 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.2075, allocations: 4 kB / 436.5 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.2075, allocations: 0 / 436.5 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/0.2076, allocations: 3.938 kB / 436.5 MB, free: 39.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.483e-05/0.2077, allocations: 10.56 kB / 436.5 MB, free: 39.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.503e-05/0.2077, allocations: 12.56 kB / 436.5 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.771e-05/0.2078, allocations: 6.875 kB / 436.5 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.82e-05/0.2078, allocations: 10.3 kB / 436.5 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.382e-05/0.2079, allocations: 10.12 kB / 436.5 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.2079, allocations: 10.72 kB / 436.6 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-06/0.2079, allocations: 4 kB / 436.6 MB, free: 39.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.208, allocations: 10.81 kB / 436.6 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.133e-05/0.208, allocations: 3.938 kB / 436.6 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.451e-05/0.208, allocations: 16.39 kB / 436.6 MB, free: 39.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.208, allocations: 0 / 436.6 MB, free: 39.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.208, allocations: 0 / 436.6 MB, free: 39.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.2081, allocations: 0 / 436.6 MB, free: 39.02 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.0002875/0.2083, allocations: 330.3 kB / 436.9 MB, free: 38.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.2084, allocations: 11.72 kB / 436.9 MB, free: 38.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.2084, allocations: 8.906 kB / 436.9 MB, free: 38.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.172e-05/0.2085, allocations: 163.7 kB / 437.1 MB, free: 38.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.2085, allocations: 4.219 kB / 437.1 MB, free: 38.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-06/0.2085, allocations: 4.375 kB / 437.1 MB, free: 38.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.95e-05/0.2086, allocations: 34.77 kB / 437.1 MB, free: 38.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.2086, allocations: 192 / 437.1 MB, free: 38.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.2086, allocations: 7.938 kB / 437.1 MB, free: 38.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.2086, allocations: 2.938 kB / 437.1 MB, free: 38.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.181e-05/0.2087, allocations: 16.83 kB / 437.2 MB, free: 38.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002541/0.2089, allocations: 262.1 kB / 437.4 MB, free: 38.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.042e-05/0.209, allocations: 39.55 kB / 437.5 MB, free: 38.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.485e-05/0.2091, allocations: 14.05 kB / 437.5 MB, free: 38.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.2091, allocations: 6.172 kB / 437.5 MB, free: 38.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.284e-05/0.2091, allocations: 34.5 kB / 437.5 MB, free: 38.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2091, allocations: 4 kB / 437.5 MB, free: 38.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001394/0.2093, allocations: 55.59 kB / 437.6 MB, free: 37.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/0.2093, allocations: 51.41 kB / 437.6 MB, free: 37.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.693e-05/0.2094, allocations: 104.7 kB / 437.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.061e-06/0.2094, allocations: 25.7 kB / 437.7 MB, free: 37.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.96e-05/0.2094, allocations: 80.14 kB / 437.8 MB, free: 37.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.2094, allocations: 7.906 kB / 437.8 MB, free: 37.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.2094, allocations: 14.69 kB / 437.8 MB, free: 37.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.358e-05/0.2095, allocations: 318.2 kB / 438.2 MB, free: 37.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.2095, allocations: 6.969 kB / 438.2 MB, free: 37.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.212e-05/0.2095, allocations: 2.938 kB / 438.2 MB, free: 37.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.356e-05/0.2096, allocations: 28.86 kB / 438.2 MB, free: 37.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2096, allocations: 2.656 kB / 438.2 MB, free: 37.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.205e-05/0.2096, allocations: 51.5 kB / 438.2 MB, free: 37.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.2096, allocations: 5.344 kB / 438.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.2097, allocations: 0 / 438.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.2097, allocations: 2.625 kB / 438.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.737e-05/0.2097, allocations: 2.594 kB / 438.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2097, allocations: 11.92 kB / 438.3 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.534e-05/0.2098, allocations: 2.938 kB / 438.3 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.2098, allocations: 4 kB / 438.3 MB, free: 37.29 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 3.893e-05/0.2098, allocations: 127.9 kB / 438.4 MB, free: 37.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.2099, allocations: 3.906 kB / 438.4 MB, free: 37.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.21, allocations: 73.7 kB / 438.5 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.21, allocations: 0 / 438.5 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.21, allocations: 2.844 kB / 438.5 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.21, allocations: 0 / 438.5 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.2101, allocations: 164.3 kB / 438.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2101, allocations: 0 / 438.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.2102, allocations: 5.844 kB / 438.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2102, allocations: 0 / 438.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.2102, allocations: 3.703 kB / 438.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2102, allocations: 2.875 kB / 438.7 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2102, allocations: 0 / 438.7 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.371e-05/0.2103, allocations: 162.5 kB / 438.8 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.2103, allocations: 84.95 kB / 438.9 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.2103, allocations: 0 / 438.9 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.824e-05/0.2104, allocations: 3 kB / 438.9 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.2104, allocations: 11.17 kB / 438.9 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.2104, allocations: 3 kB / 438.9 MB, free: 36.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.999e-05/0.2105, allocations: 78.31 kB / 439 MB, free: 36.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2105, allocations: 4 kB / 439 MB, free: 36.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.2107, allocations: 2.875 kB / 439 MB, free: 36.57 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 5.432e-05/0.2108, allocations: 98.83 kB / 439.1 MB, free: 36.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.69e-05/0.2108, allocations: 21.91 kB / 439.1 MB, free: 36.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2109, allocations: 0 / 439.1 MB, free: 36.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.172e-05/0.2109, allocations: 17.59 kB / 439.1 MB, free: 36.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.2112, allocations: 8.062 kB / 439.1 MB, free: 36.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002062/0.2114, allocations: 150.5 kB / 439.3 MB, free: 36.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.547e-05/0.2115, allocations: 0.6807 MB / 440 MB, free: 35.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.2115, allocations: 9.906 kB / 440 MB, free: 35.6 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2115, allocations: 0 / 440 MB, free: 35.6 MB / 350.1 MB Notification: Performance of Templates: time 0.001456/0.213, allocations: 0.5543 MB / 440.5 MB, free: 35.57 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)