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.006954/0.006954, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001392/0.001392, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.443/1.443, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001347/0.001347, allocations: 54.91 kB / 326.6 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09046/0.09182, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.007571/0.09943, allocations: 6.989 MB / 380.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00607/0.1055, allocations: 3.096 MB / 383.3 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008604/0.1065, allocations: 31.94 kB / 383.3 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.108, allocations: 0.6653 MB / 384 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002979/0.111, allocations: 1.39 MB / 385.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009462/0.1119, allocations: 0.4951 MB / 385.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003532/0.1155, allocations: 3.129 MB / 389 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006914/0.1162, allocations: 463.1 kB / 389.4 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009541/0.1172, allocations: 0.8055 MB / 390.2 MB, free: 180 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.1185, allocations: 1.215 MB / 391.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002447/0.1187, allocations: 132 kB / 391.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.1202, allocations: 0.9438 MB / 392.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008548/0.1211, allocations: 1.091 MB / 393.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009705/0.122, allocations: 1.227 MB / 394.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00394/0.126, allocations: 4.044 MB / 398.9 MB, free: 7.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.126, allocations: 0 / 398.9 MB, free: 7.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.126, allocations: 4 kB / 398.9 MB, free: 7.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.154e-05/0.1261, allocations: 0 / 398.9 MB, free: 7.492 MB / 334.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.006734/0.1328, allocations: 3.209 MB / 402.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.1329, allocations: 12.03 kB / 402.1 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007992/0.1409, allocations: 1.885 MB / 404 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003672/0.1446, allocations: 1.757 MB / 405.7 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.741e-05/0.1447, allocations: 114.6 kB / 405.9 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008984/0.1456, allocations: 299.5 kB / 406.1 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01574/0.1614, allocations: 8.219 MB / 414.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.189e-05/0.1615, allocations: 39.64 kB / 414.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003311/0.1618, allocations: 75.89 kB / 414.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002505/0.1643, allocations: 1.401 MB / 415.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02065/0.185, allocations: 9.538 MB / 425.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2524/0.4374, allocations: 30.55 MB / 456 MB, free: 50.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/0.4504, allocations: 4.385 MB / 460.3 MB, free: 49.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002738/0.4531, allocations: 2.108 MB / 462.5 MB, free: 49.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.404e-05/0.4532, allocations: 9.406 kB / 462.5 MB, free: 49.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.4533, allocations: 49.5 kB / 462.5 MB, free: 49.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.577e-06/0.4533, allocations: 5.156 kB / 462.5 MB, free: 49.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=136): time 0.04371/0.497, allocations: 18.32 MB / 480.8 MB, free: 42.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001949/0.499, allocations: 3.234 MB / 484.1 MB, free: 39.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003613/0.5026, allocations: 3 MB / 487.1 MB, free: 36.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005207/0.5031, allocations: 44.2 kB / 487.1 MB, free: 36.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.5042, allocations: 2.081 MB / 489.2 MB, free: 34.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005891/0.5048, allocations: 0.5667 MB / 489.8 MB, free: 33.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/0.5059, allocations: 1.021 MB / 490.8 MB, free: 32.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.506, allocations: 305.1 kB / 491.1 MB, free: 32.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002883/0.5089, allocations: 2.633 MB / 493.7 MB, free: 29.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003679/0.5126, allocations: 5.583 MB / 499.3 MB, free: 22.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007118/0.5197, allocations: 8.638 MB / 0.496 GB, free: 12.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.8e-05/0.5198, allocations: 28 kB / 0.4961 GB, free: 12.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02959/0.5494, allocations: 11.77 MB / 0.5076 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.287e-05/0.5495, allocations: 52 kB / 0.5076 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02405/0.5736, allocations: 7.01 MB / 0.5145 GB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02312/0.5967, allocations: 4.538 MB / 0.5189 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004508/0.6013, allocations: 1.252 MB / 0.5201 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01697/0.6183, allocations: 12.54 MB / 0.5324 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005572/0.6239, allocations: 0.5728 MB / 0.5329 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/0.6252, allocations: 316 kB / 0.5332 GB, free: 6.086 MB / 414.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 (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002789/0.628, allocations: 1.421 MB / 0.5346 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006633/0.6287, allocations: 256.7 kB / 0.5348 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009787/0.6296, allocations: 415.2 kB / 0.5352 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01213/0.6418, allocations: 5.015 MB / 0.5401 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.529e-05/0.6419, allocations: 12.88 kB / 0.5402 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.914e-05/0.6419, allocations: 3.984 kB / 0.5402 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009783/0.6517, allocations: 5.374 MB / 0.5454 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.6517, allocations: 0 / 0.5454 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001916/0.6537, allocations: 375.1 kB / 0.5458 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009065/0.6628, allocations: 2.377 MB / 0.5481 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006085/0.6634, allocations: 55.88 kB / 0.5481 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009889/0.6733, allocations: 9.427 MB / 0.5573 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001966/0.6753, allocations: 3.067 MB / 0.5603 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01719/0.6925, allocations: 8.773 MB / 0.5689 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009292/0.6935, allocations: 321.8 kB / 0.5692 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004833/0.694, allocations: 35.98 kB / 0.5692 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/0.6961, allocations: 322.9 kB / 0.5696 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004511/0.6966, allocations: 107.8 kB / 0.5697 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/0.6967, allocations: 47.95 kB / 0.5697 GB, free: 15.69 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002908/0.6996, allocations: 1.879 MB / 0.5715 GB, free: 13.81 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6997, allocations: 0 / 0.5715 GB, free: 13.81 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005134/0.7048, allocations: 1.014 MB / 0.5725 GB, free: 12.8 MB / 462.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 (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004866/0.7053, allocations: 172.4 kB / 0.5727 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01257/0.7179, allocations: 7.462 MB / 0.58 GB, free: 5.055 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.7179, allocations: 0 / 0.58 GB, free: 5.055 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006665/0.7246, allocations: 3.638 MB / 0.5835 GB, free: 1.277 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/0.7272, allocations: 311.6 kB / 0.5838 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/0.7405, allocations: 8.138 MB / 0.5918 GB, free: 8.797 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002354/0.7429, allocations: 2.306 MB / 0.594 GB, free: 6.465 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004146/0.747, allocations: 1.66 MB / 0.5956 GB, free: 4.797 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008215/0.7478, allocations: 203.3 kB / 0.5958 GB, free: 4.598 MB / 478.1 MB Notification: Performance of SimCode: time 1.022e-06/0.7479, allocations: 0 / 0.5958 GB, free: 4.598 MB / 478.1 MB Notification: Performance of Templates: time 0.2836/1.031, allocations: 43.4 MB / 0.6382 GB, free: 180.4 MB / 0.4981 GB 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)