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.005748/0.005748, allocations: 98.38 kB / 15.73 MB, free: 6.445 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.001435/0.001435, allocations: 200.6 kB / 16.68 MB, free: 6.352 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.487/1.487, allocations: 205.1 MB / 222.6 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.001164/0.001164, allocations: 51.16 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08995/0.09112, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.007507/0.09868, allocations: 6.993 MB / 380.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006049/0.1048, allocations: 3.104 MB / 383.3 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000915/0.1058, allocations: 27.94 kB / 383.3 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.1073, allocations: 0.6653 MB / 384 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002954/0.1102, allocations: 1.393 MB / 385.4 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009564/0.1112, allocations: 499.1 kB / 385.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004193/0.1154, allocations: 3.132 MB / 389 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007932/0.1162, allocations: 459.1 kB / 389.4 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.1174, allocations: 0.7938 MB / 390.2 MB, free: 204 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.1188, allocations: 1.215 MB / 391.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003157/0.1192, allocations: 128 kB / 391.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001707/0.1209, allocations: 0.9516 MB / 392.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008999/0.1218, allocations: 1.087 MB / 393.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.1229, allocations: 1.23 MB / 394.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004176/0.1271, allocations: 4.061 MB / 398.9 MB, free: 7.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1271, allocations: 4 kB / 398.9 MB, free: 7.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.1271, allocations: 0 / 398.9 MB, free: 7.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.992e-05/0.1272, allocations: 3.938 kB / 398.9 MB, free: 7.488 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.006379/0.1336, allocations: 3.286 MB / 402.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1337, allocations: 12.03 kB / 402.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007884/0.1415, allocations: 1.91 MB / 404.1 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003132/0.1447, allocations: 1.751 MB / 405.9 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.874e-05/0.1448, allocations: 110.6 kB / 406 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008405/0.1457, allocations: 303.5 kB / 406.3 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01429/0.16, allocations: 8.219 MB / 414.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.221e-05/0.1601, allocations: 43.67 kB / 414.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002584/0.1603, allocations: 79.83 kB / 414.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002245/0.1626, allocations: 1.397 MB / 416 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0193/0.1819, allocations: 9.542 MB / 425.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.268/0.45, allocations: 30.58 MB / 456.1 MB, free: 50.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/0.4628, allocations: 4.385 MB / 460.5 MB, free: 49.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003038/0.4659, allocations: 2.111 MB / 462.6 MB, free: 49.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-05/0.466, allocations: 12.81 kB / 462.6 MB, free: 49.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.466, allocations: 52.66 kB / 462.7 MB, free: 49.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.737e-06/0.4661, allocations: 2.281 kB / 462.7 MB, free: 49.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=136): time 0.04343/0.5095, allocations: 18.48 MB / 481.2 MB, free: 42.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001661/0.5112, allocations: 3.242 MB / 484.4 MB, free: 39.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003267/0.5145, allocations: 3.016 MB / 487.4 MB, free: 36.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004209/0.5149, allocations: 44.44 kB / 487.5 MB, free: 36.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009099/0.5158, allocations: 2.168 MB / 489.6 MB, free: 34.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005369/0.5164, allocations: 0.5924 MB / 490.2 MB, free: 33.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/0.5175, allocations: 1.023 MB / 491.2 MB, free: 32.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.5176, allocations: 303.6 kB / 491.5 MB, free: 32.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002891/0.5205, allocations: 2.633 MB / 494.2 MB, free: 29.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0041/0.5246, allocations: 5.584 MB / 499.8 MB, free: 22.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007365/0.532, allocations: 8.627 MB / 0.4965 GB, free: 12.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.724e-05/0.532, allocations: 28 kB / 0.4965 GB, free: 12.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02836/0.5604, allocations: 11.8 MB / 0.508 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.957e-05/0.5605, allocations: 56.25 kB / 0.5081 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02328/0.5838, allocations: 7.009 MB / 0.5149 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02297/0.6068, allocations: 4.546 MB / 0.5194 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004513/0.6114, allocations: 1.244 MB / 0.5206 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01748/0.6289, allocations: 12.53 MB / 0.5328 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005831/0.6347, allocations: 0.5874 MB / 0.5334 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/0.636, allocations: 316.8 kB / 0.5337 GB, free: 6 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.00303/0.639, allocations: 1.419 MB / 0.5351 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007337/0.6398, allocations: 266.2 kB / 0.5353 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.6408, allocations: 415.2 kB / 0.5357 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01227/0.6531, allocations: 5.014 MB / 0.5406 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.039e-05/0.6531, allocations: 8 kB / 0.5406 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.764e-05/0.6532, allocations: 3.984 kB / 0.5406 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008865/0.662, allocations: 5.37 MB / 0.5459 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.6621, allocations: 4 kB / 0.5459 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001827/0.6639, allocations: 371.1 kB / 0.5462 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008832/0.6728, allocations: 2.386 MB / 0.5486 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006169/0.6734, allocations: 47.7 kB / 0.5486 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01065/0.6841, allocations: 9.443 MB / 0.5578 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002543/0.6867, allocations: 3.073 MB / 0.5608 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01863/0.7053, allocations: 8.788 MB / 0.5694 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009766/0.7064, allocations: 339.2 kB / 0.5697 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004849/0.7068, allocations: 31.98 kB / 0.5698 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002254/0.7091, allocations: 319.4 kB / 0.5701 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004345/0.7096, allocations: 107.8 kB / 0.5702 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/0.7097, allocations: 55.89 kB / 0.5702 GB, free: 15.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003103/0.7129, allocations: 1.875 MB / 0.5721 GB, free: 13.67 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.52e-07/0.7129, allocations: 0 / 0.5721 GB, free: 13.67 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004718/0.7176, allocations: 1.015 MB / 0.573 GB, free: 12.66 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.0005022/0.7181, allocations: 162.7 kB / 0.5732 GB, free: 12.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0137/0.7318, allocations: 7.475 MB / 0.5805 GB, free: 4.902 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.7319, allocations: 0 / 0.5805 GB, free: 4.902 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006969/0.7388, allocations: 3.649 MB / 0.5841 GB, free: 1.113 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/0.7414, allocations: 306.7 kB / 0.5844 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.7533, allocations: 8.237 MB / 0.5924 GB, free: 8.523 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002214/0.7556, allocations: 2.302 MB / 0.5947 GB, free: 6.195 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00378/0.7593, allocations: 1.667 MB / 0.5963 GB, free: 4.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008294/0.7602, allocations: 199.3 kB / 0.5965 GB, free: 4.324 MB / 478.1 MB Notification: Performance of SimCode: time 1.653e-06/0.7602, allocations: 0 / 0.5965 GB, free: 4.324 MB / 478.1 MB Notification: Performance of Templates: time 0.2623/1.022, allocations: 43.41 MB / 0.6389 GB, free: 180 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)