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.001053/0.001053, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001186/0.001186, allocations: 168.7 kB / 15.95 MB, free: 204 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.352/1.352, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0004381/0.0004381, allocations: 14.81 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2142, allocations: 47.59 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01218/0.2265, allocations: 12.51 MB / 339 MB, free: 6.953 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00864/0.2352, allocations: 3.964 MB / 343 MB, free: 2.98 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002482/0.2377, allocations: 55.81 kB / 343 MB, free: 2.926 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.239, allocations: 0.5988 MB / 343.6 MB, free: 2.324 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006187/0.2452, allocations: 2.211 MB / 345.8 MB, free: 108 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.2463, allocations: 435.3 kB / 346.3 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004147/0.2504, allocations: 3.261 MB / 349.5 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.2516, allocations: 0.5389 MB / 350.1 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.2531, allocations: 0.7745 MB / 350.8 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/0.2552, allocations: 1.313 MB / 352.1 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004986/0.2557, allocations: 84 kB / 352.2 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.2575, allocations: 0.8112 MB / 353 MB, free: 8.836 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001403/0.2589, allocations: 1.056 MB / 354.1 MB, free: 7.777 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000729/0.2597, allocations: 0.4923 MB / 354.6 MB, free: 7.277 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003138/0.2628, allocations: 2.998 MB / 357.6 MB, free: 4.273 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2628, allocations: 0 / 357.6 MB, free: 4.273 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.2628, allocations: 0 / 357.6 MB, free: 4.273 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.523e-05/0.2629, allocations: 3.938 kB / 357.6 MB, free: 4.27 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.004927/0.2678, allocations: 2.741 MB / 360.3 MB, free: 1.469 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2679, allocations: 8.031 kB / 360.3 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007319/0.2752, allocations: 1.942 MB / 362.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002991/0.2782, allocations: 1.695 MB / 364 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.2783, allocations: 118.6 kB / 364.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008286/0.2791, allocations: 295.5 kB / 364.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01411/0.2933, allocations: 8.231 MB / 372.6 MB, free: 4.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.537e-05/0.2934, allocations: 39.59 kB / 372.6 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002542/0.2937, allocations: 79.89 kB / 372.7 MB, free: 4.453 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002117/0.2958, allocations: 1.397 MB / 374.1 MB, free: 3.055 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01823/0.314, allocations: 9.507 MB / 383.6 MB, free: 9.543 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03721/0.3513, allocations: 30.58 MB / 414.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01193/0.3633, allocations: 4.426 MB / 418.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003103/0.3664, allocations: 2.114 MB / 420.8 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.557e-05/0.3665, allocations: 19.86 kB / 420.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.3666, allocations: 50.5 kB / 420.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 3.466e-06/0.3666, allocations: 4 kB / 420.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=136): time 0.04484/0.4114, allocations: 18.44 MB / 439.3 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002468/0.4139, allocations: 3.046 MB / 442.3 MB, free: 13.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004285/0.4182, allocations: 2.983 MB / 445.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000492/0.4187, allocations: 45.7 kB / 445.3 MB, free: 10.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001529/0.4203, allocations: 2.083 MB / 447.4 MB, free: 8.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000795/0.4211, allocations: 0.5632 MB / 448 MB, free: 7.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.4214, allocations: 99.98 kB / 448.1 MB, free: 7.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003289/0.4217, allocations: 0.5127 MB / 448.6 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004029/0.4257, allocations: 2.617 MB / 451.2 MB, free: 4.227 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1974/0.6231, allocations: 5.557 MB / 456.8 MB, free: 107.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006006/0.6292, allocations: 3.677 MB / 460.4 MB, free: 106.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.726e-05/0.6292, allocations: 30.38 kB / 460.5 MB, free: 106.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02583/0.6551, allocations: 11.74 MB / 472.2 MB, free: 103.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.077e-05/0.6552, allocations: 52.19 kB / 472.3 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01815/0.6733, allocations: 7.004 MB / 479.3 MB, free: 97.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01828/0.6917, allocations: 4.562 MB / 483.8 MB, free: 93.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004058/0.6957, allocations: 1.24 MB / 485.1 MB, free: 92.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01233/0.7081, allocations: 11.44 MB / 496.5 MB, free: 80.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004588/0.7127, allocations: 0.5829 MB / 497.1 MB, free: 79.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004308/0.7132, allocations: 320.6 kB / 497.4 MB, free: 79.28 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 (592): * Single equations (assignments): 577 * 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 {(4,100.0%),(3,100.0%),(4,100.0%),(3,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.001718/0.7149, allocations: 1.417 MB / 498.8 MB, free: 77.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003767/0.7153, allocations: 253.7 kB / 499.1 MB, free: 77.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008124/0.7161, allocations: 422.6 kB / 499.5 MB, free: 77.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009084/0.7252, allocations: 5.008 MB / 0.4927 GB, free: 72.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-05/0.7252, allocations: 6.953 kB / 0.4927 GB, free: 72.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.92e-05/0.7253, allocations: 11.97 kB / 0.4927 GB, free: 72.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006607/0.7319, allocations: 5.349 MB / 0.4979 GB, free: 66.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.7319, allocations: 0 / 0.4979 GB, free: 66.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/0.7334, allocations: 371.4 kB / 0.4983 GB, free: 66.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006602/0.74, allocations: 2.38 MB / 0.5006 GB, free: 64.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002709/0.7403, allocations: 51.94 kB / 0.5006 GB, free: 64.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006624/0.7469, allocations: 8.839 MB / 0.5093 GB, free: 54.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001206/0.7481, allocations: 2.889 MB / 0.5121 GB, free: 51.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/0.7607, allocations: 8.762 MB / 0.5206 GB, free: 42.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005718/0.7613, allocations: 333.7 kB / 0.521 GB, free: 42.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000371/0.7617, allocations: 31.98 kB / 0.521 GB, free: 42.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001745/0.7635, allocations: 323.4 kB / 0.5213 GB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003416/0.7638, allocations: 110.3 kB / 0.5214 GB, free: 42.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/0.764, allocations: 51.95 kB / 0.5215 GB, free: 42.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002325/0.7663, allocations: 1.867 MB / 0.5233 GB, free: 40.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7663, allocations: 0 / 0.5233 GB, free: 40.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004043/0.7704, allocations: 1.003 MB / 0.5243 GB, free: 39.16 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.0004/0.7708, allocations: 174 kB / 0.5244 GB, free: 38.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009939/0.7807, allocations: 7.384 MB / 0.5316 GB, free: 31.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.7808, allocations: 4 kB / 0.5316 GB, free: 31.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004972/0.7858, allocations: 3.61 MB / 0.5352 GB, free: 27.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/0.7877, allocations: 299.8 kB / 0.5355 GB, free: 27.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009689/0.7974, allocations: 9.344 MB / 0.5446 GB, free: 18.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001646/0.799, allocations: 2.302 MB / 0.5468 GB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003396/0.8025, allocations: 1.66 MB / 0.5485 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006597/0.8031, allocations: 199.3 kB / 0.5486 GB, free: 13.84 MB / 382.1 MB Notification: Performance of SimCode: time 9.61e-07/0.8031, allocations: 0 / 0.5486 GB, free: 13.84 MB / 382.1 MB Notification: Performance of Templates: time 0.06346/0.8666, allocations: 42.99 MB / 0.5906 GB, free: 2.852 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (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)