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.001017/0.001018, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.449/1.449, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001716/0.001716, allocations: 104.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.205e-05/2.208e-05, allocations: 8 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0689/0.06893, allocations: 44.5 MB / 349.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2909/0.3599, allocations: 86.94 MB / 436.4 MB, free: 7.621 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.3601, allocations: 86.75 kB / 436.5 MB, free: 7.605 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1767/0.5368, allocations: 71.67 MB / 0.4962 GB, free: 7.621 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5369, allocations: 4 kB / 0.4962 GB, free: 7.617 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001943/0.5371, allocations: 68 kB / 0.4963 GB, free: 7.551 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: 1295 * Number of variables: 1295 Notification: Performance of Generate backend data structure: time 0.01387/0.551, allocations: 3.776 MB / 0.5 GB, free: 3.715 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.551, allocations: 12.02 kB / 0.5 GB, free: 3.703 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/0.5611, allocations: 2.14 MB / 0.5021 GB, free: 1.555 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0126/0.5737, allocations: 4.443 MB / 0.5064 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003147/0.5741, allocations: 271.2 kB / 0.5067 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001866/0.576, allocations: 371.8 kB / 0.507 GB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01952/0.5955, allocations: 9.01 MB / 0.5158 GB, free: 2.441 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001876/0.5957, allocations: 51.56 kB / 0.5159 GB, free: 2.391 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007293/0.5965, allocations: 179.9 kB / 0.5161 GB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001233/0.5977, allocations: 0.8801 MB / 0.5169 GB, free: 1.336 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01468/0.6124, allocations: 7.232 MB / 0.524 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2515/0.864, allocations: 43.18 MB / 0.5661 GB, free: 72.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007431/0.8715, allocations: 3.152 MB / 0.5692 GB, free: 71.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/0.8734, allocations: 1.354 MB / 0.5705 GB, free: 71.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009658/0.8831, allocations: 6.062 MB / 0.5765 GB, free: 69.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.8831, allocations: 45.67 kB / 0.5765 GB, free: 69.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 5.31e-06/0.8831, allocations: 0 / 0.5765 GB, free: 69.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=125): time 0.02317/0.9063, allocations: 8.938 MB / 0.5852 GB, free: 67.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000949/0.9073, allocations: 1.619 MB / 0.5868 GB, free: 66.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004225/0.9116, allocations: 3.108 MB / 0.5899 GB, free: 65.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003048/0.9119, allocations: 48.88 kB / 0.5899 GB, free: 65.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001357/0.9133, allocations: 2.773 MB / 0.5926 GB, free: 64.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005549/0.9138, allocations: 0.521 MB / 0.5931 GB, free: 63.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.914, allocations: 108.1 kB / 0.5932 GB, free: 63.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002315/0.9143, allocations: 0.5369 MB / 0.5937 GB, free: 63.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002255/0.9165, allocations: 1.822 MB / 0.5955 GB, free: 63.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003261/0.9198, allocations: 5.225 MB / 0.6006 GB, free: 59.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003678/0.9235, allocations: 3.063 MB / 0.6036 GB, free: 59.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001159/0.9236, allocations: 33.53 kB / 0.6036 GB, free: 59.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01772/0.9414, allocations: 8.268 MB / 0.6117 GB, free: 57.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.834e-05/0.9415, allocations: 56.75 kB / 0.6118 GB, free: 57.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008828/0.9503, allocations: 3.076 MB / 0.6148 GB, free: 56.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008956/0.9593, allocations: 1.933 MB / 0.6167 GB, free: 56.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003855/0.9633, allocations: 1.23 MB / 0.6179 GB, free: 55.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006832/0.9701, allocations: 5.718 MB / 0.6235 GB, free: 52.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004643/0.9748, allocations: 366.9 kB / 0.6238 GB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001003/0.9758, allocations: 340.3 kB / 0.6241 GB, free: 52.23 MB / 410.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 () * 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.0009692/0.9768, allocations: 0.5147 MB / 0.6246 GB, free: 51.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007076/0.9775, allocations: 305.2 kB / 0.6249 GB, free: 51.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004906/0.9824, allocations: 2.661 MB / 0.6275 GB, free: 50.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003817/0.9863, allocations: 2.244 MB / 0.6297 GB, free: 50 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.556e-05/0.9863, allocations: 3.75 kB / 0.6297 GB, free: 50 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/0.9863, allocations: 11.66 kB / 0.6297 GB, free: 50 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005749/0.9921, allocations: 3.352 MB / 0.633 GB, free: 48.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.9922, allocations: 0 / 0.633 GB, free: 48.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.9932, allocations: 207.6 kB / 0.6332 GB, free: 48.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002809/0.996, allocations: 1.033 MB / 0.6342 GB, free: 48.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/0.9962, allocations: 35.08 kB / 0.6342 GB, free: 48.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004685/1.001, allocations: 5.002 MB / 0.6391 GB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007217/1.002, allocations: 1.476 MB / 0.6406 GB, free: 43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00655/1.008, allocations: 4.838 MB / 0.6453 GB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/1.009, allocations: 360.2 kB / 0.6456 GB, free: 38.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003611/1.01, allocations: 27.47 kB / 0.6457 GB, free: 38.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/1.011, allocations: 123.5 kB / 0.6458 GB, free: 38.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/1.011, allocations: 77.08 kB / 0.6459 GB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/1.011, allocations: 36.52 kB / 0.6459 GB, free: 38.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00387/1.015, allocations: 2.151 MB / 0.648 GB, free: 36.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.015, allocations: 0 / 0.648 GB, free: 36.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00494/1.02, allocations: 0.9308 MB / 0.6489 GB, free: 35.43 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 () * 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.0004143/1.021, allocations: 172.5 kB / 0.6491 GB, free: 35.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007594/1.028, allocations: 5.025 MB / 0.654 GB, free: 30.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.028, allocations: 4.188 kB / 0.654 GB, free: 30.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00337/1.032, allocations: 1.993 MB / 0.6559 GB, free: 28.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/1.034, allocations: 352 kB / 0.6563 GB, free: 28.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/1.045, allocations: 6.8 MB / 0.6629 GB, free: 22.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002557/1.048, allocations: 2.941 MB / 0.6658 GB, free: 20.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003783/1.051, allocations: 1.664 MB / 0.6674 GB, free: 19.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005929/1.052, allocations: 207.1 kB / 0.6676 GB, free: 19.16 MB / 410.7 MB Notification: Performance of SimCode: time 9.51e-07/1.052, allocations: 3.938 kB / 0.6676 GB, free: 19.15 MB / 410.7 MB Notification: Performance of Templates: time 0.05831/1.11, allocations: 32.2 MB / 0.699 GB, free: 4.363 MB / 426.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)