Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SOPDT_overdamped.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Devel_test_models.Test_SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SOPDT_overdamped") translateModel(AES.Devel_test_models.Test_SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SOPDT_overdamped") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.07326/0.07326, allocations: 17.69 MB / 33.64 MB, free: 1.738 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 179.9 kB / 38.92 MB, free: 8 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.812/1.812, allocations: 205.4 MB / 249.5 MB, free: 2.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008128/0.0008125, allocations: 90.25 kB / 302.2 MB, free: 4.422 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004249/0.0004253, allocations: 23.88 kB / 364.9 MB, free: 5.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3289, allocations: 51.98 MB / 416.9 MB, free: 24.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.4665, allocations: 77.89 MB / 494.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004201/0.467, allocations: 67.97 kB / 494.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0262/0.4932, allocations: 4.273 MB / 499.1 MB, free: 6.309 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.42e-06/0.4933, allocations: 0 / 499.1 MB, free: 6.309 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.405e-05/0.4934, allocations: 4 kB / 499.1 MB, free: 6.305 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.002088/0.4955, allocations: 0.5338 MB / 499.6 MB, free: 5.719 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/0.4956, allocations: 8.031 kB / 499.7 MB, free: 5.711 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.4957, allocations: 28.64 kB / 499.7 MB, free: 5.684 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.497, allocations: 335.9 kB / 0.4883 GB, free: 5.316 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.497, allocations: 8.562 kB / 0.4883 GB, free: 5.309 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.819e-05/0.4971, allocations: 16.28 kB / 0.4883 GB, free: 5.293 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005261/0.4977, allocations: 141.9 kB / 0.4884 GB, free: 5.148 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.4977, allocations: 4 kB / 0.4885 GB, free: 5.145 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.4978, allocations: 4 kB / 0.4885 GB, free: 5.141 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.4978, allocations: 0 / 0.4885 GB, free: 5.141 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004828/0.4983, allocations: 131.8 kB / 0.4886 GB, free: 5.012 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.5002, allocations: 0.5748 MB / 0.4891 GB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004946/0.5007, allocations: 150.4 kB / 0.4893 GB, free: 4.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.5009, allocations: 80.77 kB / 0.4894 GB, free: 4.148 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.974e-05/0.501, allocations: 3.984 kB / 0.4894 GB, free: 4.145 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.609e-05/0.5011, allocations: 30.56 kB / 0.4894 GB, free: 4.105 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.845e-06/0.5011, allocations: 4 kB / 0.4894 GB, free: 4.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009216/0.5021, allocations: 258.2 kB / 0.4896 GB, free: 3.844 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.5021, allocations: 59.41 kB / 0.4897 GB, free: 3.773 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009142/0.5031, allocations: 299.1 kB / 0.49 GB, free: 3.473 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.5031, allocations: 25.7 kB / 0.49 GB, free: 3.441 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.5033, allocations: 133 kB / 0.4901 GB, free: 3.309 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.402e-05/0.5034, allocations: 55.27 kB / 0.4902 GB, free: 3.254 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/0.5034, allocations: 7.938 kB / 0.4902 GB, free: 3.246 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.5036, allocations: 334.8 kB / 0.4905 GB, free: 2.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.5039, allocations: 71.95 kB / 0.4906 GB, free: 2.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.5041, allocations: 71.97 kB / 0.4907 GB, free: 2.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005301/0.5047, allocations: 175.8 kB / 0.4908 GB, free: 2.598 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5047, allocations: 0 / 0.4908 GB, free: 2.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007117/0.5054, allocations: 221.3 kB / 0.491 GB, free: 2.375 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.5055, allocations: 7.984 kB / 0.491 GB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5055, allocations: 4 kB / 0.491 GB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.249e-05/0.5056, allocations: 4 kB / 0.4911 GB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/0.5062, allocations: 43.97 kB / 0.4911 GB, free: 2.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.5062, allocations: 4 kB / 0.4911 GB, free: 2.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.5067, allocations: 35.8 kB / 0.4911 GB, free: 2.277 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.5068, allocations: 8 kB / 0.4911 GB, free: 2.27 MB / 362.7 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 (17): * Single equations (assignments): 17 * 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 0.0002193/0.507, allocations: 149.6 kB / 0.4913 GB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.702e-05/0.5071, allocations: 23.8 kB / 0.4913 GB, free: 2.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.283e-05/0.5072, allocations: 25.53 kB / 0.4913 GB, free: 2.066 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.5072, allocations: 3.984 kB / 0.4913 GB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.5072, allocations: 0 / 0.4913 GB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.5073, allocations: 0 / 0.4913 GB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006025/0.5079, allocations: 313.3 kB / 0.4916 GB, free: 1.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5079, allocations: 0 / 0.4916 GB, free: 1.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.5082, allocations: 23.98 kB / 0.4917 GB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.5082, allocations: 0 / 0.4917 GB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/0.5083, allocations: 15.98 kB / 0.4917 GB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.5083, allocations: 3.938 kB / 0.4917 GB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5083, allocations: 0 / 0.4917 GB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.5094, allocations: 388.4 kB / 0.492 GB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.5095, allocations: 96.95 kB / 0.4921 GB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.211e-05/0.5096, allocations: 8 kB / 0.4921 GB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004759/0.5101, allocations: 35.95 kB / 0.4922 GB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.275e-05/0.5102, allocations: 11.98 kB / 0.4922 GB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.5102, allocations: 4 kB / 0.4922 GB, free: 1.098 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008914/0.5111, allocations: 232.6 kB / 0.4924 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5111, allocations: 0 / 0.4924 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005382/0.5117, allocations: 39.98 kB / 0.4925 GB, free: 0.832 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.Pr.x_scaled[1],P1.Pr.x_scaled[2],P2.Pr.x_scaled[1],P2.Pr.x_scaled[2]) * 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 (13): * Single equations (assignments): 13 * 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.0002146/0.5119, allocations: 103.2 kB / 0.4926 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005697/0.5125, allocations: 167.8 kB / 0.4927 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5125, allocations: 3.938 kB / 0.4927 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.5128, allocations: 79.91 kB / 0.4928 GB, free: 484 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005903/0.5134, allocations: 34.72 kB / 0.4928 GB, free: 448 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.5149, allocations: 494.5 kB / 0.4933 GB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005204/0.5155, allocations: 0.7439 MB / 0.494 GB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002092/0.5157, allocations: 41.52 kB / 0.4941 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.5158, allocations: 19.44 kB / 0.4941 GB, free: 15.09 MB / 378.7 MB Notification: Performance of SimCode: time 3.296e-06/0.5158, allocations: 0 / 0.4941 GB, free: 15.09 MB / 378.7 MB Notification: Performance of Templates: time 0.008859/0.5247, allocations: 1.956 MB / 0.496 GB, free: 13.14 MB / 378.7 MB make -j1 -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.makefile (rm -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; mkfifo AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe >> ../files/AES_AES.Devel_test_models.Test_SOPDT_overdamped.sim & ./AES_AES.Devel_test_models.Test_SOPDT_overdamped -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe 2>&1)