Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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.Surfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 115.2 kB / 16.63 MB, free: 6.812 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.001843/0.001844, allocations: 186 kB / 17.55 MB, free: 5.934 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.391/1.391, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001121/0.001121, allocations: 43.94 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1076, allocations: 46.63 MB / 326.1 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.03351/0.1412, allocations: 33.51 MB / 359.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01741/0.1586, allocations: 6.571 MB / 366.2 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007128/0.1658, allocations: 143.6 kB / 366.4 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004031/0.1699, allocations: 1.737 MB / 368.1 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003816/0.1738, allocations: 1.23 MB / 369.3 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006003/0.1744, allocations: 195.7 kB / 369.5 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004561/0.179, allocations: 3.202 MB / 372.7 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002718/0.1817, allocations: 2.231 MB / 374.9 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.1833, allocations: 1 MB / 375.9 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/0.1856, allocations: 1.717 MB / 377.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003842/0.186, allocations: 188 kB / 377.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009962/0.187, allocations: 491.4 kB / 378.3 MB, free: 380 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2036/0.3905, allocations: 1.317 MB / 379.6 MB, free: 13.49 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002795/0.3934, allocations: 1.608 MB / 381.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007123/0.4005, allocations: 4.651 MB / 385.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.4006, allocations: 4.531 kB / 385.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4006, allocations: 2.438 kB / 385.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002437/0.4008, allocations: 0 / 385.9 MB, free: 12.41 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.009739/0.4106, allocations: 3.634 MB / 389.5 MB, free: 10.74 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.4106, allocations: 10.44 kB / 389.6 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00509/0.4157, allocations: 1.645 MB / 391.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/0.4188, allocations: 1.549 MB / 392.8 MB, free: 9.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.4189, allocations: 155.5 kB / 392.9 MB, free: 9.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004446/0.4194, allocations: 204.5 kB / 393.1 MB, free: 9.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01055/0.4299, allocations: 6.978 MB / 400.1 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.049e-05/0.43, allocations: 29.78 kB / 400.1 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002926/0.4303, allocations: 99.89 kB / 400.2 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002222/0.4326, allocations: 1.561 MB / 401.8 MB, free: 8.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009128/0.4417, allocations: 5.492 MB / 407.3 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02948/0.4712, allocations: 27.26 MB / 434.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/0.474, allocations: 1.588 MB / 436.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000673/0.4747, allocations: 467.8 kB / 436.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003746/0.4784, allocations: 2.578 MB / 439.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.4785, allocations: 49.47 kB / 439.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.996e-06/0.4785, allocations: 3.938 kB / 439.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.003678/0.4822, allocations: 1.656 MB / 440.8 MB, free: 6.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.4823, allocations: 195.2 kB / 441 MB, free: 6.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005302/0.4876, allocations: 3.71 MB / 444.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.337e-05/0.4877, allocations: 39.81 kB / 444.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001754/0.4894, allocations: 2.706 MB / 447.5 MB, free: 240 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/0.4898, allocations: 370.2 kB / 447.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/0.4909, allocations: 0.9599 MB / 448.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.659e-05/0.491, allocations: 305.1 kB / 449.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.4926, allocations: 1.204 MB / 450.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003914/0.4966, allocations: 4.562 MB / 454.9 MB, free: 7.164 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007088/0.5037, allocations: 6.305 MB / 461.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001426/0.5039, allocations: 36 kB / 461.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01068/0.5145, allocations: 5.457 MB / 466.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.996e-05/0.5147, allocations: 59.98 kB / 466.7 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/0.5148, allocations: 120 kB / 466.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001394/0.5149, allocations: 156 kB / 467 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002888/0.5178, allocations: 1.1 MB / 468.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001562/0.518, allocations: 236.1 kB / 468.3 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003601/0.5216, allocations: 0.696 MB / 469 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004456/0.5221, allocations: 316 kB / 469.3 MB, free: 8.379 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (597): * Single equations (assignments): 594 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002989/0.5251, allocations: 1.721 MB / 471.1 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006519/0.5257, allocations: 292.2 kB / 471.3 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009968/0.5267, allocations: 0.492 MB / 471.8 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.5268, allocations: 12 kB / 471.8 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.5268, allocations: 0 / 471.8 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.5268, allocations: 4 kB / 471.9 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006462/0.5333, allocations: 3.13 MB / 475 MB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/0.5333, allocations: 4.281 kB / 475 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000592/0.5339, allocations: 108.8 kB / 475.1 MB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-05/0.534, allocations: 4 kB / 475.1 MB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.644e-05/0.534, allocations: 12 kB / 475.1 MB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.337e-05/0.5341, allocations: 5.781 kB / 475.1 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.5341, allocations: 5.219 kB / 475.1 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002622/0.5367, allocations: 2.035 MB / 477.2 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009584/0.5377, allocations: 424.9 kB / 477.6 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002642/0.5379, allocations: 19.91 kB / 477.6 MB, free: 108 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000827/0.5388, allocations: 31.97 kB / 477.6 MB, free: 76 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.5389, allocations: 52.62 kB / 477.7 MB, free: 28 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/0.539, allocations: 27.44 kB / 477.7 MB, free: 4 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003812/0.5428, allocations: 2.361 MB / 480.1 MB, free: 13.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5428, allocations: 0 / 480.1 MB, free: 13.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004402/0.5472, allocations: 0.8138 MB / 480.9 MB, free: 12.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.v,position.s) * 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 (57): * Single equations (assignments): 54 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003552/0.5476, allocations: 135.9 kB / 481 MB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005075/0.5527, allocations: 2.874 MB / 483.9 MB, free: 10.08 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.944e-06/0.5527, allocations: 0 / 483.9 MB, free: 10.08 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005629/0.5533, allocations: 404.7 kB / 484.3 MB, free: 9.688 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/0.5556, allocations: 385.3 kB / 484.7 MB, free: 9.324 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/0.5683, allocations: 8.2 MB / 492.9 MB, free: 1.059 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002567/0.5709, allocations: 2.687 MB / 495.5 MB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003417/0.5743, allocations: 1.51 MB / 497 MB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004212/0.5747, allocations: 191.4 kB / 497.2 MB, free: 12.64 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5747, allocations: 4 kB / 497.2 MB, free: 12.64 MB / 414.1 MB Notification: Performance of Templates: time 0.04776/0.6225, allocations: 22.13 MB / 0.5072 GB, free: 6.578 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1)