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.001062/0.001062, allocations: 184.6 kB / 8.352 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.528/1.528, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001653/0.001653, allocations: 115.5 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.401e-05/2.402e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1053, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3386/0.4439, allocations: 80.65 MB / 423.2 MB, free: 15.25 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.4442, allocations: 83.27 kB / 423.3 MB, free: 15.21 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2264/0.6706, allocations: 58.44 MB / 481.8 MB, free: 12.04 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.6707, allocations: 0 / 481.8 MB, free: 12.04 MB / 363.1 MB Notification: Performance of Transformations before backend: time 0.000147/0.6708, allocations: 44 kB / 481.8 MB, free: 12 MB / 363.1 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.0165/0.6873, allocations: 3.437 MB / 485.2 MB, free: 8.504 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.6874, allocations: 15.97 kB / 485.2 MB, free: 8.488 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01222/0.6996, allocations: 2.344 MB / 487.6 MB, free: 6.137 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/0.7127, allocations: 4.851 MB / 492.4 MB, free: 1.234 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.713, allocations: 72 kB / 492.5 MB, free: 1.164 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001615/0.7146, allocations: 143.9 kB / 492.7 MB, free: 1.023 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009811/0.7244, allocations: 5.532 MB / 498.2 MB, free: 11.48 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01496/0.7394, allocations: 7.804 MB / 0.4941 GB, free: 2.836 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001921/0.7397, allocations: 47.56 kB / 0.4942 GB, free: 2.789 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001036/0.7407, allocations: 27.95 kB / 0.4942 GB, free: 2.762 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001345/0.7421, allocations: 0.7302 MB / 0.4949 GB, free: 2.035 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2525/0.9946, allocations: 36.55 MB / 0.5306 GB, free: 68.59 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003779/0.9984, allocations: 3.146 MB / 0.5337 GB, free: 67.91 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002528/1.001, allocations: 2.166 MB / 0.5358 GB, free: 67.87 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.777e-05/1.001, allocations: 22.31 kB / 0.5358 GB, free: 67.87 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/1.001, allocations: 42.08 kB / 0.5359 GB, free: 67.83 MB / 395.1 MB Notification: Performance of pre-optimization done (n=122): time 3.086e-06/1.001, allocations: 0 / 0.5359 GB, free: 67.83 MB / 395.1 MB Notification: Performance of matching and sorting (n=136): time 0.03084/1.032, allocations: 13.56 MB / 0.5491 GB, free: 65.51 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/1.032, allocations: 174.6 kB / 0.5493 GB, free: 65.32 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003727/1.036, allocations: 2.292 MB / 0.5515 GB, free: 65.05 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005875/1.036, allocations: 25.7 kB / 0.5515 GB, free: 65.02 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001325/1.038, allocations: 2.111 MB / 0.5536 GB, free: 63.96 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008853/1.039, allocations: 0.5519 MB / 0.5541 GB, free: 63.67 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000253/1.039, allocations: 0 / 0.5541 GB, free: 63.67 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0003326/1.039, allocations: 0.5185 MB / 0.5546 GB, free: 63.36 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003375/1.043, allocations: 2.236 MB / 0.5568 GB, free: 63.09 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005507/1.048, allocations: 5.208 MB / 0.5619 GB, free: 58.32 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005377/1.054, allocations: 3.335 MB / 0.5652 GB, free: 57.37 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.952e-05/1.054, allocations: 29.84 kB / 0.5652 GB, free: 57.37 MB / 395.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.02126/1.075, allocations: 8.718 MB / 0.5737 GB, free: 55.08 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.416e-05/1.075, allocations: 49.97 kB / 0.5738 GB, free: 55.08 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0117/1.087, allocations: 4.6 MB / 0.5783 GB, free: 53.98 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008715/1.096, allocations: 2.324 MB / 0.5805 GB, free: 53.7 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004224/1.1, allocations: 1.2 MB / 0.5817 GB, free: 53.56 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006159/1.106, allocations: 7.834 MB / 0.5893 GB, free: 47.89 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005715/1.112, allocations: 486.4 kB / 0.5898 GB, free: 47.87 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00118/1.113, allocations: 315.9 kB / 0.5901 GB, free: 47.83 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 487 * 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 (596): * Single equations (assignments): 581 * 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.001037/1.114, allocations: 369.8 kB / 0.5905 GB, free: 47.52 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005123/1.114, allocations: 241.3 kB / 0.5907 GB, free: 47.38 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008974/1.115, allocations: 389.4 kB / 0.5911 GB, free: 47.14 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009971/1.125, allocations: 4.51 MB / 0.5955 GB, free: 46.05 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.251e-05/1.125, allocations: 7.344 kB / 0.5955 GB, free: 46.05 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-05/1.125, allocations: 15.05 kB / 0.5955 GB, free: 46.04 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008994/1.134, allocations: 4.995 MB / 0.6004 GB, free: 44.12 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/1.135, allocations: 0.75 kB / 0.6004 GB, free: 44.12 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/1.136, allocations: 283.3 kB / 0.6006 GB, free: 44.11 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008243/1.144, allocations: 2.339 MB / 0.6029 GB, free: 43.8 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004697/1.145, allocations: 31.36 kB / 0.603 GB, free: 43.79 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007459/1.152, allocations: 8.613 MB / 0.6114 GB, free: 36.33 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001294/1.154, allocations: 2.771 MB / 0.6141 GB, free: 33.41 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/1.168, allocations: 7.993 MB / 0.6219 GB, free: 26.62 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007356/1.168, allocations: 309.9 kB / 0.6222 GB, free: 26.29 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003805/1.169, allocations: 16.73 kB / 0.6222 GB, free: 26.28 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002008/1.171, allocations: 243.5 kB / 0.6224 GB, free: 26.04 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003114/1.171, allocations: 109.1 kB / 0.6225 GB, free: 25.93 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/1.171, allocations: 43.97 kB / 0.6226 GB, free: 25.89 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.002027/1.173, allocations: 1.522 MB / 0.6241 GB, free: 24.36 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.173, allocations: 0 / 0.6241 GB, free: 24.36 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.004006/1.177, allocations: 0.8643 MB / 0.6249 GB, free: 23.5 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET12.x[3],$STATESET12.x[2],$STATESET12.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],$STATESET11.x[3],$STATESET11.x[2],$STATESET11.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.0004051/1.178, allocations: 161.5 kB / 0.625 GB, free: 23.34 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.009558/1.187, allocations: 6.474 MB / 0.6314 GB, free: 16.76 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.187, allocations: 0 / 0.6314 GB, free: 16.76 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005304/1.193, allocations: 3.336 MB / 0.6346 GB, free: 13.29 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/1.195, allocations: 233 kB / 0.6349 GB, free: 13.07 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/1.207, allocations: 7.315 MB / 0.642 GB, free: 5.797 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001772/1.209, allocations: 2.345 MB / 0.6443 GB, free: 3.441 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.00383/1.212, allocations: 1.66 MB / 0.6459 GB, free: 1.781 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007342/1.213, allocations: 187.3 kB / 0.6461 GB, free: 1.598 MB / 395.1 MB Notification: Performance of SimCode: time 7.81e-07/1.213, allocations: 0 / 0.6461 GB, free: 1.598 MB / 395.1 MB Notification: Performance of Templates: time 0.2387/1.452, allocations: 33.05 MB / 0.6784 GB, free: 94.56 MB / 411.1 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)