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.001515/0.001515, allocations: 108 kB / 15.6 MB, free: 132 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.001602/0.001602, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2215/0.2215, allocations: 22.35 MB / 312.7 MB, free: 12.51 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 55.91 kB / 380.8 MB, free: 10.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3249, allocations: 54.95 MB / 435.8 MB, free: 39.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.002123/0.3271, allocations: 0.7035 MB / 436.5 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001674/0.3273, allocations: 23.42 kB / 436.5 MB, free: 39.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.775e-05/0.3273, allocations: 0 / 436.5 MB, free: 39.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.3274, allocations: 3.938 kB / 436.5 MB, free: 39.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.664e-05/0.3275, allocations: 0 / 436.5 MB, free: 39.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.022e-05/0.3275, allocations: 6.172 kB / 436.5 MB, free: 39.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.455e-05/0.3276, allocations: 23.94 kB / 436.5 MB, free: 39.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.3277, allocations: 5.719 kB / 436.5 MB, free: 39.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.735e-05/0.3278, allocations: 17.14 kB / 436.5 MB, free: 39.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.138e-05/0.3278, allocations: 5.859 kB / 436.6 MB, free: 39.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.3279, allocations: 2.719 kB / 436.6 MB, free: 39.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.3279, allocations: 0 / 436.6 MB, free: 39.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.3279, allocations: 10.69 kB / 436.6 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.3279, allocations: 9.688 kB / 436.6 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.779e-05/0.328, allocations: 17.47 kB / 436.6 MB, free: 39.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.328, allocations: 3.938 kB / 436.6 MB, free: 39.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.328, allocations: 4 kB / 436.6 MB, free: 39.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.328, allocations: 0 / 436.6 MB, free: 39.25 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.0003939/0.3284, allocations: 330.1 kB / 436.9 MB, free: 38.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3285, allocations: 14.19 kB / 436.9 MB, free: 38.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.3285, allocations: 3.438 kB / 436.9 MB, free: 38.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.3287, allocations: 174.2 kB / 437.1 MB, free: 38.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3287, allocations: 384 / 437.1 MB, free: 38.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.3287, allocations: 384 / 437.1 MB, free: 38.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.3288, allocations: 42.03 kB / 437.1 MB, free: 38.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3289, allocations: 4.188 kB / 437.2 MB, free: 38.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3289, allocations: 3.938 kB / 437.2 MB, free: 38.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3289, allocations: 0 / 437.2 MB, free: 38.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.972e-05/0.329, allocations: 20.19 kB / 437.2 MB, free: 38.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.3293, allocations: 254.8 kB / 437.4 MB, free: 38.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.886e-05/0.3294, allocations: 43.3 kB / 437.5 MB, free: 38.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.3295, allocations: 16.2 kB / 437.5 MB, free: 38.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.3295, allocations: 2.688 kB / 437.5 MB, free: 38.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/0.3295, allocations: 30.56 kB / 437.5 MB, free: 38.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3295, allocations: 0 / 437.5 MB, free: 38.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001853/0.3297, allocations: 59.44 kB / 437.6 MB, free: 38.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.3297, allocations: 55.41 kB / 437.6 MB, free: 38.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.219e-05/0.3298, allocations: 99.56 kB / 437.7 MB, free: 38.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.3298, allocations: 29.7 kB / 437.8 MB, free: 38.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.3298, allocations: 86.89 kB / 437.8 MB, free: 37.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.3299, allocations: 7.234 kB / 437.8 MB, free: 37.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.3299, allocations: 16.72 kB / 437.9 MB, free: 37.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.875e-05/0.33, allocations: 313.8 kB / 438.2 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.33, allocations: 6.203 kB / 438.2 MB, free: 37.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.235e-05/0.33, allocations: 6.781 kB / 438.2 MB, free: 37.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.33, allocations: 17.02 kB / 438.2 MB, free: 37.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3301, allocations: 4 kB / 438.2 MB, free: 37.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.934e-05/0.3301, allocations: 54.78 kB / 438.3 MB, free: 37.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3301, allocations: 3.094 kB / 438.3 MB, free: 37.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3302, allocations: 3.812 kB / 438.3 MB, free: 37.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.3302, allocations: 3.234 kB / 438.3 MB, free: 37.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.677e-05/0.3303, allocations: 2.812 kB / 438.3 MB, free: 37.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.3303, allocations: 0 / 438.3 MB, free: 37.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.3303, allocations: 0 / 438.3 MB, free: 37.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.3303, allocations: 2.75 kB / 438.3 MB, free: 37.54 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 6.317e-05/0.3304, allocations: 125.5 kB / 438.4 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.3304, allocations: 3.906 kB / 438.4 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.3306, allocations: 80.45 kB / 438.5 MB, free: 37.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3306, allocations: 0 / 438.5 MB, free: 37.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3306, allocations: 0 / 438.5 MB, free: 37.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3306, allocations: 0 / 438.5 MB, free: 37.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.3308, allocations: 165.4 kB / 438.6 MB, free: 37.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3308, allocations: 4 kB / 438.6 MB, free: 37.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.675e-05/0.3308, allocations: 9.781 kB / 438.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3308, allocations: 6.906 kB / 438.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.3308, allocations: 3.047 kB / 438.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3308, allocations: 4.062 kB / 438.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3309, allocations: 0 / 438.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.331, allocations: 155.2 kB / 438.8 MB, free: 36.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.331, allocations: 84.95 kB / 438.9 MB, free: 36.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.331, allocations: 4 kB / 438.9 MB, free: 36.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.419e-05/0.3311, allocations: 7.281 kB / 438.9 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.3311, allocations: 3.344 kB / 438.9 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.3311, allocations: 0 / 438.9 MB, free: 36.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.719e-05/0.3311, allocations: 85.47 kB / 439 MB, free: 36.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3311, allocations: 0 / 439 MB, free: 36.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002126/0.3314, allocations: 3.781 kB / 439 MB, free: 36.8 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.885e-05/0.3315, allocations: 94.69 kB / 439.1 MB, free: 36.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.3316, allocations: 14.97 kB / 439.1 MB, free: 36.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3316, allocations: 6.594 kB / 439.1 MB, free: 36.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.331e-05/0.3316, allocations: 19.53 kB / 439.1 MB, free: 36.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.3319, allocations: 10.66 kB / 439.1 MB, free: 36.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.3322, allocations: 115 kB / 439.3 MB, free: 36.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.3323, allocations: 0.6815 MB / 439.9 MB, free: 35.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.979e-05/0.3324, allocations: 7.219 kB / 439.9 MB, free: 35.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.3324, allocations: 10.28 kB / 440 MB, free: 35.88 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3324, allocations: 0 / 440 MB, free: 35.88 MB / 350.1 MB Notification: Performance of Templates: time 0.002449/0.3349, allocations: 456.5 kB / 440.4 MB, free: 35.82 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)