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.001211/0.001211, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001451/0.001451, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2599/0.2599, allocations: 22.33 MB / 313.3 MB, free: 13.15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004405/0.0004405, allocations: 12 kB / 381.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3337, allocations: 55.97 MB / 437.8 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.0008876/0.3346, allocations: 442.6 kB / 438.2 MB, free: 38.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001328/0.3347, allocations: 21.11 kB / 438.3 MB, free: 38.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.3348, allocations: 0 / 438.3 MB, free: 38.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.401e-05/0.3348, allocations: 3.938 kB / 438.3 MB, free: 38.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.782e-05/0.3349, allocations: 4 kB / 438.3 MB, free: 38.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.539e-05/0.335, allocations: 6.5 kB / 438.3 MB, free: 38.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.432e-05/0.335, allocations: 10.86 kB / 438.3 MB, free: 38.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.3351, allocations: 6.188 kB / 438.3 MB, free: 38.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.14e-05/0.3352, allocations: 2.938 kB / 438.3 MB, free: 38.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.09e-05/0.3352, allocations: 22.22 kB / 438.3 MB, free: 38.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.3353, allocations: 2.812 kB / 438.3 MB, free: 38.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.3353, allocations: 0 / 438.3 MB, free: 38.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.3353, allocations: 0 / 438.3 MB, free: 38.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.3353, allocations: 32.64 kB / 438.3 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.563e-05/0.3354, allocations: 17.31 kB / 438.4 MB, free: 38.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.3354, allocations: 0 / 438.4 MB, free: 38.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3354, allocations: 0 / 438.4 MB, free: 38.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.3354, allocations: 0 / 438.4 MB, free: 38.81 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.0003012/0.3357, allocations: 315.1 kB / 438.7 MB, free: 38.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.3358, allocations: 13.53 kB / 438.7 MB, free: 38.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.3358, allocations: 7.469 kB / 438.7 MB, free: 38.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.452e-05/0.3359, allocations: 166.5 kB / 438.9 MB, free: 38.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3359, allocations: 4 kB / 438.9 MB, free: 38.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.3359, allocations: 3.031 kB / 438.9 MB, free: 38.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.482e-05/0.336, allocations: 38.84 kB / 438.9 MB, free: 38.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.336, allocations: 0 / 438.9 MB, free: 38.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3361, allocations: 3.953 kB / 438.9 MB, free: 38.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.3361, allocations: 0 / 438.9 MB, free: 38.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.925e-05/0.3361, allocations: 15.91 kB / 438.9 MB, free: 38.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.3364, allocations: 258.8 kB / 439.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.388e-05/0.3365, allocations: 41.27 kB / 439.2 MB, free: 37.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.3365, allocations: 0 / 439.2 MB, free: 37.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.3366, allocations: 37.42 kB / 439.2 MB, free: 37.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.3366, allocations: 0 / 439.2 MB, free: 37.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001437/0.3367, allocations: 55.03 kB / 439.3 MB, free: 37.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.3368, allocations: 54.73 kB / 439.4 MB, free: 37.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.574e-05/0.3368, allocations: 99.8 kB / 439.4 MB, free: 37.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.3368, allocations: 29.7 kB / 439.5 MB, free: 37.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.3369, allocations: 83.11 kB / 439.6 MB, free: 37.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.3369, allocations: 15.12 kB / 439.6 MB, free: 37.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.3369, allocations: 0 / 439.6 MB, free: 37.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.127e-05/0.337, allocations: 314.8 kB / 439.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.339e-05/0.337, allocations: 3.031 kB / 439.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.114e-05/0.337, allocations: 7.359 kB / 439.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.254e-05/0.337, allocations: 11.95 kB / 439.9 MB, free: 37.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.337, allocations: 11.81 kB / 439.9 MB, free: 37.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.018e-05/0.3371, allocations: 45.67 kB / 440 MB, free: 37.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.3371, allocations: 9.734 kB / 440 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3371, allocations: 0 / 440 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3371, allocations: 2.906 kB / 440 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.196e-05/0.3372, allocations: 2.938 kB / 440 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.3372, allocations: 0 / 440 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.595e-05/0.3372, allocations: 2.906 kB / 440 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.3373, allocations: 0 / 440 MB, free: 37.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.716e-05/0.3373, allocations: 120.1 kB / 440.1 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.3374, allocations: 0 / 440.1 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.3375, allocations: 79.91 kB / 440.2 MB, free: 36.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3375, allocations: 6.438 kB / 440.2 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3375, allocations: 0 / 440.2 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3375, allocations: 0 / 440.2 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.3377, allocations: 160.4 kB / 440.3 MB, free: 36.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3377, allocations: 4 kB / 440.3 MB, free: 36.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.219e-05/0.3377, allocations: 12.42 kB / 440.4 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3377, allocations: 2.844 kB / 440.4 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3377, allocations: 0 / 440.4 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3378, allocations: 3.953 kB / 440.4 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3378, allocations: 3.984 kB / 440.4 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.049e-05/0.3379, allocations: 146.2 kB / 440.5 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/0.3379, allocations: 91.48 kB / 440.6 MB, free: 36.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.3379, allocations: 7.234 kB / 440.6 MB, free: 36.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.672e-05/0.338, allocations: 0 / 440.6 MB, free: 36.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.338, allocations: 10.58 kB / 440.6 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.338, allocations: 3.938 kB / 440.6 MB, free: 36.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.579e-05/0.338, allocations: 87.83 kB / 440.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.338, allocations: 0 / 440.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.3383, allocations: 2.5 kB / 440.7 MB, free: 36.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001019/0.3384, allocations: 92.22 kB / 440.8 MB, free: 36.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.474e-05/0.3385, allocations: 22.62 kB / 440.8 MB, free: 36.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3385, allocations: 0 / 440.8 MB, free: 36.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.156e-05/0.3385, allocations: 19.97 kB / 440.8 MB, free: 36.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.3387, allocations: 4.594 kB / 440.8 MB, free: 36.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002226/0.339, allocations: 121.2 kB / 441 MB, free: 36.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.3391, allocations: 0.6815 MB / 441.6 MB, free: 35.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.067e-05/0.3391, allocations: 7.062 kB / 441.6 MB, free: 35.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.3392, allocations: 13.66 kB / 441.7 MB, free: 35.48 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3392, allocations: 0 / 441.7 MB, free: 35.48 MB / 350.1 MB Notification: Performance of Templates: time 0.002355/0.3415, allocations: 408 kB / 442.1 MB, free: 35.43 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_SR01.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: