Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001321/0.001321, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.163/1.163, allocations: 194.5 MB / 211.6 MB, free: 3.035 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001558/0.001558, allocations: 106 kB / 256.9 MB, free: 4.387 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003184, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08345/0.08378, allocations: 44.49 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2269/0.3107, allocations: 87.02 MB / 442.1 MB, free: 2.762 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.311, allocations: 90.52 kB / 442.2 MB, free: 2.715 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1671/0.4781, allocations: 71.63 MB / 0.5018 GB, free: 13.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.4782, allocations: 0 / 0.5018 GB, free: 13.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000134/0.4783, allocations: 71.94 kB / 0.5018 GB, free: 13.01 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1295 * Number of variables: 1295 Notification: Performance of Generate backend data structure: time 0.01209/0.4904, allocations: 3.98 MB / 0.5057 GB, free: 8.965 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.4905, allocations: 16.03 kB / 0.5057 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008774/0.4993, allocations: 2.136 MB / 0.5078 GB, free: 6.805 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0115/0.5108, allocations: 4.466 MB / 0.5122 GB, free: 2.273 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002348/0.5111, allocations: 275.2 kB / 0.5124 GB, free: 2.004 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/0.5123, allocations: 363.9 kB / 0.5128 GB, free: 1.648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1734/0.6857, allocations: 9.074 MB / 0.5216 GB, free: 84.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/0.6859, allocations: 56.16 kB / 0.5217 GB, free: 84.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004177/0.6863, allocations: 180.7 kB / 0.5219 GB, free: 84.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001147/0.6875, allocations: 0.8786 MB / 0.5227 GB, free: 84.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/0.701, allocations: 7.347 MB / 0.5299 GB, free: 84.51 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04011/0.7411, allocations: 43.17 MB / 0.5721 GB, free: 55.51 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0065/0.7477, allocations: 3.164 MB / 0.5752 GB, free: 54.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008724/0.7565, allocations: 6.061 MB / 0.5811 GB, free: 50.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.7565, allocations: 44.45 kB / 0.5811 GB, free: 50.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=118): time 5.279e-06/0.7566, allocations: 7.031 kB / 0.5811 GB, free: 50.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=125): time 0.02052/0.7771, allocations: 10.91 MB / 0.5918 GB, free: 46.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009553/0.7781, allocations: 1.621 MB / 0.5934 GB, free: 44.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003871/0.782, allocations: 3.15 MB / 0.5964 GB, free: 43.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002055/0.7822, allocations: 45.14 kB / 0.5965 GB, free: 43.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.7832, allocations: 2.771 MB / 0.5992 GB, free: 41.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003896/0.7836, allocations: 0.5211 MB / 0.5997 GB, free: 40.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.7838, allocations: 105.4 kB / 0.5998 GB, free: 40.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.784, allocations: 0.5342 MB / 0.6003 GB, free: 40.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/0.786, allocations: 1.863 MB / 0.6021 GB, free: 39.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002897/0.7889, allocations: 5.279 MB / 0.6073 GB, free: 34.42 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003037/0.7919, allocations: 3.062 MB / 0.6103 GB, free: 33.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-05/0.792, allocations: 40.81 kB / 0.6103 GB, free: 33.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01539/0.8074, allocations: 8.352 MB / 0.6185 GB, free: 29.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.677e-05/0.8075, allocations: 63.91 kB / 0.6185 GB, free: 29.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00799/0.8155, allocations: 3.091 MB / 0.6216 GB, free: 27.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007888/0.8234, allocations: 1.947 MB / 0.6235 GB, free: 26.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003422/0.8268, allocations: 1.216 MB / 0.6246 GB, free: 25.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006399/0.8333, allocations: 5.971 MB / 0.6305 GB, free: 19.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004006/0.8373, allocations: 367.5 kB / 0.6308 GB, free: 19.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005433/0.8379, allocations: 345.1 kB / 0.6312 GB, free: 19.21 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 556 * Number of states: 0 () * Number of discrete variables: 33 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (657): * Single equations (assignments): 648 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002437/0.8403, allocations: 1.82 MB / 0.6329 GB, free: 17.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004704/0.8408, allocations: 300.1 kB / 0.6332 GB, free: 17.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004424/0.8452, allocations: 2.674 MB / 0.6358 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003528/0.8488, allocations: 2.258 MB / 0.638 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.8488, allocations: 6.078 kB / 0.638 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.8488, allocations: 7.266 kB / 0.638 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004704/0.8535, allocations: 3.344 MB / 0.6413 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.8535, allocations: 8 kB / 0.6413 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008658/0.8544, allocations: 211.6 kB / 0.6415 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002559/0.857, allocations: 1.045 MB / 0.6425 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.8571, allocations: 31.58 kB / 0.6426 GB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004013/0.8611, allocations: 5.091 MB / 0.6475 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006189/0.8617, allocations: 1.482 MB / 0.649 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006282/0.868, allocations: 4.866 MB / 0.6537 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007115/0.8688, allocations: 369 kB / 0.6541 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/0.869, allocations: 24 kB / 0.6541 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.8702, allocations: 123.8 kB / 0.6542 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.8704, allocations: 76.53 kB / 0.6543 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.816e-05/0.8705, allocations: 39.89 kB / 0.6543 GB, free: 12.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00294/0.8735, allocations: 2.177 MB / 0.6565 GB, free: 10.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.8735, allocations: 4 kB / 0.6565 GB, free: 10.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003641/0.8771, allocations: 0.9404 MB / 0.6574 GB, free: 9.645 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (93): * Single equations (assignments): 86 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003381/0.8775, allocations: 176 kB / 0.6576 GB, free: 9.477 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007573/0.8851, allocations: 5.088 MB / 0.6625 GB, free: 4.348 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8851, allocations: 0 / 0.6625 GB, free: 4.348 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003506/0.8886, allocations: 1.997 MB / 0.6645 GB, free: 2.277 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.89, allocations: 354.4 kB / 0.6648 GB, free: 1.941 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1488/1.039, allocations: 9.639 MB / 0.6742 GB, free: 89.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00228/1.041, allocations: 2.93 MB / 0.6771 GB, free: 88.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003563/1.045, allocations: 1.669 MB / 0.6787 GB, free: 88.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005044/1.045, allocations: 208.7 kB / 0.6789 GB, free: 88.79 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/1.045, allocations: 3.812 kB / 0.6789 GB, free: 88.79 MB / 410.7 MB Notification: Performance of Templates: time 0.05664/1.102, allocations: 32.26 MB / 0.7104 GB, free: 87.29 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1)