Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6075/0.6075, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001721/0.001721, allocations: 146.6 kB / 151.9 MB, free: 5 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002703/0.0002703, allocations: 12 kB / 184.9 MB, free: 3.922 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1155, allocations: 25.15 MB / 210.1 MB, free: 29.75 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04948/0.165, allocations: 46.68 MB / 256.7 MB, free: 3.141 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.1653, allocations: 81.17 kB / 256.8 MB, free: 3.062 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5637/0.729, allocations: 148 MB / 404.8 MB, free: 33.84 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.729, allocations: 0 / 404.8 MB, free: 33.84 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001947/0.7292, allocations: 100.6 kB / 404.9 MB, free: 33.83 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1770 * Number of variables: 1770 Notification: Performance of Generate backend data structure: time 0.02732/0.7566, allocations: 7.061 MB / 411.9 MB, free: 31.74 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.7566, allocations: 10.59 kB / 412 MB, free: 31.74 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0888/0.8454, allocations: 20.37 MB / 432.3 MB, free: 30.84 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0173/0.8628, allocations: 6.102 MB / 438.4 MB, free: 30.23 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004056/0.8632, allocations: 377.8 kB / 438.8 MB, free: 30.03 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003884/0.8671, allocations: 493 kB / 439.3 MB, free: 29.71 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07464/0.9418, allocations: 25.28 MB / 464.6 MB, free: 6.73 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002206/0.942, allocations: 40.95 kB / 464.6 MB, free: 6.707 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002578/0.9446, allocations: 223.7 kB / 464.8 MB, free: 6.523 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03274/0.9774, allocations: 8.254 MB / 473.1 MB, free: 14.27 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2116/1.189, allocations: 26.89 MB / 500 MB, free: 44.71 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4972/1.686, allocations: 109.5 MB / 0.5952 GB, free: 42.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02361/1.71, allocations: 8.618 MB / 0.6036 GB, free: 41.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08385/1.794, allocations: 24.97 MB / 0.628 GB, free: 38.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/1.794, allocations: 48.94 kB / 0.6281 GB, free: 38.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=184): time 6.172e-06/1.794, allocations: 0 / 0.6281 GB, free: 38.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=191): time 0.06784/1.862, allocations: 24.67 MB / 0.6521 GB, free: 24.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001023/1.863, allocations: 1.631 MB / 0.6537 GB, free: 22.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005982/1.869, allocations: 4.124 MB / 0.6578 GB, free: 18.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007418/1.87, allocations: 48.52 kB / 0.6578 GB, free: 18.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001702/1.871, allocations: 3.561 MB / 0.6613 GB, free: 15.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009645/1.872, allocations: 0.759 MB / 0.662 GB, free: 14.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004317/1.873, allocations: 134.4 kB / 0.6622 GB, free: 14.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002659/1.873, allocations: 0.6035 MB / 0.6627 GB, free: 13.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01715/1.89, allocations: 6.252 MB / 0.6689 GB, free: 7.648 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02116/1.911, allocations: 10.61 MB / 0.6792 GB, free: 10.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01872/1.93, allocations: 6.679 MB / 0.6857 GB, free: 4.359 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001329/1.93, allocations: 44 kB / 0.6858 GB, free: 4.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.1735/2.104, allocations: 16.43 MB / 0.7018 GB, free: 66.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/2.104, allocations: 74.17 kB / 0.7019 GB, free: 66.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01003/2.114, allocations: 3.671 MB / 0.7055 GB, free: 66.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003503/2.117, allocations: 1.156 MB / 0.7066 GB, free: 66.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005921/2.123, allocations: 1.669 MB / 0.7082 GB, free: 66.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004443/2.128, allocations: 4.797 MB / 0.7129 GB, free: 63.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01192/2.14, allocations: 1.729 MB / 0.7146 GB, free: 63.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001941/2.142, allocations: 0.6025 MB / 0.7152 GB, free: 63.79 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 710 * 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 (860): * Single equations (assignments): 842 * Array equations: 14 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.004925/2.147, allocations: 2.354 MB / 0.7175 GB, free: 63.53 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008679/2.148, allocations: 368.5 kB / 0.7179 GB, free: 63.53 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/2.158, allocations: 3.984 MB / 0.7217 GB, free: 63.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01956/2.177, allocations: 5.935 MB / 0.7275 GB, free: 63.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-05/2.177, allocations: 7.516 kB / 0.7276 GB, free: 63.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.484e-05/2.178, allocations: 10.72 kB / 0.7276 GB, free: 63.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03796/2.216, allocations: 12.19 MB / 0.7395 GB, free: 61.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.844e-05/2.216, allocations: 3.938 kB / 0.7395 GB, free: 61.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/2.217, allocations: 313.4 kB / 0.7398 GB, free: 61.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002667/2.22, allocations: 1.023 MB / 0.7408 GB, free: 61.63 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004657/2.22, allocations: 115.6 kB / 0.7409 GB, free: 61.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004129/2.224, allocations: 5.048 MB / 0.7458 GB, free: 58.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006984/2.225, allocations: 1.493 MB / 0.7473 GB, free: 56.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04637/2.272, allocations: 16.92 MB / 0.7638 GB, free: 42.13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001562/2.273, allocations: 0.4994 MB / 0.7643 GB, free: 41.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/2.274, allocations: 41.08 kB / 0.7643 GB, free: 41.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007653/2.282, allocations: 1.398 MB / 0.7657 GB, free: 40.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004254/2.282, allocations: 104.8 kB / 0.7658 GB, free: 40.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003809/2.283, allocations: 211.8 kB / 0.766 GB, free: 39.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.004452/2.287, allocations: 2.856 MB / 0.7688 GB, free: 37.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.6e-07/2.287, allocations: 0 / 0.7688 GB, free: 37.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.006641/2.294, allocations: 1.279 MB / 0.77 GB, free: 35.77 MB / 282.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 (141): * Single equations (assignments): 125 * Array equations: 12 * 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.0005423/2.294, allocations: 192.5 kB / 0.7702 GB, free: 35.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0377/2.332, allocations: 13.98 MB / 0.7839 GB, free: 21.69 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/2.332, allocations: 0 / 0.7839 GB, free: 21.69 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01724/2.349, allocations: 6.089 MB / 0.7898 GB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/2.352, allocations: 384.9 kB / 0.7902 GB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.153/2.505, allocations: 16.28 MB / 0.8061 GB, free: 63.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003427/2.508, allocations: 3.724 MB / 0.8097 GB, free: 62.31 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.008378/2.517, allocations: 2.667 MB / 0.8123 GB, free: 62.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002403/2.519, allocations: 0.5816 MB / 0.8129 GB, free: 62.04 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/2.519, allocations: 0 / 0.8129 GB, free: 62.04 MB / 282.7 MB Notification: Performance of Templates: time 0.08784/2.607, allocations: 59.83 MB / 0.8713 GB, free: 32.91 MB / 282.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1)