Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadModel(Modelica): time 2.155/2.155, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.464e-05/2.478e-05, allocations: 4 kB / 292.1 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08937/0.08942, allocations: 50.42 MB / 342.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4359/0.5253, allocations: 94.66 MB / 437.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.5256, allocations: 87.95 kB / 437.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2492/0.7749, allocations: 67.55 MB / 0.493 GB, free: 15.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.187e-06/0.7749, allocations: 0 / 0.493 GB, free: 15.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001518/0.7751, allocations: 60 kB / 0.4931 GB, free: 15.93 MB / 426.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.007821/0.7829, allocations: 3.08 MB / 0.4961 GB, free: 12.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.783, allocations: 12.03 kB / 0.4961 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/0.7931, allocations: 1.898 MB / 0.498 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005687/0.7989, allocations: 1.973 MB / 0.4999 GB, free: 8.844 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/0.7992, allocations: 238 kB / 0.5001 GB, free: 8.609 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008186/0.8, allocations: 307.8 kB / 0.5004 GB, free: 8.309 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0152/0.8152, allocations: 7.365 MB / 0.5076 GB, free: 76 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000119/0.8154, allocations: 39.62 kB / 0.5076 GB, free: 36 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006095/0.816, allocations: 159.9 kB / 0.5078 GB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001389/0.8174, allocations: 0.7426 MB / 0.5085 GB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01314/0.8306, allocations: 5.456 MB / 0.5138 GB, free: 9.668 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3529/1.183, allocations: 35.31 MB / 0.5483 GB, free: 86.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003789/1.187, allocations: 1.641 MB / 0.5499 GB, free: 85.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008972/1.188, allocations: 475.7 kB / 0.5504 GB, free: 85.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005261/1.194, allocations: 2.911 MB / 0.5532 GB, free: 83.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/1.194, allocations: 46.91 kB / 0.5533 GB, free: 83.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=83): time 5.158e-06/1.194, allocations: 0 / 0.5533 GB, free: 83.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=83): time 0.005114/1.199, allocations: 1.427 MB / 0.5547 GB, free: 83.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/1.199, allocations: 216.6 kB / 0.5549 GB, free: 83.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006322/1.205, allocations: 3.276 MB / 0.5581 GB, free: 83.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001168/1.205, allocations: 39.27 kB / 0.5581 GB, free: 83.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001843/1.207, allocations: 2.697 MB / 0.5607 GB, free: 81.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004074/1.208, allocations: 369.8 kB / 0.5611 GB, free: 81.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/1.208, allocations: 100.8 kB / 0.5612 GB, free: 81.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002924/1.208, allocations: 0.501 MB / 0.5617 GB, free: 81.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002329/1.211, allocations: 1.185 MB / 0.5628 GB, free: 81.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003692/1.214, allocations: 4.501 MB / 0.5672 GB, free: 76.99 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004046/1.218, allocations: 2.32 MB / 0.5695 GB, free: 76.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.631e-05/1.218, allocations: 35.19 kB / 0.5695 GB, free: 76.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.01119/1.23, allocations: 5.105 MB / 0.5745 GB, free: 76.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.369e-05/1.23, allocations: 54.97 kB / 0.5746 GB, free: 76.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001212/1.23, allocations: 120.8 kB / 0.5747 GB, free: 76.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/1.23, allocations: 181.6 kB / 0.5749 GB, free: 76.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004232/1.234, allocations: 1.131 MB / 0.576 GB, free: 76.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001711/1.235, allocations: 238.1 kB / 0.5762 GB, free: 76.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004963/1.24, allocations: 0.7023 MB / 0.5769 GB, free: 75.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007637/1.24, allocations: 348.8 kB / 0.5772 GB, free: 75.93 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.0007215/1.241, allocations: 494.2 kB / 0.5777 GB, free: 75.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005605/1.242, allocations: 299.8 kB / 0.578 GB, free: 75.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/1.243, allocations: 0.4978 MB / 0.5784 GB, free: 75.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.77e-05/1.243, allocations: 13.14 kB / 0.5785 GB, free: 75.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/1.243, allocations: 7.828 kB / 0.5785 GB, free: 75.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/1.243, allocations: 0 / 0.5785 GB, free: 75.24 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006748/1.25, allocations: 3.287 MB / 0.5817 GB, free: 73.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.25, allocations: 3.969 kB / 0.5817 GB, free: 73.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006488/1.25, allocations: 113.4 kB / 0.5818 GB, free: 73.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-05/1.25, allocations: 10.78 kB / 0.5818 GB, free: 73.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/1.25, allocations: 15.25 kB / 0.5818 GB, free: 73.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/1.25, allocations: 7.25 kB / 0.5818 GB, free: 73.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.037e-06/1.25, allocations: 8.656 kB / 0.5818 GB, free: 73.83 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/1.253, allocations: 2.474 MB / 0.5842 GB, free: 72.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009634/1.254, allocations: 469.2 kB / 0.5847 GB, free: 71.83 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003618/1.254, allocations: 18.44 kB / 0.5847 GB, free: 71.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.256, allocations: 39.48 kB / 0.5847 GB, free: 71.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/1.256, allocations: 51.59 kB / 0.5848 GB, free: 71.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-05/1.256, allocations: 30.16 kB / 0.5848 GB, free: 71.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004152/1.26, allocations: 2.331 MB / 0.5871 GB, free: 71 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.86e-07/1.26, allocations: 2.953 kB / 0.5871 GB, free: 71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005158/1.265, allocations: 0.8175 MB / 0.5879 GB, free: 70.8 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.0003661/1.266, allocations: 164 kB / 0.5881 GB, free: 70.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00493/1.271, allocations: 2.609 MB / 0.5906 GB, free: 69.87 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.115e-06/1.271, allocations: 0 / 0.5906 GB, free: 69.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000726/1.272, allocations: 403.4 kB / 0.591 GB, free: 69.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/1.274, allocations: 351.8 kB / 0.5913 GB, free: 69.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/1.285, allocations: 5.345 MB / 0.5965 GB, free: 67.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003481/1.289, allocations: 2.758 MB / 0.5992 GB, free: 66.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005045/1.294, allocations: 1.578 MB / 0.6008 GB, free: 66.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006272/1.295, allocations: 210.4 kB / 0.601 GB, free: 66.24 MB / 442.7 MB Notification: Performance of SimCode: time 1.519e-06/1.295, allocations: 0 / 0.601 GB, free: 66.24 MB / 442.7 MB Notification: Performance of Templates: time 0.0659/1.361, allocations: 21.74 MB / 0.6222 GB, free: 55.67 MB / 442.7 MB