Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.1_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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009186/0.0009186, allocations: 99.08 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009532/0.0009532, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004211/0.0004211, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2118, allocations: 47.57 MB / 326.4 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01132/0.2232, allocations: 11.88 MB / 338.3 MB, free: 7.629 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009137/0.2324, allocations: 4.058 MB / 342.4 MB, free: 3.562 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002179/0.2346, allocations: 51.88 kB / 342.4 MB, free: 3.512 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.2361, allocations: 0.5366 MB / 343 MB, free: 2.973 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00538/0.2415, allocations: 1.991 MB / 345 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009466/0.2425, allocations: 431.3 kB / 345.4 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002914/0.2454, allocations: 1.743 MB / 347.1 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006215/0.246, allocations: 0.5194 MB / 347.6 MB, free: 14.24 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000911/0.247, allocations: 0.658 MB / 348.3 MB, free: 13.58 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.2483, allocations: 0.9698 MB / 349.3 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002018/0.2485, allocations: 84 kB / 349.4 MB, free: 12.53 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.25, allocations: 0.7957 MB / 350.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009247/0.251, allocations: 0.9819 MB / 351.1 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004215/0.2514, allocations: 0.4923 MB / 351.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003376/0.2548, allocations: 3.018 MB / 354.6 MB, free: 7.223 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2548, allocations: 0 / 354.6 MB, free: 7.223 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2548, allocations: 0 / 354.6 MB, free: 7.223 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.587e-05/0.2549, allocations: 3.938 kB / 354.6 MB, free: 7.219 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.00559/0.2605, allocations: 2.795 MB / 357.4 MB, free: 4.363 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.2605, allocations: 8.031 kB / 357.4 MB, free: 4.355 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008931/0.2695, allocations: 2.258 MB / 359.7 MB, free: 2.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003946/0.2734, allocations: 2.097 MB / 361.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.2736, allocations: 114.6 kB / 361.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009257/0.2745, allocations: 303.5 kB / 362.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01522/0.2897, allocations: 8.606 MB / 370.8 MB, free: 6.367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.93e-05/0.2898, allocations: 43.64 kB / 370.9 MB, free: 6.324 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002816/0.2901, allocations: 75.89 kB / 370.9 MB, free: 6.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00214/0.2923, allocations: 1.393 MB / 372.3 MB, free: 4.855 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01826/0.3106, allocations: 9.909 MB / 382.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03533/0.3459, allocations: 30.72 MB / 413 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/0.3581, allocations: 4.5 MB / 417.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.403e-05/0.3582, allocations: 21.08 kB / 417.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.3583, allocations: 46.56 kB / 417.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 3.506e-06/0.3583, allocations: 0 / 417.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=136): time 0.04737/0.4057, allocations: 18.96 MB / 436.5 MB, free: 3.324 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002239/0.4079, allocations: 3.077 MB / 439.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004029/0.412, allocations: 3.234 MB / 442.8 MB, free: 12.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004709/0.4125, allocations: 45.69 kB / 442.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00133/0.4138, allocations: 2.091 MB / 444.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006845/0.4145, allocations: 0.567 MB / 445.5 MB, free: 9.926 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/0.4148, allocations: 92 kB / 445.6 MB, free: 9.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000286/0.4151, allocations: 0.5127 MB / 446.1 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00375/0.4188, allocations: 2.641 MB / 448.7 MB, free: 6.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1549/0.5737, allocations: 5.572 MB / 454.3 MB, free: 106.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006667/0.5804, allocations: 3.705 MB / 458 MB, free: 106.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.911e-05/0.5806, allocations: 29.75 kB / 458 MB, free: 106.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.02983/0.6104, allocations: 11.79 MB / 469.8 MB, free: 103.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.19e-05/0.6105, allocations: 49.22 kB / 469.9 MB, free: 103.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02103/0.6316, allocations: 7.049 MB / 476.9 MB, free: 97.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02087/0.6525, allocations: 4.555 MB / 481.5 MB, free: 93.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00416/0.6567, allocations: 1.233 MB / 482.7 MB, free: 91.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/0.6706, allocations: 12.08 MB / 494.8 MB, free: 79.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004996/0.6756, allocations: 0.576 MB / 495.4 MB, free: 78.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001015/0.6767, allocations: 317 kB / 495.7 MB, free: 78.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (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.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (584): * Single equations (assignments): 569 * 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.003291/0.68, allocations: 1.412 MB / 497.1 MB, free: 77.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008077/0.6808, allocations: 254.3 kB / 497.3 MB, free: 77.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009885/0.6818, allocations: 419.4 kB / 497.8 MB, free: 76.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01055/0.6923, allocations: 5.013 MB / 0.491 GB, free: 71.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.145e-05/0.6924, allocations: 4 kB / 0.491 GB, free: 71.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/0.6924, allocations: 7.969 kB / 0.491 GB, free: 71.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008028/0.7005, allocations: 5.38 MB / 0.4963 GB, free: 66.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/0.7005, allocations: 0 / 0.4963 GB, free: 66.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/0.7022, allocations: 367.4 kB / 0.4966 GB, free: 65.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007903/0.7101, allocations: 2.393 MB / 0.4989 GB, free: 63.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004128/0.7105, allocations: 43.95 kB / 0.499 GB, free: 63.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00725/0.7178, allocations: 9.003 MB / 0.5078 GB, free: 53.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001246/0.719, allocations: 2.916 MB / 0.5106 GB, free: 50.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/0.7338, allocations: 8.849 MB / 0.5193 GB, free: 41.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007466/0.7346, allocations: 345.5 kB / 0.5196 GB, free: 41.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007101/0.7353, allocations: 39.94 kB / 0.5196 GB, free: 41.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002349/0.7377, allocations: 315.4 kB / 0.5199 GB, free: 41.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004321/0.7381, allocations: 107.8 kB / 0.52 GB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001967/0.7383, allocations: 56.66 kB / 0.5201 GB, free: 40.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002851/0.7412, allocations: 2.051 MB / 0.5221 GB, free: 38.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.7412, allocations: 2.516 kB / 0.5221 GB, free: 38.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004785/0.746, allocations: 1.028 MB / 0.5231 GB, free: 37.82 MB / 382.1 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 () * Number of clocked 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.0007574/0.7468, allocations: 184.8 kB / 0.5233 GB, free: 37.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01156/0.7584, allocations: 7.34 MB / 0.5304 GB, free: 30.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.7584, allocations: 0 / 0.5304 GB, free: 30.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005773/0.7642, allocations: 3.621 MB / 0.534 GB, free: 26.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.7661, allocations: 286.6 kB / 0.5343 GB, free: 26.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/0.7779, allocations: 9.308 MB / 0.5433 GB, free: 16.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002337/0.7803, allocations: 2.354 MB / 0.5456 GB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003802/0.7842, allocations: 1.667 MB / 0.5473 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009798/0.7852, allocations: 207.3 kB / 0.5475 GB, free: 12.5 MB / 382.1 MB Notification: Performance of SimCode: time 1.312e-06/0.7852, allocations: 2.078 kB / 0.5475 GB, free: 12.5 MB / 382.1 MB Notification: Performance of Templates: time 0.06663/0.8518, allocations: 43.86 MB / 0.5903 GB, free: 0.6328 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) Environment - environmentSimulation: