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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadModel(Modelica): time 1.842/1.842, allocations: 194.9 MB / 208 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.082e-05/3.106e-05, allocations: 4 kB / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07883/0.07888, allocations: 44.5 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3452/0.4241, allocations: 88.07 MB / 388 MB, free: 20.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.4244, allocations: 86.44 kB / 388 MB, free: 20.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2452/0.6697, allocations: 67.11 MB / 455.2 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.448e-06/0.6697, allocations: 4 kB / 455.2 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002163/0.6699, allocations: 64 kB / 455.2 MB, free: 460 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.00936/0.6793, allocations: 3.173 MB / 458.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.6794, allocations: 12.03 kB / 458.4 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01089/0.6903, allocations: 1.949 MB / 460.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007475/0.6978, allocations: 2.057 MB / 462.4 MB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003927/0.6983, allocations: 262.8 kB / 462.7 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001534/0.6998, allocations: 335.9 kB / 463 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01956/0.7194, allocations: 7.982 MB / 471 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001517/0.7196, allocations: 47.56 kB / 471 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001005/0.7206, allocations: 167.9 kB / 471.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00142/0.7221, allocations: 0.7933 MB / 472 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02595/0.748, allocations: 5.689 MB / 477.7 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3939/1.142, allocations: 39.8 MB / 0.5053 GB, free: 85.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006023/1.148, allocations: 1.57 MB / 0.5069 GB, free: 84.74 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/1.15, allocations: 458.5 kB / 0.5073 GB, free: 84.69 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008393/1.158, allocations: 2.754 MB / 0.51 GB, free: 83.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/1.158, allocations: 44.92 kB / 0.51 GB, free: 83.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 8.355e-06/1.158, allocations: 4.906 kB / 0.51 GB, free: 83.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=80): time 0.008153/1.166, allocations: 1.33 MB / 0.5113 GB, free: 83.19 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/1.166, allocations: 187.6 kB / 0.5115 GB, free: 82.97 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01201/1.179, allocations: 3.58 MB / 0.515 GB, free: 82.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001561/1.179, allocations: 35.83 kB / 0.5151 GB, free: 82.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003654/1.182, allocations: 2.918 MB / 0.5179 GB, free: 81.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006732/1.183, allocations: 365.7 kB / 0.5183 GB, free: 81.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004474/1.184, allocations: 101.2 kB / 0.5184 GB, free: 81.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005242/1.184, allocations: 0.5179 MB / 0.5189 GB, free: 80.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004668/1.189, allocations: 1.209 MB / 0.52 GB, free: 80.76 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006729/1.196, allocations: 4.728 MB / 0.5247 GB, free: 76.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005058/1.201, allocations: 2.427 MB / 0.527 GB, free: 76.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000109/1.201, allocations: 38.72 kB / 0.5271 GB, free: 76.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01257/1.213, allocations: 5.295 MB / 0.5322 GB, free: 75.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.46e-05/1.214, allocations: 61.72 kB / 0.5323 GB, free: 75.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/1.214, allocations: 126.8 kB / 0.5324 GB, free: 75.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001978/1.214, allocations: 189.9 kB / 0.5326 GB, free: 75.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004319/1.218, allocations: 1.161 MB / 0.5337 GB, free: 75.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001811/1.219, allocations: 251.5 kB / 0.534 GB, free: 75.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006653/1.225, allocations: 0.7493 MB / 0.5347 GB, free: 75.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009001/1.226, allocations: 331 kB / 0.535 GB, free: 75.15 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 585 * 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],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (630): * Single equations (assignments): 627 * 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.0007413/1.227, allocations: 0.5146 MB / 0.5355 GB, free: 74.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005943/1.228, allocations: 322.5 kB / 0.5358 GB, free: 74.67 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/1.229, allocations: 0.5171 MB / 0.5363 GB, free: 74.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/1.229, allocations: 7.375 kB / 0.5363 GB, free: 74.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/1.229, allocations: 7.281 kB / 0.5363 GB, free: 74.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/1.229, allocations: 5.812 kB / 0.5363 GB, free: 74.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006813/1.236, allocations: 3.321 MB / 0.5396 GB, free: 74.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/1.236, allocations: 3.875 kB / 0.5396 GB, free: 74.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007095/1.236, allocations: 109.6 kB / 0.5397 GB, free: 74.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.318e-05/1.236, allocations: 9.891 kB / 0.5397 GB, free: 74.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-05/1.236, allocations: 17.84 kB / 0.5397 GB, free: 74.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/1.237, allocations: 10.45 kB / 0.5397 GB, free: 74.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.897e-06/1.237, allocations: 6.188 kB / 0.5397 GB, free: 74.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/1.239, allocations: 2.394 MB / 0.5421 GB, free: 72.85 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/1.24, allocations: 468 kB / 0.5425 GB, free: 72.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003928/1.241, allocations: 19.61 kB / 0.5425 GB, free: 72.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/1.242, allocations: 35.91 kB / 0.5426 GB, free: 72.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/1.242, allocations: 46.44 kB / 0.5426 GB, free: 72.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-05/1.242, allocations: 28.02 kB / 0.5427 GB, free: 72.56 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004735/1.247, allocations: 2.557 MB / 0.5451 GB, free: 72.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.247, allocations: 3.438 kB / 0.5452 GB, free: 72.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005269/1.252, allocations: 0.8678 MB / 0.546 GB, free: 72.22 MB / 394.7 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 () * 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 (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.0003486/1.253, allocations: 146.9 kB / 0.5461 GB, free: 72.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005293/1.258, allocations: 2.683 MB / 0.5488 GB, free: 71.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.256e-06/1.258, allocations: 3.094 kB / 0.5488 GB, free: 71.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006366/1.259, allocations: 386 kB / 0.5491 GB, free: 71.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/1.261, allocations: 402.8 kB / 0.5495 GB, free: 71.42 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/1.273, allocations: 5.722 MB / 0.5551 GB, free: 69.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004208/1.278, allocations: 2.928 MB / 0.558 GB, free: 68.07 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.005117/1.283, allocations: 1.592 MB / 0.5595 GB, free: 67.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006366/1.283, allocations: 205.1 kB / 0.5597 GB, free: 67.91 MB / 394.7 MB Notification: Performance of SimCode: time 1.764e-06/1.283, allocations: 0 / 0.5597 GB, free: 67.91 MB / 394.7 MB Notification: Performance of Templates: time 0.07005/1.354, allocations: 23.1 MB / 0.5823 GB, free: 59.36 MB / 394.7 MB