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.001252/0.001252, allocations: 106.8 kB / 16.41 MB, free: 6.508 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.001263/0.001263, allocations: 187 kB / 17.34 MB, free: 5.742 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09799/0.09799, allocations: 22.31 MB / 313.5 MB, free: 8.914 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 60.09 kB / 437.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0874/0.08866, allocations: 54.95 MB / 492.7 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.001756/0.09045, allocations: 0.6982 MB / 493.4 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002021/0.09067, allocations: 23.91 kB / 493.4 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.416e-05/0.09071, allocations: 0 / 493.4 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.09075, allocations: 3.938 kB / 493.4 MB, free: 4.059 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.155e-05/0.09082, allocations: 4 kB / 493.4 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.848e-05/0.0909, allocations: 11.98 kB / 493.4 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.314e-05/0.09097, allocations: 27.86 kB / 493.4 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.164e-05/0.09105, allocations: 4 kB / 493.4 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.159e-05/0.09108, allocations: 8 kB / 493.5 MB, free: 4.004 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.476e-05/0.09115, allocations: 11.91 kB / 493.5 MB, free: 3.992 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.09118, allocations: 4 kB / 493.5 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.09119, allocations: 0 / 493.5 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.09121, allocations: 8 kB / 493.5 MB, free: 3.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.09124, allocations: 3.938 kB / 493.5 MB, free: 3.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.648e-05/0.09131, allocations: 27.89 kB / 493.5 MB, free: 3.949 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.09132, allocations: 0 / 493.5 MB, free: 3.949 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09133, allocations: 7.938 kB / 493.5 MB, free: 3.941 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.09134, allocations: 0 / 493.5 MB, free: 3.941 MB / 366.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.0004189/0.09176, allocations: 331.4 kB / 493.8 MB, free: 3.566 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.0918, allocations: 8.031 kB / 493.8 MB, free: 3.559 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.09184, allocations: 0.9375 kB / 493.8 MB, free: 3.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.09196, allocations: 176.3 kB / 494 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.09198, allocations: 384 / 494 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.092, allocations: 12.38 kB / 494 MB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.194e-05/0.09208, allocations: 38.25 kB / 494.1 MB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.0921, allocations: 192 / 494.1 MB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.09211, allocations: 3.938 kB / 494.1 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.09212, allocations: 0 / 494.1 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.308e-05/0.09217, allocations: 12 kB / 494.1 MB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.09253, allocations: 249 kB / 494.3 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.09264, allocations: 50.44 kB / 494.4 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.892e-05/0.09268, allocations: 12.92 kB / 494.4 MB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.09271, allocations: 0 / 494.4 MB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.09274, allocations: 34.56 kB / 494.4 MB, free: 2.867 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.09275, allocations: 0 / 494.4 MB, free: 2.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001597/0.09291, allocations: 57.72 kB / 494.5 MB, free: 2.805 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.09295, allocations: 51.41 kB / 494.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.635e-05/0.09304, allocations: 109.8 kB / 494.6 MB, free: 2.625 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.09305, allocations: 25.7 kB / 494.7 MB, free: 2.594 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/0.0931, allocations: 88.14 kB / 494.7 MB, free: 2.504 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.09312, allocations: 3.906 kB / 494.8 MB, free: 2.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.09315, allocations: 13.72 kB / 494.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.0933, allocations: 318.8 kB / 495.1 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.09332, allocations: 4 kB / 495.1 MB, free: 2.156 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.429e-05/0.09334, allocations: 8 kB / 495.1 MB, free: 2.148 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.997e-05/0.09339, allocations: 24.84 kB / 495.1 MB, free: 2.121 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.0934, allocations: 0 / 495.1 MB, free: 2.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.685e-05/0.09348, allocations: 53.52 kB / 495.2 MB, free: 2.062 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.0935, allocations: 4 kB / 495.2 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.09351, allocations: 4 kB / 495.2 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.09353, allocations: 3.984 kB / 495.2 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.139e-05/0.09359, allocations: 4 kB / 495.2 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.0936, allocations: 0 / 495.2 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.571e-05/0.09363, allocations: 0 / 495.2 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.09364, allocations: 0 / 495.2 MB, free: 2.047 MB / 366.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 7.19e-05/0.09372, allocations: 126.5 kB / 495.3 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.09375, allocations: 3.906 kB / 495.3 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/0.09391, allocations: 81.05 kB / 495.4 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.09393, allocations: 3.938 kB / 495.4 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.09393, allocations: 0 / 495.4 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.09394, allocations: 0 / 495.4 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.09414, allocations: 165.6 kB / 495.6 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.09415, allocations: 4 kB / 495.6 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.842e-05/0.0942, allocations: 8 kB / 495.6 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.09421, allocations: 0 / 495.6 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.09422, allocations: 4 kB / 495.6 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.09423, allocations: 0 / 495.6 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/0.09424, allocations: 8.047 kB / 495.6 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.09436, allocations: 151.5 kB / 495.7 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.0944, allocations: 81.02 kB / 495.8 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.09442, allocations: 8 kB / 495.8 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.071e-05/0.09449, allocations: 4 kB / 495.8 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.09451, allocations: 3.938 kB / 495.8 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.09452, allocations: 4 kB / 495.8 MB, free: 1.301 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.112e-05/0.09456, allocations: 79.27 kB / 495.9 MB, free: 1.223 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09457, allocations: 0 / 495.9 MB, free: 1.223 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000226/0.0948, allocations: 8 kB / 495.9 MB, free: 1.215 MB / 366.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 6.695e-05/0.09487, allocations: 95.25 kB / 496 MB, free: 1.113 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001237/0.09501, allocations: 23.98 kB / 496 MB, free: 1.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.09502, allocations: 0 / 496 MB, free: 1.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.613e-05/0.09505, allocations: 15.94 kB / 496 MB, free: 1.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.09533, allocations: 7.938 kB / 496 MB, free: 1.066 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.09558, allocations: 134.6 kB / 496.2 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.09586, allocations: 0.6812 MB / 496.9 MB, free: 200 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.09589, allocations: 11.44 kB / 496.9 MB, free: 188 kB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.0959, allocations: 4 kB / 496.9 MB, free: 184 kB / 366.1 MB Notification: Performance of Templates: time 0.001716/0.09762, allocations: 0.5796 MB / 497.5 MB, free: 15.6 MB / 382.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)