Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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.PointGravity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.677/0.677, allocations: 110.8 MB / 118.3 MB, free: 10.53 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001663/0.001663, allocations: 151.4 kB / 144 MB, free: 9.816 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.71e-05/1.712e-05, allocations: 4 kB / 173.9 MB, free: 11.88 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05429/0.05432, allocations: 25.18 MB / 199 MB, free: 2.652 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1617/0.2161, allocations: 41.34 MB / 240.4 MB, free: 14.61 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.2164, allocations: 67.95 kB / 240.4 MB, free: 14.54 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4465/0.6629, allocations: 128.8 MB / 369.3 MB, free: 48 kB / 218.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6629, allocations: 0 / 369.3 MB, free: 48 kB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001295/0.6631, allocations: 72.14 kB / 369.4 MB, free: 15.97 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: 1358 * Number of variables: 1358 Notification: Performance of Generate backend data structure: time 0.02677/0.6898, allocations: 6.369 MB / 375.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.6899, allocations: 8.031 kB / 375.7 MB, free: 9.539 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2092/0.8991, allocations: 19.71 MB / 395.4 MB, free: 39.85 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01625/0.9154, allocations: 6.419 MB / 401.9 MB, free: 39.59 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.9157, allocations: 116.9 kB / 402 MB, free: 39.59 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003162/0.9189, allocations: 209.5 kB / 402.2 MB, free: 39.59 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0213/0.9402, allocations: 13.54 MB / 415.7 MB, free: 39.57 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02432/0.9646, allocations: 14.71 MB / 430.4 MB, free: 34.32 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001198/0.9647, allocations: 27.88 kB / 430.4 MB, free: 34.32 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/0.9658, allocations: 23.45 kB / 430.5 MB, free: 34.31 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0325/0.9983, allocations: 7.767 MB / 438.2 MB, free: 31.4 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4839/1.482, allocations: 105 MB / 0.5305 GB, free: 33.29 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006145/1.488, allocations: 5.135 MB / 0.5355 GB, free: 31.27 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004238/1.493, allocations: 3.599 MB / 0.5391 GB, free: 28.95 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/1.493, allocations: 29.91 kB / 0.5391 GB, free: 28.93 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/1.493, allocations: 71.67 kB / 0.5392 GB, free: 28.88 MB / 250.7 MB Notification: Performance of pre-optimization done (n=234): time 6.783e-06/1.493, allocations: 0 / 0.5392 GB, free: 28.88 MB / 250.7 MB Notification: Performance of matching and sorting (n=248): time 0.03803/1.531, allocations: 21.59 MB / 0.5602 GB, free: 8.777 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/1.531, allocations: 354.4 kB / 0.5606 GB, free: 8.352 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003981/1.535, allocations: 2.958 MB / 0.5635 GB, free: 5.469 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001027/1.536, allocations: 25.7 kB / 0.5635 GB, free: 5.438 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00132/1.537, allocations: 2.76 MB / 0.5662 GB, free: 2.887 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001344/1.539, allocations: 0.9226 MB / 0.5671 GB, free: 1.953 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000554/1.539, allocations: 1.5 kB / 0.5671 GB, free: 1.953 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002831/1.54, allocations: 0.5873 MB / 0.5677 GB, free: 1.359 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1349/1.675, allocations: 3.847 MB / 0.5714 GB, free: 46.41 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007925/1.683, allocations: 7.595 MB / 0.5788 GB, free: 41.57 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007585/1.69, allocations: 4.644 MB / 0.5834 GB, free: 41.55 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001559/1.69, allocations: 38.12 kB / 0.5834 GB, free: 41.55 MB / 250.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.02786/1.718, allocations: 12 MB / 0.5951 GB, free: 41.09 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/1.718, allocations: 61.77 kB / 0.5952 GB, free: 41.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01183/1.73, allocations: 5.525 MB / 0.6006 GB, free: 40.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008081/1.738, allocations: 2.2 MB / 0.6027 GB, free: 40 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006686/1.745, allocations: 1.704 MB / 0.6044 GB, free: 39.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005704/1.751, allocations: 7.163 MB / 0.6114 GB, free: 34.39 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01354/1.764, allocations: 1.843 MB / 0.6132 GB, free: 34.39 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002067/1.767, allocations: 0.5707 MB / 0.6137 GB, free: 34.33 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 608 * 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 (816): * Single equations (assignments): 790 * Array equations: 18 * 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 {1,1} * 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.00148/1.768, allocations: 434.4 kB / 0.6142 GB, free: 34.05 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009122/1.769, allocations: 301.5 kB / 0.6144 GB, free: 34.05 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/1.77, allocations: 478.9 kB / 0.6149 GB, free: 33.76 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0229/1.793, allocations: 7.969 MB / 0.6227 GB, free: 32.35 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.379e-05/1.793, allocations: 6.25 kB / 0.6227 GB, free: 32.35 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.855e-05/1.793, allocations: 14.25 kB / 0.6227 GB, free: 32.35 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0624/1.856, allocations: 22.57 MB / 0.6447 GB, free: 19.92 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.492e-05/1.856, allocations: 11.5 kB / 0.6448 GB, free: 19.91 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002385/1.858, allocations: 439.6 kB / 0.6452 GB, free: 19.58 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00814/1.866, allocations: 2.32 MB / 0.6474 GB, free: 17.5 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001028/1.867, allocations: 107.8 kB / 0.6475 GB, free: 17.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007157/1.874, allocations: 8.627 MB / 0.656 GB, free: 8.359 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001242/1.876, allocations: 2.785 MB / 0.6587 GB, free: 5.332 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1583/2.034, allocations: 13 MB / 0.6714 GB, free: 36.97 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/2.035, allocations: 460 kB / 0.6718 GB, free: 36.88 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008453/2.036, allocations: 27.22 kB / 0.6718 GB, free: 36.88 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009802/2.046, allocations: 1.489 MB / 0.6733 GB, free: 36.88 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007752/2.047, allocations: 187 kB / 0.6735 GB, free: 36.88 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000514/2.047, allocations: 231.2 kB / 0.6737 GB, free: 36.88 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.003445/2.051, allocations: 1.956 MB / 0.6756 GB, free: 36.73 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.4e-07/2.051, allocations: 2.625 kB / 0.6756 GB, free: 36.73 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.008025/2.059, allocations: 1.2 MB / 0.6768 GB, free: 36.73 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 24 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.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],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.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 (186): * Single equations (assignments): 166 * Array equations: 12 * 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.0008735/2.06, allocations: 172.2 kB / 0.6769 GB, free: 36.64 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.01622/2.076, allocations: 9.519 MB / 0.6862 GB, free: 36.02 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/2.076, allocations: 5.312 kB / 0.6862 GB, free: 36.02 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007731/2.084, allocations: 4.681 MB / 0.6908 GB, free: 35.18 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/2.087, allocations: 273.6 kB / 0.6911 GB, free: 35.16 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01862/2.106, allocations: 10.38 MB / 0.7012 GB, free: 32.11 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002846/2.108, allocations: 3.116 MB / 0.7043 GB, free: 30.93 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.008245/2.117, allocations: 2.673 MB / 0.7069 GB, free: 30.59 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002901/2.12, allocations: 0.5668 MB / 0.7074 GB, free: 30.51 MB / 250.7 MB Notification: Performance of SimCode: time 1.332e-06/2.12, allocations: 0 / 0.7074 GB, free: 30.51 MB / 250.7 MB Notification: Performance of Templates: time 0.2136/2.333, allocations: 67.79 MB / 0.7736 GB, free: 44.5 MB / 266.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1)