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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadModel(Modelica): time 1.638/1.638, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.382e-05/2.395e-05, allocations: 0 / 225 MB, free: 2.785 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.212, allocations: 38.77 MB / 263.8 MB, free: 9.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.3375, allocations: 82.21 MB / 346 MB, free: 7.539 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.3378, allocations: 83.95 kB / 346.1 MB, free: 7.457 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4173/0.7551, allocations: 66.47 MB / 412.5 MB, free: 61.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.487e-06/0.7552, allocations: 0 / 412.5 MB, free: 61.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001698/0.7554, allocations: 68 kB / 412.6 MB, free: 60.95 MB / 314.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.007653/0.763, allocations: 3.18 MB / 415.8 MB, free: 57.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.7631, allocations: 8.031 kB / 415.8 MB, free: 57.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009813/0.7729, allocations: 1.949 MB / 417.7 MB, free: 55.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005281/0.7782, allocations: 2.154 MB / 419.9 MB, free: 53.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/0.7785, allocations: 262.8 kB / 420.1 MB, free: 53.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001106/0.7796, allocations: 339.8 kB / 420.5 MB, free: 52.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/0.7937, allocations: 7.974 MB / 428.4 MB, free: 43.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.7938, allocations: 51.55 kB / 428.5 MB, free: 43.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007114/0.7946, allocations: 179.8 kB / 428.7 MB, free: 43.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001027/0.7956, allocations: 0.779 MB / 429.4 MB, free: 42.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01153/0.8072, allocations: 5.693 MB / 435.1 MB, free: 37.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0383/0.8455, allocations: 39.91 MB / 475 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003872/0.8494, allocations: 1.561 MB / 476.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.8505, allocations: 469.1 kB / 477.1 MB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006255/0.8568, allocations: 2.834 MB / 479.9 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/0.8568, allocations: 46.48 kB / 479.9 MB, free: 6.684 MB / 330.7 MB Notification: Performance of pre-optimization done (n=80): time 5.346e-06/0.8569, allocations: 0 / 479.9 MB, free: 6.684 MB / 330.7 MB Notification: Performance of matching and sorting (n=80): time 0.004827/0.8617, allocations: 1.339 MB / 481.3 MB, free: 5.336 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.8619, allocations: 191.9 kB / 481.5 MB, free: 5.105 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00862/0.8705, allocations: 3.602 MB / 485.1 MB, free: 1.477 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.8707, allocations: 29.7 kB / 485.1 MB, free: 1.441 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003156/0.8738, allocations: 2.821 MB / 487.9 MB, free: 14.58 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005823/0.8745, allocations: 368 kB / 488.3 MB, free: 14.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003984/0.8749, allocations: 96 kB / 488.4 MB, free: 14.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004904/0.8754, allocations: 0.5216 MB / 488.9 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002783/0.8782, allocations: 1.209 MB / 490.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006432/0.8846, allocations: 4.73 MB / 494.8 MB, free: 5.828 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005252/0.8899, allocations: 2.424 MB / 497.3 MB, free: 3.402 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/0.8901, allocations: 36 kB / 497.3 MB, free: 3.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.2163/1.106, allocations: 5.171 MB / 0.4907 GB, free: 84.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.107, allocations: 60.34 kB / 0.4908 GB, free: 84.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001762/1.107, allocations: 128 kB / 0.4909 GB, free: 84.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002456/1.107, allocations: 185.4 kB / 0.491 GB, free: 84.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004661/1.112, allocations: 1.167 MB / 0.4922 GB, free: 84.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002191/1.112, allocations: 243.1 kB / 0.4924 GB, free: 84.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005499/1.117, allocations: 0.7685 MB / 0.4932 GB, free: 84.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009164/1.118, allocations: 333.8 kB / 0.4935 GB, free: 84.32 MB / 346.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.000763/1.119, allocations: 0.5087 MB / 0.494 GB, free: 84.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007501/1.12, allocations: 324 kB / 0.4943 GB, free: 84.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/1.121, allocations: 0.5133 MB / 0.4948 GB, free: 84.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.261e-05/1.121, allocations: 18.75 kB / 0.4948 GB, free: 84.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/1.121, allocations: 0 / 0.4948 GB, free: 84.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/1.121, allocations: 10.7 kB / 0.4948 GB, free: 84.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008129/1.129, allocations: 3.402 MB / 0.4981 GB, free: 83.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/1.129, allocations: 4.625 kB / 0.4982 GB, free: 83.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006605/1.13, allocations: 103.9 kB / 0.4983 GB, free: 83.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-05/1.13, allocations: 7.875 kB / 0.4983 GB, free: 83.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/1.13, allocations: 24.81 kB / 0.4983 GB, free: 83.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.961e-06/1.13, allocations: 7.219 kB / 0.4983 GB, free: 83.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.678e-06/1.13, allocations: 7.438 kB / 0.4983 GB, free: 83.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00284/1.133, allocations: 2.392 MB / 0.5006 GB, free: 82.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/1.135, allocations: 0.5511 MB / 0.5012 GB, free: 82.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005286/1.135, allocations: 15.67 kB / 0.5012 GB, free: 82.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/1.137, allocations: 54.72 kB / 0.5012 GB, free: 82.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/1.137, allocations: 44.62 kB / 0.5013 GB, free: 82.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.952e-05/1.137, allocations: 33.58 kB / 0.5013 GB, free: 82.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005681/1.143, allocations: 2.566 MB / 0.5038 GB, free: 81.94 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.221e-06/1.143, allocations: 1.859 kB / 0.5038 GB, free: 81.94 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005731/1.149, allocations: 0.8928 MB / 0.5047 GB, free: 81.85 MB / 346.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.0004532/1.149, allocations: 172.7 kB / 0.5049 GB, free: 81.76 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005561/1.155, allocations: 2.676 MB / 0.5075 GB, free: 81.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.755e-06/1.155, allocations: 0 / 0.5075 GB, free: 81.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000763/1.155, allocations: 389.8 kB / 0.5078 GB, free: 81.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/1.158, allocations: 404.8 kB / 0.5082 GB, free: 81.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01659/1.175, allocations: 7.591 MB / 0.5156 GB, free: 80.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004471/1.179, allocations: 2.932 MB / 0.5185 GB, free: 79.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009242/1.18, allocations: 269.3 kB / 0.5188 GB, free: 79.14 MB / 346.7 MB Notification: Performance of SimCode: time 1.827e-06/1.18, allocations: 3.547 kB / 0.5188 GB, free: 79.14 MB / 346.7 MB Notification: Performance of Templates: time 0.07298/1.253, allocations: 48.31 MB / 0.5659 GB, free: 40.27 MB / 346.7 MB