Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadModel(Modelica): time 2.147/2.147, allocations: 225.8 MB / 239.4 MB, free: 1.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.208e-05, allocations: 7.984 kB / 292.7 MB, free: 11.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1109, allocations: 50.42 MB / 343.1 MB, free: 9.078 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4519/0.5629, allocations: 94.42 MB / 437.5 MB, free: 5.379 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.5632, allocations: 84.2 kB / 437.6 MB, free: 5.367 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2476/0.8108, allocations: 67.55 MB / 0.4933 GB, free: 15.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.39e-06/0.8108, allocations: 0 / 0.4933 GB, free: 15.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000171/0.811, allocations: 60 kB / 0.4933 GB, free: 15.26 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.009604/0.8206, allocations: 3.091 MB / 0.4964 GB, free: 12.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.8207, allocations: 8.031 kB / 0.4964 GB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/0.8311, allocations: 1.902 MB / 0.4982 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00586/0.837, allocations: 1.969 MB / 0.5002 GB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002863/0.8374, allocations: 234.1 kB / 0.5004 GB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009108/0.8383, allocations: 307.8 kB / 0.5007 GB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01545/0.8537, allocations: 7.365 MB / 0.5079 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001204/0.8539, allocations: 43.62 kB / 0.5079 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000605/0.8545, allocations: 163.8 kB / 0.5081 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001318/0.8559, allocations: 0.7426 MB / 0.5088 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01326/0.8691, allocations: 5.452 MB / 0.5141 GB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04765/0.9168, allocations: 35.31 MB / 0.5486 GB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004199/0.9211, allocations: 1.638 MB / 0.5502 GB, free: 2.598 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009172/0.922, allocations: 465.8 kB / 0.5506 GB, free: 2.121 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2492/1.171, allocations: 2.91 MB / 0.5535 GB, free: 114.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/1.171, allocations: 49.23 kB / 0.5535 GB, free: 114.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=83): time 4.924e-06/1.171, allocations: 0 / 0.5535 GB, free: 114.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=83): time 0.005996/1.177, allocations: 1.427 MB / 0.5549 GB, free: 114.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/1.177, allocations: 218.3 kB / 0.5551 GB, free: 114.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006803/1.184, allocations: 3.278 MB / 0.5583 GB, free: 113.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001209/1.184, allocations: 37.73 kB / 0.5584 GB, free: 113.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001891/1.186, allocations: 2.704 MB / 0.561 GB, free: 112.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004281/1.187, allocations: 370.2 kB / 0.5614 GB, free: 112.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002736/1.187, allocations: 92.47 kB / 0.5614 GB, free: 112.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003438/1.187, allocations: 0.5058 MB / 0.5619 GB, free: 112.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002472/1.19, allocations: 1.184 MB / 0.5631 GB, free: 112.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00401/1.194, allocations: 4.5 MB / 0.5675 GB, free: 107.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004681/1.199, allocations: 2.321 MB / 0.5698 GB, free: 107.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001514/1.199, allocations: 33.97 kB / 0.5698 GB, free: 107.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.01332/1.212, allocations: 5.107 MB / 0.5748 GB, free: 107.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000174/1.212, allocations: 60.09 kB / 0.5748 GB, free: 107.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002558/1.213, allocations: 119.5 kB / 0.575 GB, free: 107.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004188/1.213, allocations: 172.1 kB / 0.5751 GB, free: 107.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007638/1.221, allocations: 1.137 MB / 0.5762 GB, free: 107.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003411/1.221, allocations: 237 kB / 0.5765 GB, free: 107.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007155/1.228, allocations: 0.7024 MB / 0.5771 GB, free: 106.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/1.229, allocations: 347.5 kB / 0.5775 GB, free: 106.8 MB / 442.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.0008944/1.23, allocations: 0.4885 MB / 0.5779 GB, free: 106.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006375/1.231, allocations: 302 kB / 0.5782 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/1.232, allocations: 0.4912 MB / 0.5787 GB, free: 106.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.213e-05/1.232, allocations: 15.66 kB / 0.5787 GB, free: 106.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/1.232, allocations: 2.875 kB / 0.5787 GB, free: 106.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/1.232, allocations: 6.703 kB / 0.5787 GB, free: 106.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0074/1.24, allocations: 3.288 MB / 0.5819 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/1.24, allocations: 3.781 kB / 0.582 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007434/1.24, allocations: 108.3 kB / 0.5821 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.498e-05/1.241, allocations: 7.75 kB / 0.5821 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.445e-05/1.241, allocations: 19.81 kB / 0.5821 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.204e-05/1.241, allocations: 8.656 kB / 0.5821 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.517e-06/1.241, allocations: 7.344 kB / 0.5821 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/1.243, allocations: 2.467 MB / 0.5845 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/1.244, allocations: 479.7 kB / 0.585 GB, free: 104.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004528/1.245, allocations: 21 kB / 0.585 GB, free: 104.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/1.246, allocations: 39.59 kB / 0.585 GB, free: 104.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/1.246, allocations: 54.08 kB / 0.5851 GB, free: 104.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.748e-05/1.247, allocations: 28.64 kB / 0.5851 GB, free: 104.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00428/1.251, allocations: 2.331 MB / 0.5874 GB, free: 104 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.08e-07/1.251, allocations: 0 / 0.5874 GB, free: 104 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00518/1.256, allocations: 0.822 MB / 0.5882 GB, free: 103.9 MB / 442.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.0003634/1.256, allocations: 154.7 kB / 0.5883 GB, free: 103.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00509/1.262, allocations: 2.615 MB / 0.5909 GB, free: 103.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.594e-06/1.262, allocations: 3.75 kB / 0.5909 GB, free: 103.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007248/1.262, allocations: 393.8 kB / 0.5913 GB, free: 103.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/1.265, allocations: 351.6 kB / 0.5916 GB, free: 102.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/1.276, allocations: 5.347 MB / 0.5968 GB, free: 100.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003619/1.279, allocations: 2.753 MB / 0.5995 GB, free: 99.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005236/1.285, allocations: 1.58 MB / 0.601 GB, free: 99.62 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007143/1.285, allocations: 213.4 kB / 0.6013 GB, free: 99.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.863e-06/1.285, allocations: 0 / 0.6013 GB, free: 99.6 MB / 442.7 MB Notification: Performance of Templates: time 0.067/1.353, allocations: 21.74 MB / 0.6225 GB, free: 91.26 MB / 442.7 MB