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.0008271/0.000827, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007102/0.007103, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.445/1.445, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2137/0.2137, allocations: 22.34 MB / 313.8 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003794, allocations: 8 kB / 382.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3486, allocations: 55.99 MB / 438.6 MB, free: 39.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.0008393/0.3495, allocations: 448.7 kB / 439 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001381/0.3496, allocations: 14.86 kB / 439 MB, free: 39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.2e-05/0.3496, allocations: 3.281 kB / 439 MB, free: 39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.3497, allocations: 3.938 kB / 439 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.861e-05/0.3498, allocations: 3.281 kB / 439 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.395e-05/0.3498, allocations: 4 kB / 439 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.913e-05/0.3499, allocations: 16.39 kB / 439.1 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.332e-05/0.35, allocations: 6.469 kB / 439.1 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.651e-05/0.35, allocations: 12.53 kB / 439.1 MB, free: 38.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.889e-05/0.3501, allocations: 9.625 kB / 439.1 MB, free: 38.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.3501, allocations: 2.781 kB / 439.1 MB, free: 38.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/0.3501, allocations: 3.938 kB / 439.1 MB, free: 38.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.3502, allocations: 7.266 kB / 439.1 MB, free: 38.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.3502, allocations: 36.27 kB / 439.1 MB, free: 38.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.44e-05/0.3503, allocations: 12.7 kB / 439.1 MB, free: 38.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3503, allocations: 0 / 439.1 MB, free: 38.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3503, allocations: 4 kB / 439.1 MB, free: 38.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.3503, allocations: 0 / 439.1 MB, free: 38.92 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.0003219/0.3506, allocations: 324.3 kB / 439.5 MB, free: 38.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3507, allocations: 12.91 kB / 439.5 MB, free: 38.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.652e-05/0.3507, allocations: 4.844 kB / 439.5 MB, free: 38.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.829e-05/0.3508, allocations: 166.5 kB / 439.6 MB, free: 38.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.3508, allocations: 384 / 439.6 MB, free: 38.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.3509, allocations: 3.531 kB / 439.6 MB, free: 38.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.326e-05/0.3509, allocations: 47.64 kB / 439.7 MB, free: 38.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.351, allocations: 4.188 kB / 439.7 MB, free: 38.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.351, allocations: 3.938 kB / 439.7 MB, free: 38.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.351, allocations: 3.938 kB / 439.7 MB, free: 38.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.404e-05/0.351, allocations: 16.33 kB / 439.7 MB, free: 38.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002746/0.3513, allocations: 256.1 kB / 440 MB, free: 38.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.521e-05/0.3514, allocations: 40.5 kB / 440 MB, free: 37.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/0.3514, allocations: 22.89 kB / 440 MB, free: 37.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.3515, allocations: 0 / 440 MB, free: 37.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.3515, allocations: 34.27 kB / 440.1 MB, free: 37.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.3515, allocations: 0 / 440.1 MB, free: 37.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001553/0.3517, allocations: 52.89 kB / 440.1 MB, free: 37.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.3517, allocations: 54.28 kB / 440.2 MB, free: 37.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.93e-05/0.3518, allocations: 96.77 kB / 440.3 MB, free: 37.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.3518, allocations: 29.7 kB / 440.3 MB, free: 37.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.3518, allocations: 87.27 kB / 440.4 MB, free: 37.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.3518, allocations: 7.328 kB / 440.4 MB, free: 37.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/0.3518, allocations: 17.66 kB / 440.4 MB, free: 37.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.3519, allocations: 314.1 kB / 440.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.3519, allocations: 7.844 kB / 440.7 MB, free: 37.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.148e-05/0.3519, allocations: 10.16 kB / 440.7 MB, free: 37.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.219e-05/0.352, allocations: 16.77 kB / 440.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.352, allocations: 0 / 440.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.407e-05/0.3521, allocations: 53.59 kB / 440.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.3521, allocations: 6.156 kB / 440.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.3521, allocations: 0 / 440.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.3521, allocations: 0 / 440.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.948e-05/0.3522, allocations: 8.859 kB / 440.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3522, allocations: 0 / 440.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.3522, allocations: 7.938 kB / 440.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-06/0.3522, allocations: 0 / 440.8 MB, free: 37.2 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 5.035e-05/0.3523, allocations: 116.5 kB / 440.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.3523, allocations: 11.45 kB / 440.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.3524, allocations: 68.23 kB / 441 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3525, allocations: 0 / 441 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.3525, allocations: 0 / 441 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3525, allocations: 7.266 kB / 441 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.3526, allocations: 165.5 kB / 441.2 MB, free: 36.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3526, allocations: 0 / 441.2 MB, free: 36.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.3527, allocations: 19.78 kB / 441.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3527, allocations: 4 kB / 441.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.3527, allocations: 0 / 441.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3527, allocations: 3.938 kB / 441.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3527, allocations: 2.938 kB / 441.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.084e-05/0.3528, allocations: 151.6 kB / 441.4 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.3528, allocations: 91.41 kB / 441.4 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.3528, allocations: 0 / 441.4 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.165e-05/0.3529, allocations: 0 / 441.4 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.3529, allocations: 7.281 kB / 441.5 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.3529, allocations: 0 / 441.5 MB, free: 36.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.637e-05/0.3529, allocations: 85.31 kB / 441.5 MB, free: 36.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3529, allocations: 2.844 kB / 441.5 MB, free: 36.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002074/0.3532, allocations: 3 kB / 441.5 MB, free: 36.47 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 8.047e-05/0.3532, allocations: 91.09 kB / 441.6 MB, free: 36.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.449e-05/0.3533, allocations: 22.69 kB / 441.7 MB, free: 36.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3533, allocations: 7.094 kB / 441.7 MB, free: 36.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.864e-05/0.3534, allocations: 12.78 kB / 441.7 MB, free: 36.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.3536, allocations: 14.12 kB / 441.7 MB, free: 36.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002154/0.3539, allocations: 119.6 kB / 441.8 MB, free: 36.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.354, allocations: 0.6785 MB / 442.5 MB, free: 35.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.894e-05/0.354, allocations: 6.844 kB / 442.5 MB, free: 35.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.3541, allocations: 10.5 kB / 442.5 MB, free: 35.53 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3541, allocations: 3.938 kB / 442.5 MB, free: 35.53 MB / 350.1 MB Notification: Performance of Templates: time 0.002142/0.3562, allocations: 420.7 kB / 442.9 MB, free: 35.48 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)