Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadModel(Modelica): time 1.993/1.993, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.496e-05/3.497e-05, allocations: 7.984 kB / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08496/0.08502, allocations: 47.58 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3657/0.4508, allocations: 93.21 MB / 410.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.4511, allocations: 90.08 kB / 410.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.265/0.7161, allocations: 66.56 MB / 476.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.7162, allocations: 0 / 476.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002529/0.7164, allocations: 64 kB / 476.9 MB, free: 15.18 MB / 394.7 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.01492/0.7314, allocations: 3.088 MB / 479.9 MB, free: 12.04 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.7315, allocations: 8.031 kB / 480 MB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0195/0.751, allocations: 1.89 MB / 481.8 MB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/0.7621, allocations: 1.973 MB / 483.8 MB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006254/0.7628, allocations: 230.8 kB / 484 MB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0021/0.765, allocations: 307.9 kB / 484.3 MB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.017/0.782, allocations: 7.365 MB / 491.7 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001246/0.7821, allocations: 47.62 kB / 491.8 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000609/0.7828, allocations: 151.9 kB / 491.9 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001212/0.784, allocations: 0.7465 MB / 492.6 MB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01296/0.797, allocations: 5.447 MB / 498.1 MB, free: 8.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3302/1.127, allocations: 35.31 MB / 0.5209 GB, free: 87.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003765/1.131, allocations: 1.635 MB / 0.5225 GB, free: 87.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009355/1.132, allocations: 479.7 kB / 0.523 GB, free: 86.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005217/1.137, allocations: 2.913 MB / 0.5258 GB, free: 85.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/1.137, allocations: 49.8 kB / 0.5259 GB, free: 85.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=83): time 4.864e-06/1.137, allocations: 0 / 0.5259 GB, free: 85.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=83): time 0.005182/1.143, allocations: 1.427 MB / 0.5272 GB, free: 85.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/1.143, allocations: 214 kB / 0.5274 GB, free: 84.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00671/1.149, allocations: 3.276 MB / 0.5306 GB, free: 84.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001162/1.15, allocations: 40.73 kB / 0.5307 GB, free: 84.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001874/1.151, allocations: 2.703 MB / 0.5333 GB, free: 83.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004309/1.152, allocations: 371.3 kB / 0.5337 GB, free: 83.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/1.152, allocations: 94.66 kB / 0.5338 GB, free: 83.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003024/1.153, allocations: 0.5036 MB / 0.5343 GB, free: 82.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002236/1.155, allocations: 1.183 MB / 0.5354 GB, free: 82.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003667/1.158, allocations: 4.502 MB / 0.5398 GB, free: 78.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003992/1.162, allocations: 2.319 MB / 0.5421 GB, free: 78.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.999e-05/1.163, allocations: 36.22 kB / 0.5421 GB, free: 78.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.01169/1.174, allocations: 5.103 MB / 0.5471 GB, free: 78.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.998e-05/1.174, allocations: 57.28 kB / 0.5472 GB, free: 78.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/1.175, allocations: 124.2 kB / 0.5473 GB, free: 78.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001885/1.175, allocations: 172.6 kB / 0.5474 GB, free: 78.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00435/1.179, allocations: 1.132 MB / 0.5485 GB, free: 77.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001824/1.179, allocations: 239.3 kB / 0.5488 GB, free: 77.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004794/1.184, allocations: 0.7102 MB / 0.5495 GB, free: 77.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006853/1.185, allocations: 349.5 kB / 0.5498 GB, free: 77.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 551 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (596): * Single equations (assignments): 593 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006893/1.186, allocations: 488.9 kB / 0.5503 GB, free: 77.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000543/1.186, allocations: 300 kB / 0.5505 GB, free: 77.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/1.187, allocations: 0.4905 MB / 0.551 GB, free: 77.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/1.187, allocations: 13.34 kB / 0.551 GB, free: 77.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/1.187, allocations: 0 / 0.551 GB, free: 77.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/1.187, allocations: 10.86 kB / 0.551 GB, free: 77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006945/1.194, allocations: 3.293 MB / 0.5543 GB, free: 76.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.342e-05/1.194, allocations: 5.969 kB / 0.5543 GB, free: 76.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/1.195, allocations: 107.7 kB / 0.5544 GB, free: 76.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-05/1.195, allocations: 14.69 kB / 0.5544 GB, free: 76.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.146e-05/1.196, allocations: 17.72 kB / 0.5544 GB, free: 76.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/1.196, allocations: 7.812 kB / 0.5544 GB, free: 76.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.788e-06/1.196, allocations: 10.12 kB / 0.5544 GB, free: 76.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/1.198, allocations: 2.474 MB / 0.5568 GB, free: 75.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009777/1.199, allocations: 462.2 kB / 0.5573 GB, free: 74.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003602/1.2, allocations: 20.67 kB / 0.5573 GB, free: 74.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/1.201, allocations: 39.86 kB / 0.5573 GB, free: 74.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/1.201, allocations: 49.05 kB / 0.5574 GB, free: 74.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.111e-05/1.201, allocations: 30.39 kB / 0.5574 GB, free: 74.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003995/1.205, allocations: 2.327 MB / 0.5597 GB, free: 74.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.92e-07/1.205, allocations: 0 / 0.5597 GB, free: 74.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005123/1.21, allocations: 0.8336 MB / 0.5605 GB, free: 74.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 2 (prismatic.v,position.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 57 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000339/1.211, allocations: 155.9 kB / 0.5606 GB, free: 74.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004915/1.216, allocations: 2.6 MB / 0.5632 GB, free: 73.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.975e-06/1.216, allocations: 7.781 kB / 0.5632 GB, free: 73.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006421/1.216, allocations: 394.6 kB / 0.5636 GB, free: 73.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/1.218, allocations: 360.2 kB / 0.5639 GB, free: 73.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/1.233, allocations: 5.343 MB / 0.5691 GB, free: 71.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007164/1.24, allocations: 2.763 MB / 0.5718 GB, free: 69.92 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009634/1.25, allocations: 1.578 MB / 0.5734 GB, free: 69.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/1.251, allocations: 216.1 kB / 0.5736 GB, free: 69.74 MB / 426.7 MB Notification: Performance of SimCode: time 2.888e-06/1.252, allocations: 0 / 0.5736 GB, free: 69.74 MB / 426.7 MB Notification: Performance of Templates: time 0.1056/1.357, allocations: 21.67 MB / 0.5947 GB, free: 59.84 MB / 426.7 MB