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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.0009305/0.0009307, allocations: 183.1 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.4 MB / 223.4 MB, free: 5.277 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.0004605/0.0004606, allocations: 12 kB / 280.1 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2338, allocations: 47.6 MB / 327.7 MB, free: 1.465 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01165/0.2455, allocations: 12.52 MB / 340.3 MB, free: 6.941 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008086/0.2537, allocations: 3.967 MB / 344.2 MB, free: 2.965 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002162/0.2559, allocations: 55.81 kB / 344.3 MB, free: 2.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.2573, allocations: 0.5988 MB / 344.9 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004735/0.2621, allocations: 2.211 MB / 347.1 MB, free: 92 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008788/0.2629, allocations: 435.3 kB / 347.5 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004596/0.2676, allocations: 3.261 MB / 350.8 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000867/0.2684, allocations: 0.5233 MB / 351.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.2696, allocations: 0.7745 MB / 352.1 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.2712, allocations: 1.313 MB / 353.4 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001972/0.2714, allocations: 84 kB / 353.5 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.2728, allocations: 0.8151 MB / 354.3 MB, free: 8.832 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009025/0.2737, allocations: 1.056 MB / 355.3 MB, free: 7.773 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004272/0.2741, allocations: 0.4884 MB / 355.8 MB, free: 7.277 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002712/0.2769, allocations: 3.002 MB / 358.8 MB, free: 4.27 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2769, allocations: 4 kB / 358.8 MB, free: 4.266 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.2769, allocations: 0 / 358.8 MB, free: 4.266 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.482e-05/0.2769, allocations: 3.938 kB / 358.8 MB, free: 4.262 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.005026/0.282, allocations: 2.733 MB / 361.6 MB, free: 1.469 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.282, allocations: 8.031 kB / 361.6 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007363/0.2894, allocations: 1.946 MB / 363.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/0.2923, allocations: 1.699 MB / 365.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.2924, allocations: 118.6 kB / 365.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008483/0.2933, allocations: 295.5 kB / 365.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01374/0.3071, allocations: 8.227 MB / 373.9 MB, free: 4.566 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.737e-05/0.3072, allocations: 43.52 kB / 373.9 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002609/0.3074, allocations: 75.89 kB / 374 MB, free: 4.449 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002116/0.3095, allocations: 1.401 MB / 375.4 MB, free: 3.043 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01745/0.327, allocations: 9.507 MB / 384.9 MB, free: 9.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03709/0.3641, allocations: 30.59 MB / 415.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01142/0.3756, allocations: 4.423 MB / 419.9 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002806/0.3785, allocations: 2.106 MB / 422 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.864e-05/0.3785, allocations: 23.97 kB / 422 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.3786, allocations: 54.48 kB / 422.1 MB, free: 3.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 3.476e-06/0.3786, allocations: 0 / 422.1 MB, free: 3.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=136): time 0.04288/0.4215, allocations: 18.43 MB / 440.5 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002202/0.4237, allocations: 3.054 MB / 443.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003858/0.4276, allocations: 2.991 MB / 446.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004275/0.428, allocations: 41.7 kB / 446.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001327/0.4294, allocations: 2.083 MB / 448.7 MB, free: 8.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006918/0.4301, allocations: 0.5671 MB / 449.2 MB, free: 7.449 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/0.4304, allocations: 99.98 kB / 449.3 MB, free: 7.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002834/0.4306, allocations: 0.5088 MB / 449.8 MB, free: 6.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003639/0.4343, allocations: 2.609 MB / 452.5 MB, free: 4.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1723/0.6066, allocations: 5.568 MB / 458 MB, free: 107.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00646/0.6131, allocations: 3.673 MB / 461.7 MB, free: 106.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000139/0.6133, allocations: 30.22 kB / 461.7 MB, free: 106.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02711/0.6404, allocations: 11.75 MB / 473.5 MB, free: 103.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.885e-05/0.6405, allocations: 48 kB / 473.5 MB, free: 103.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01846/0.659, allocations: 7.006 MB / 480.5 MB, free: 97.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01818/0.6772, allocations: 4.55 MB / 485.1 MB, free: 93.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004238/0.6815, allocations: 1.244 MB / 486.3 MB, free: 92.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/0.694, allocations: 11.46 MB / 497.8 MB, free: 80.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004918/0.699, allocations: 0.5717 MB / 498.4 MB, free: 79.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009265/0.6999, allocations: 317 kB / 498.7 MB, free: 79.32 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.002174/0.7021, allocations: 1.417 MB / 0.4884 GB, free: 77.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005154/0.7026, allocations: 256.8 kB / 0.4886 GB, free: 77.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008084/0.7035, allocations: 415.2 kB / 0.489 GB, free: 77.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009252/0.7127, allocations: 5.015 MB / 0.4939 GB, free: 72.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.329e-05/0.7128, allocations: 4 kB / 0.4939 GB, free: 72.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-05/0.7128, allocations: 3.984 kB / 0.4939 GB, free: 72.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007095/0.7199, allocations: 5.351 MB / 0.4991 GB, free: 67.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.7199, allocations: 0 / 0.4991 GB, free: 67.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001722/0.7217, allocations: 371.4 kB / 0.4995 GB, free: 66.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006936/0.7286, allocations: 2.381 MB / 0.5018 GB, free: 64.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004415/0.7291, allocations: 51.94 kB / 0.5019 GB, free: 64.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006962/0.7361, allocations: 8.846 MB / 0.5105 GB, free: 54.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001299/0.7374, allocations: 2.893 MB / 0.5133 GB, free: 51.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/0.751, allocations: 8.76 MB / 0.5219 GB, free: 42.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007982/0.7519, allocations: 337.7 kB / 0.5222 GB, free: 42.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004007/0.7523, allocations: 31.98 kB / 0.5222 GB, free: 42.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/0.7541, allocations: 316.4 kB / 0.5225 GB, free: 42.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003935/0.7545, allocations: 107.8 kB / 0.5226 GB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/0.7546, allocations: 55.41 kB / 0.5227 GB, free: 42.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002627/0.7573, allocations: 1.863 MB / 0.5245 GB, free: 40.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7573, allocations: 4 kB / 0.5245 GB, free: 40.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00411/0.7614, allocations: 1.005 MB / 0.5255 GB, free: 39.2 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.7618, allocations: 166.4 kB / 0.5257 GB, free: 39.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009949/0.7718, allocations: 7.381 MB / 0.5329 GB, free: 31.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.7718, allocations: 1.406 kB / 0.5329 GB, free: 31.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004857/0.7767, allocations: 3.616 MB / 0.5364 GB, free: 27.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/0.7788, allocations: 295.8 kB / 0.5367 GB, free: 27.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.7894, allocations: 9.351 MB / 0.5458 GB, free: 18.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001639/0.7911, allocations: 2.295 MB / 0.5481 GB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003653/0.7948, allocations: 1.667 MB / 0.5497 GB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007236/0.7955, allocations: 199.3 kB / 0.5499 GB, free: 13.88 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.7955, allocations: 0 / 0.5499 GB, free: 13.88 MB / 382.1 MB Notification: Performance of Templates: time 0.06505/0.8606, allocations: 42.98 MB / 0.5918 GB, free: 2.898 MB / 414.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)