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.001261/0.001261, allocations: 104.8 kB / 16.27 MB, free: 5.988 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.00126/0.00126, allocations: 188.9 kB / 17.2 MB, free: 5.613 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.312/1.312, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09418/0.09418, allocations: 22.33 MB / 313.4 MB, free: 8.973 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 65.77 kB / 381.5 MB, free: 41.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07148/0.07275, allocations: 54.97 MB / 436.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.0018/0.07458, allocations: 0.6925 MB / 437.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001372/0.07473, allocations: 31.91 kB / 437.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.938e-05/0.07477, allocations: 0 / 437.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.07481, allocations: 3.938 kB / 437.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.516e-05/0.07488, allocations: 0 / 437.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.299e-05/0.07494, allocations: 0 / 437.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.931e-05/0.07501, allocations: 27.86 kB / 437.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.07511, allocations: 4 kB / 437.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.2e-05/0.07514, allocations: 19.97 kB / 437.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.631e-05/0.0752, allocations: 7.938 kB / 437.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.07522, allocations: 4 kB / 437.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-06/0.07524, allocations: 0 / 437.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.07526, allocations: 7.984 kB / 437.2 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.07529, allocations: 15.88 kB / 437.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.756e-05/0.07536, allocations: 15.97 kB / 437.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.07537, allocations: 4 kB / 437.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.07538, allocations: 0 / 437.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.07539, allocations: 0 / 437.2 MB, free: 12.21 MB / 318.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.0003782/0.07577, allocations: 331.8 kB / 437.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.07581, allocations: 12.03 kB / 437.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.07584, allocations: 4.875 kB / 437.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.07597, allocations: 168.3 kB / 437.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.07598, allocations: 384 / 437.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.076, allocations: 384 / 437.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.941e-05/0.07608, allocations: 46.19 kB / 437.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.0761, allocations: 192 / 437.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.07611, allocations: 7.922 kB / 437.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.07612, allocations: 0 / 437.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.742e-05/0.07617, allocations: 19.98 kB / 437.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.0765, allocations: 252.9 kB / 438.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.896e-05/0.07661, allocations: 42.45 kB / 438.1 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.07665, allocations: 16.91 kB / 438.1 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.07667, allocations: 4 kB / 438.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.0767, allocations: 34.56 kB / 438.2 MB, free: 11.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.07671, allocations: 0 / 438.2 MB, free: 11.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001536/0.07687, allocations: 53.69 kB / 438.2 MB, free: 11.06 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.07691, allocations: 51.41 kB / 438.3 MB, free: 11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.349e-05/0.07698, allocations: 97.8 kB / 438.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.077, allocations: 29.7 kB / 438.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.07705, allocations: 84.12 kB / 438.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.07708, allocations: 7.906 kB / 438.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.07712, allocations: 21.72 kB / 438.5 MB, free: 10.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.564e-05/0.07722, allocations: 310.8 kB / 438.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.07724, allocations: 7.984 kB / 438.8 MB, free: 10.42 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.471e-05/0.07726, allocations: 8 kB / 438.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.851e-05/0.07731, allocations: 16.86 kB / 438.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.07731, allocations: 0 / 438.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.725e-05/0.07739, allocations: 49.62 kB / 438.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.07741, allocations: 4 kB / 438.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.07742, allocations: 0 / 438.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.07744, allocations: 7.938 kB / 438.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.901e-05/0.07751, allocations: 8 kB / 438.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.07752, allocations: 0 / 438.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.07756, allocations: 11.89 kB / 438.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.07757, allocations: 0 / 438.9 MB, free: 10.3 MB / 318.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.526e-05/0.07764, allocations: 122.5 kB / 439 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.07767, allocations: 3.938 kB / 439 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.07783, allocations: 77.11 kB / 439.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.07784, allocations: 0 / 439.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.07786, allocations: 4 kB / 439.1 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.07786, allocations: 0.5156 kB / 439.1 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.07803, allocations: 173.6 kB / 439.3 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.07804, allocations: 4.062 kB / 439.3 MB, free: 9.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.07809, allocations: 7.938 kB / 439.3 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.0781, allocations: 4 kB / 439.3 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.07812, allocations: 0 / 439.3 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.07812, allocations: 4 kB / 439.3 MB, free: 9.844 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.07813, allocations: 0 / 439.3 MB, free: 9.844 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.07827, allocations: 159.5 kB / 439.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.07832, allocations: 81.02 kB / 439.6 MB, free: 9.574 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.07834, allocations: 3.984 kB / 439.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.937e-05/0.0784, allocations: 0 / 439.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.07842, allocations: 4 kB / 439.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.07843, allocations: 0 / 439.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.564e-05/0.07847, allocations: 87.28 kB / 439.6 MB, free: 9.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07848, allocations: 0 / 439.6 MB, free: 9.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.07871, allocations: 4 kB / 439.6 MB, free: 9.477 MB / 318.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.105e-05/0.07879, allocations: 99.17 kB / 439.7 MB, free: 9.371 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.443e-05/0.07888, allocations: 24 kB / 439.8 MB, free: 9.348 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.07889, allocations: 0 / 439.8 MB, free: 9.348 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.453e-05/0.07892, allocations: 15.92 kB / 439.8 MB, free: 9.332 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.0792, allocations: 18.12 kB / 439.8 MB, free: 9.316 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002344/0.07945, allocations: 134.8 kB / 439.9 MB, free: 9.152 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.07968, allocations: 0.6768 MB / 440.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.07971, allocations: 11.44 kB / 440.6 MB, free: 8.438 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.07972, allocations: 0 / 440.6 MB, free: 8.438 MB / 318.1 MB Notification: Performance of Templates: time 0.001716/0.08144, allocations: 0.5554 MB / 441.2 MB, free: 7.883 MB / 318.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)