Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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.PointGravity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009803/0.0009802, 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.65/1.65, allocations: 194.3 MB / 208.4 MB, free: 6.699 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.001687/0.001687, allocations: 120.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.97e-05/2.972e-05, allocations: 0 / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0965/0.09655, allocations: 44.51 MB / 349.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3702/0.4668, allocations: 81.33 MB / 430.8 MB, free: 9.246 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.467, allocations: 80.14 kB / 430.9 MB, free: 9.234 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1514/0.6185, allocations: 59.21 MB / 490.1 MB, free: 9.742 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.6185, allocations: 0 / 490.1 MB, free: 9.742 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.119e-05/0.6186, allocations: 44 kB / 490.1 MB, free: 9.699 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.01435/0.6329, allocations: 3.433 MB / 493.5 MB, free: 6.207 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.633, allocations: 8.031 kB / 493.5 MB, free: 6.199 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0117/0.6447, allocations: 2.36 MB / 495.9 MB, free: 3.832 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01343/0.6582, allocations: 4.844 MB / 0.489 GB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002478/0.6585, allocations: 168.4 kB / 0.4892 GB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001448/0.6599, allocations: 239.8 kB / 0.4894 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01845/0.6784, allocations: 8.463 MB / 0.4977 GB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/0.6786, allocations: 51.56 kB / 0.4977 GB, free: 5.168 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004281/0.679, allocations: 115.9 kB / 0.4978 GB, free: 5.055 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001211/0.6803, allocations: 0.7301 MB / 0.4985 GB, free: 4.324 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01973/0.7, allocations: 9.45 MB / 0.5078 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04358/0.7436, allocations: 37.73 MB / 0.5446 GB, free: 3.887 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2407/0.9844, allocations: 4.032 MB / 0.5486 GB, free: 116.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003664/0.9881, allocations: 2.198 MB / 0.5507 GB, free: 116.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.9882, allocations: 12.83 kB / 0.5507 GB, free: 116.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.9883, allocations: 50.33 kB / 0.5508 GB, free: 116.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 4.659e-06/0.9883, allocations: 0 / 0.5508 GB, free: 116.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=136): time 0.04127/1.03, allocations: 14.5 MB / 0.5649 GB, free: 114.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001829/1.031, allocations: 3.045 MB / 0.5679 GB, free: 111.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003839/1.035, allocations: 2.611 MB / 0.5704 GB, free: 111.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005598/1.036, allocations: 49.61 kB / 0.5705 GB, free: 111.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001079/1.037, allocations: 2.078 MB / 0.5725 GB, free: 110.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007748/1.038, allocations: 0.5623 MB / 0.5731 GB, free: 110.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/1.038, allocations: 90.02 kB / 0.5732 GB, free: 110.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002015/1.038, allocations: 0.5133 MB / 0.5737 GB, free: 109.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002694/1.041, allocations: 2.293 MB / 0.5759 GB, free: 109.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004091/1.045, allocations: 5.17 MB / 0.5809 GB, free: 106.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004728/1.05, allocations: 3.371 MB / 0.5842 GB, free: 105.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.586e-05/1.05, allocations: 28.88 kB / 0.5843 GB, free: 105.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01819/1.068, allocations: 9.229 MB / 0.5933 GB, free: 102.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.921e-05/1.068, allocations: 53.19 kB / 0.5933 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01071/1.079, allocations: 4.652 MB / 0.5979 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00848/1.087, allocations: 2.358 MB / 0.6002 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00428/1.092, allocations: 1.165 MB / 0.6013 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00679/1.099, allocations: 8.122 MB / 0.6092 GB, free: 95.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006004/1.105, allocations: 0.5663 MB / 0.6098 GB, free: 94.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001091/1.106, allocations: 300.2 kB / 0.6101 GB, free: 94.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 15 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (575): * Single equations (assignments): 560 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009592/1.107, allocations: 473.2 kB / 0.6105 GB, free: 93.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007581/1.107, allocations: 256.6 kB / 0.6108 GB, free: 93.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/1.109, allocations: 417.8 kB / 0.6112 GB, free: 93.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01058/1.119, allocations: 4.546 MB / 0.6156 GB, free: 89.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-05/1.119, allocations: 12 kB / 0.6156 GB, free: 89.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.299e-05/1.119, allocations: 7.453 kB / 0.6156 GB, free: 89.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008321/1.128, allocations: 5.326 MB / 0.6208 GB, free: 85.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/1.128, allocations: 3.875 kB / 0.6208 GB, free: 85.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/1.129, allocations: 285.1 kB / 0.6211 GB, free: 85.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008328/1.137, allocations: 2.373 MB / 0.6234 GB, free: 84.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006002/1.138, allocations: 42.59 kB / 0.6235 GB, free: 83.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007493/1.146, allocations: 8.834 MB / 0.6321 GB, free: 75.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001373/1.147, allocations: 2.889 MB / 0.6349 GB, free: 72.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01483/1.162, allocations: 8.091 MB / 0.6428 GB, free: 63.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/1.163, allocations: 341.6 kB / 0.6431 GB, free: 63.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005354/1.164, allocations: 31.98 kB / 0.6432 GB, free: 63.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002134/1.166, allocations: 264.9 kB / 0.6434 GB, free: 63.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003621/1.166, allocations: 111.1 kB / 0.6435 GB, free: 63.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/1.166, allocations: 40.25 kB / 0.6436 GB, free: 63.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002329/1.169, allocations: 1.813 MB / 0.6453 GB, free: 61.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.169, allocations: 0 / 0.6453 GB, free: 61.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003754/1.172, allocations: 0.9472 MB / 0.6463 GB, free: 60.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004545/1.173, allocations: 166.8 kB / 0.6464 GB, free: 60.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009795/1.183, allocations: 6.68 MB / 0.6529 GB, free: 53.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.183, allocations: 4 kB / 0.653 GB, free: 53.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00571/1.188, allocations: 3.378 MB / 0.6562 GB, free: 49.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/1.191, allocations: 281.8 kB / 0.6565 GB, free: 49.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/1.204, allocations: 7.411 MB / 0.6638 GB, free: 42.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001789/1.206, allocations: 2.345 MB / 0.666 GB, free: 39.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003772/1.21, allocations: 1.62 MB / 0.6676 GB, free: 38.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007359/1.211, allocations: 195.3 kB / 0.6678 GB, free: 38.08 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/1.211, allocations: 0 / 0.6678 GB, free: 38.08 MB / 410.7 MB Notification: Performance of Templates: time 0.05039/1.261, allocations: 36.02 MB / 0.703 GB, free: 2.316 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1)