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.001248/0.001248, allocations: 93.8 kB / 16.3 MB, free: 6.461 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.001474/0.001474, allocations: 174.1 kB / 17.19 MB, free: 6.348 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.378/1.378, allocations: 205.4 MB / 223.4 MB, free: 13.18 MB / 190.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.0004448/0.0004448, allocations: 15.28 kB / 280.1 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08395/0.08441, allocations: 47.57 MB / 327.7 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01185/0.0963, allocations: 11.88 MB / 339.6 MB, free: 8.176 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00746/0.1038, allocations: 4.054 MB / 343.6 MB, free: 4.113 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.1055, allocations: 51.88 kB / 343.7 MB, free: 4.062 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.107, allocations: 0.5405 MB / 344.2 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005058/0.112, allocations: 1.991 MB / 346.2 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.1131, allocations: 431.3 kB / 346.6 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002923/0.116, allocations: 1.739 MB / 348.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008792/0.1169, allocations: 0.5155 MB / 348.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.118, allocations: 0.6618 MB / 349.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.1194, allocations: 0.9659 MB / 350.5 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004007/0.1199, allocations: 84 kB / 350.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.1215, allocations: 0.7957 MB / 351.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.1226, allocations: 0.978 MB / 352.4 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005853/0.1232, allocations: 0.4961 MB / 352.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003033/0.1263, allocations: 3.017 MB / 355.9 MB, free: 7.781 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1263, allocations: 0 / 355.9 MB, free: 7.781 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1263, allocations: 4 kB / 355.9 MB, free: 7.777 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.861e-05/0.1264, allocations: 0 / 355.9 MB, free: 7.777 MB / 302.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.005794/0.1322, allocations: 2.788 MB / 358.7 MB, free: 4.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1322, allocations: 8.031 kB / 358.7 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009117/0.1413, allocations: 2.262 MB / 361 MB, free: 2.652 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00404/0.1454, allocations: 2.097 MB / 363.1 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.1455, allocations: 114.6 kB / 363.2 MB, free: 408 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008807/0.1464, allocations: 299.5 kB / 363.5 MB, free: 108 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01521/0.1617, allocations: 8.609 MB / 372.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.569e-05/0.1618, allocations: 43.64 kB / 372.1 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002625/0.162, allocations: 75.89 kB / 372.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002134/0.1642, allocations: 1.401 MB / 373.6 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1739/0.3381, allocations: 9.899 MB / 383.5 MB, free: 47.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02966/0.3678, allocations: 30.71 MB / 414.2 MB, free: 24.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/0.3785, allocations: 4.506 MB / 418.7 MB, free: 21.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.423e-05/0.3786, allocations: 16.78 kB / 418.7 MB, free: 21.49 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.3786, allocations: 50.45 kB / 418.8 MB, free: 21.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=122): time 2.926e-06/0.3787, allocations: 0 / 418.8 MB, free: 21.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=136): time 0.04272/0.4214, allocations: 18.96 MB / 437.7 MB, free: 2.145 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001848/0.4233, allocations: 3.082 MB / 440.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004144/0.4274, allocations: 3.231 MB / 444 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004946/0.4279, allocations: 43.89 kB / 444.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/0.4293, allocations: 2.1 MB / 446.2 MB, free: 9.355 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007022/0.43, allocations: 0.5626 MB / 446.7 MB, free: 8.797 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/0.4303, allocations: 97.41 kB / 446.8 MB, free: 8.703 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002816/0.4306, allocations: 0.5086 MB / 447.3 MB, free: 8.188 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003578/0.4342, allocations: 2.641 MB / 450 MB, free: 5.539 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005345/0.4395, allocations: 5.579 MB / 455.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00474/0.4443, allocations: 3.702 MB / 459.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.75e-05/0.4443, allocations: 32 kB / 459.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.03048/0.4748, allocations: 11.78 MB / 471.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.545e-05/0.4749, allocations: 52 kB / 471.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02381/0.4988, allocations: 7.057 MB / 478.2 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02237/0.5212, allocations: 4.55 MB / 482.7 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004425/0.5256, allocations: 1.236 MB / 484 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01695/0.5426, allocations: 12.07 MB / 496 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00507/0.5477, allocations: 0.5765 MB / 496.6 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006477/0.5484, allocations: 308 kB / 496.9 MB, free: 4.496 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 (584): * Single equations (assignments): 569 * 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.002323/0.5507, allocations: 1.426 MB / 498.3 MB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005616/0.5513, allocations: 260.6 kB / 498.6 MB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007189/0.552, allocations: 415.4 kB / 499 MB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0115/0.5635, allocations: 5.018 MB / 0.4922 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.193e-05/0.5636, allocations: 4 kB / 0.4922 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.712e-05/0.5636, allocations: 11.98 kB / 0.4922 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008727/0.5724, allocations: 5.381 MB / 0.4975 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.405e-06/0.5724, allocations: 0 / 0.4975 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00171/0.5741, allocations: 374.6 kB / 0.4978 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008647/0.5828, allocations: 2.382 MB / 0.5002 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005077/0.5833, allocations: 52.64 kB / 0.5002 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009443/0.5928, allocations: 9.007 MB / 0.509 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002067/0.5949, allocations: 2.912 MB / 0.5119 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01761/0.6125, allocations: 8.842 MB / 0.5205 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.6136, allocations: 349.5 kB / 0.5208 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007601/0.6144, allocations: 31.98 kB / 0.5209 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00247/0.6169, allocations: 332.5 kB / 0.5212 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004332/0.6173, allocations: 103.8 kB / 0.5213 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002335/0.6176, allocations: 51.97 kB / 0.5213 GB, free: 14.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003593/0.6212, allocations: 2.055 MB / 0.5233 GB, free: 12.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6212, allocations: 0 / 0.5233 GB, free: 12.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004829/0.626, allocations: 1.024 MB / 0.5243 GB, free: 11.46 MB / 430.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.0005459/0.6266, allocations: 187.7 kB / 0.5245 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01226/0.6388, allocations: 7.355 MB / 0.5317 GB, free: 3.805 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.6389, allocations: 0 / 0.5317 GB, free: 3.805 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006457/0.6453, allocations: 3.605 MB / 0.5352 GB, free: 56 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1558/0.8012, allocations: 286.7 kB / 0.5355 GB, free: 147 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/0.8161, allocations: 9.308 MB / 0.5446 GB, free: 143.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00267/0.8189, allocations: 2.355 MB / 0.5469 GB, free: 142.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004564/0.8235, allocations: 1.681 MB / 0.5485 GB, free: 142.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007716/0.8242, allocations: 200.4 kB / 0.5487 GB, free: 142.6 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.8243, allocations: 0 / 0.5487 GB, free: 142.6 MB / 430.1 MB Notification: Performance of Templates: time 0.05804/0.8823, allocations: 43.85 MB / 0.5915 GB, free: 109.3 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: