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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6964/0.6964, allocations: 110.8 MB / 118 MB, free: 14.56 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001686/0.001685, allocations: 156 kB / 143.7 MB, free: 4.895 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 6.222e-06/6.252e-06, allocations: 0 / 173.5 MB, free: 23.05 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04083/0.04085, allocations: 25.17 MB / 198.6 MB, free: 13.95 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.1703, allocations: 41.27 MB / 239.9 MB, free: 4.344 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001749/0.1705, allocations: 73.34 kB / 240 MB, free: 4.344 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.441/0.6116, allocations: 125.6 MB / 365.6 MB, free: 52.25 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0002368/0.6118, allocations: 63.44 kB / 365.7 MB, free: 52.25 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.02874/0.6406, allocations: 5.686 MB / 371.4 MB, free: 46.78 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.6407, allocations: 16.02 kB / 371.4 MB, free: 46.76 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09686/0.7375, allocations: 17.06 MB / 388.4 MB, free: 29.67 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01609/0.7537, allocations: 6.369 MB / 394.8 MB, free: 23.29 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/0.754, allocations: 120 kB / 394.9 MB, free: 23.18 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003621/0.7576, allocations: 203.9 kB / 395.1 MB, free: 22.98 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01922/0.7769, allocations: 12.5 MB / 407.6 MB, free: 10.47 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09421/0.8711, allocations: 13.57 MB / 421.2 MB, free: 59.98 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001496/0.8713, allocations: 35.75 kB / 421.2 MB, free: 59.98 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001798/0.8731, allocations: 15.84 kB / 421.2 MB, free: 59.98 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03567/0.9088, allocations: 6.706 MB / 428 MB, free: 59.98 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3694/1.278, allocations: 90.78 MB / 0.5066 GB, free: 7.594 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004992/1.283, allocations: 4.111 MB / 0.5106 GB, free: 3.281 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003612/1.287, allocations: 2.843 MB / 0.5134 GB, free: 416 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09266/1.38, allocations: 0.6514 MB / 0.514 GB, free: 61.06 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.195e-05/1.38, allocations: 66.7 kB / 0.5141 GB, free: 61.02 MB / 234.7 MB Notification: Performance of pre-optimization done (n=234): time 7.654e-06/1.38, allocations: 0 / 0.5141 GB, free: 61.02 MB / 234.7 MB Notification: Performance of matching and sorting (n=248): time 0.07629/1.456, allocations: 30.72 MB / 0.5441 GB, free: 55.74 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/1.456, allocations: 362.9 kB / 0.5444 GB, free: 55.33 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005042/1.461, allocations: 3 MB / 0.5473 GB, free: 54.64 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001151/1.462, allocations: 25.7 kB / 0.5474 GB, free: 54.61 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001624/1.464, allocations: 2.64 MB / 0.5499 GB, free: 52.7 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001808/1.466, allocations: 0.926 MB / 0.5509 GB, free: 52.02 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005602/1.466, allocations: 0 / 0.5509 GB, free: 52.02 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0003738/1.467, allocations: 0.5873 MB / 0.5514 GB, free: 51.59 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005107/1.472, allocations: 3.769 MB / 0.5551 GB, free: 50.35 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0089/1.481, allocations: 7.517 MB / 0.5624 GB, free: 44.08 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01863/1.5, allocations: 8.373 MB / 0.5706 GB, free: 39.75 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001472/1.5, allocations: 40 kB / 0.5707 GB, free: 39.71 MB / 234.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.06576/1.566, allocations: 15.32 MB / 0.5856 GB, free: 27.29 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/1.566, allocations: 12 kB / 0.5856 GB, free: 27.28 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04226/1.608, allocations: 8.725 MB / 0.5942 GB, free: 20.41 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01492/1.623, allocations: 1.933 MB / 0.596 GB, free: 19.07 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01188/1.635, allocations: 1.612 MB / 0.5976 GB, free: 17.71 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009417/1.644, allocations: 7.097 MB / 0.6045 GB, free: 10.7 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02494/1.669, allocations: 1.407 MB / 0.6059 GB, free: 9.77 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002998/1.672, allocations: 0.5758 MB / 0.6065 GB, free: 9.258 MB / 234.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.003714/1.676, allocations: 429.5 kB / 0.6069 GB, free: 8.828 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00221/1.678, allocations: 300.1 kB / 0.6072 GB, free: 8.531 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/1.68, allocations: 443.9 kB / 0.6076 GB, free: 8.141 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1353/1.815, allocations: 10.68 MB / 0.618 GB, free: 52.4 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.694e-05/1.816, allocations: 8.703 kB / 0.618 GB, free: 52.4 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.772e-05/1.816, allocations: 16.56 kB / 0.6181 GB, free: 52.4 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1214/1.937, allocations: 22.83 MB / 0.6403 GB, free: 50.98 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-05/1.937, allocations: 7.062 kB / 0.6404 GB, free: 50.98 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004361/1.942, allocations: 387.5 kB / 0.6407 GB, free: 50.98 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01619/1.958, allocations: 2.04 MB / 0.6427 GB, free: 50.92 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001391/1.959, allocations: 118.6 kB / 0.6428 GB, free: 50.92 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01446/1.974, allocations: 8.423 MB / 0.6511 GB, free: 45.59 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00216/1.976, allocations: 2.719 MB / 0.6537 GB, free: 42.95 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05652/2.032, allocations: 15.49 MB / 0.6688 GB, free: 35.79 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/2.034, allocations: 460.4 kB / 0.6693 GB, free: 35.53 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002227/2.037, allocations: 31.41 kB / 0.6693 GB, free: 35.51 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01712/2.054, allocations: 1.103 MB / 0.6704 GB, free: 34.82 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001042/2.055, allocations: 136.3 kB / 0.6705 GB, free: 34.75 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001245/2.056, allocations: 236.3 kB / 0.6707 GB, free: 34.56 MB / 234.7 MB Notification: Performance of sort global known variables: time 0.005917/2.062, allocations: 1.999 MB / 0.6727 GB, free: 32.82 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.01292/2.075, allocations: 1.17 MB / 0.6738 GB, free: 31.66 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 24 ($STATESET140547973941656.x[3],$STATESET140547973941656.x[2],$STATESET140547973941656.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],$STATESET140547973941655.x[3],$STATESET140547973941655.x[2],$STATESET140547973941655.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.001544/2.077, allocations: 196.4 kB / 0.674 GB, free: 31.51 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.03722/2.114, allocations: 10.17 MB / 0.684 GB, free: 22.99 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/2.114, allocations: 4 kB / 0.684 GB, free: 22.98 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02451/2.139, allocations: 5.244 MB / 0.6891 GB, free: 18.55 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/2.141, allocations: 272.1 kB / 0.6893 GB, free: 18.31 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01959/2.161, allocations: 10.15 MB / 0.6993 GB, free: 8.828 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007093/2.168, allocations: 3.931 MB / 0.7031 GB, free: 4.883 MB / 234.7 MB Notification: Performance of SimCode: time 6.51e-07/2.168, allocations: 0 / 0.7031 GB, free: 4.883 MB / 234.7 MB Notification: Performance of Templates: time 0.1935/2.362, allocations: 73.35 MB / 0.7747 GB, free: 21.31 MB / 234.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)