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_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadModel(Modelica): time 1.608/1.608, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.54e-05/4.556e-05, allocations: 4 kB / 225 MB, free: 2.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2654, allocations: 38.76 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.3937, allocations: 82.22 MB / 346 MB, free: 7.488 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.3941, allocations: 83.95 kB / 346.1 MB, free: 7.406 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4515/0.8456, allocations: 66.47 MB / 412.6 MB, free: 60.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.473e-06/0.8456, allocations: 0 / 412.6 MB, free: 60.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001487/0.8458, allocations: 68 kB / 412.6 MB, free: 60.91 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.007249/0.8531, allocations: 3.176 MB / 415.8 MB, free: 57.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.8531, allocations: 8.031 kB / 415.8 MB, free: 57.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/0.8633, allocations: 1.949 MB / 417.7 MB, free: 55.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005277/0.8686, allocations: 2.158 MB / 419.9 MB, free: 53.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/0.8688, allocations: 258.8 kB / 420.2 MB, free: 53.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009413/0.8698, allocations: 339.8 kB / 420.5 MB, free: 52.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01372/0.8835, allocations: 7.981 MB / 428.5 MB, free: 43.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/0.8837, allocations: 47.56 kB / 428.5 MB, free: 43.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005598/0.8843, allocations: 171.9 kB / 428.7 MB, free: 43.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001013/0.8853, allocations: 0.7868 MB / 429.5 MB, free: 42.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01136/0.8967, allocations: 5.693 MB / 435.2 MB, free: 37.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03789/0.9346, allocations: 39.91 MB / 475.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003743/0.9384, allocations: 1.572 MB / 476.6 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009566/0.9394, allocations: 453.2 kB / 477.1 MB, free: 9.695 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009556/0.949, allocations: 2.838 MB / 479.9 MB, free: 6.695 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.901e-05/0.9491, allocations: 46.5 kB / 480 MB, free: 6.641 MB / 330.7 MB Notification: Performance of pre-optimization done (n=80): time 6.143e-06/0.9491, allocations: 0 / 480 MB, free: 6.641 MB / 330.7 MB Notification: Performance of matching and sorting (n=80): time 0.007906/0.957, allocations: 1.331 MB / 481.3 MB, free: 5.301 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.9572, allocations: 192 kB / 481.5 MB, free: 5.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008773/0.966, allocations: 3.606 MB / 485.1 MB, free: 1.438 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.9661, allocations: 37.69 kB / 485.1 MB, free: 1.395 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003296/0.9694, allocations: 2.912 MB / 488 MB, free: 14.44 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008641/0.9704, allocations: 367.9 kB / 488.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005624/0.9709, allocations: 96 kB / 488.5 MB, free: 13.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0007447/0.9717, allocations: 0.5168 MB / 489 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004937/0.9767, allocations: 1.209 MB / 490.2 MB, free: 12.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009812/0.9865, allocations: 4.73 MB / 495 MB, free: 5.695 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009105/0.9957, allocations: 2.42 MB / 497.4 MB, free: 3.273 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001949/0.9959, allocations: 36 kB / 497.4 MB, free: 3.238 MB / 346.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.269/1.265, allocations: 5.301 MB / 0.4909 GB, free: 84.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001694/1.265, allocations: 60.56 kB / 0.491 GB, free: 84.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002614/1.265, allocations: 128.8 kB / 0.4911 GB, free: 84.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004092/1.266, allocations: 185.4 kB / 0.4913 GB, free: 84.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005984/1.272, allocations: 1.163 MB / 0.4924 GB, free: 84.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002019/1.272, allocations: 251.8 kB / 0.4927 GB, free: 84.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005012/1.277, allocations: 0.7643 MB / 0.4934 GB, free: 84.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006646/1.278, allocations: 328.1 kB / 0.4937 GB, free: 84.96 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.0007477/1.279, allocations: 0.5115 MB / 0.4942 GB, free: 84.85 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006652/1.279, allocations: 321.5 kB / 0.4945 GB, free: 84.76 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/1.28, allocations: 0.5183 MB / 0.495 GB, free: 84.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/1.281, allocations: 7.938 kB / 0.495 GB, free: 84.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.77e-06/1.281, allocations: 3.906 kB / 0.495 GB, free: 84.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/1.281, allocations: 3.797 kB / 0.4951 GB, free: 84.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007174/1.288, allocations: 3.404 MB / 0.4984 GB, free: 84.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/1.288, allocations: 3.812 kB / 0.4984 GB, free: 84.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006846/1.289, allocations: 111.6 kB / 0.4985 GB, free: 84.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/1.289, allocations: 3.875 kB / 0.4985 GB, free: 84.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.406e-05/1.289, allocations: 24.61 kB / 0.4985 GB, free: 84.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.961e-06/1.289, allocations: 9.688 kB / 0.4985 GB, free: 84.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.527e-06/1.289, allocations: 5.875 kB / 0.4985 GB, free: 84.22 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/1.291, allocations: 2.397 MB / 0.5009 GB, free: 82.97 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/1.293, allocations: 0.5421 MB / 0.5014 GB, free: 82.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004648/1.293, allocations: 19.73 kB / 0.5014 GB, free: 82.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/1.294, allocations: 55.11 kB / 0.5015 GB, free: 82.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/1.295, allocations: 46.95 kB / 0.5015 GB, free: 82.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.012e-05/1.295, allocations: 27.89 kB / 0.5015 GB, free: 82.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005449/1.3, allocations: 2.574 MB / 0.5041 GB, free: 82.49 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.09e-06/1.3, allocations: 1.859 kB / 0.5041 GB, free: 82.49 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005813/1.306, allocations: 0.897 MB / 0.5049 GB, free: 82.41 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.000437/1.307, allocations: 172.4 kB / 0.5051 GB, free: 82.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00522/1.312, allocations: 2.676 MB / 0.5077 GB, free: 82.31 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.312, allocations: 3.812 kB / 0.5077 GB, free: 82.31 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007108/1.313, allocations: 384.3 kB / 0.5081 GB, free: 82.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/1.315, allocations: 404.4 kB / 0.5085 GB, free: 82.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/1.33, allocations: 7.193 MB / 0.5155 GB, free: 80.94 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004169/1.335, allocations: 2.929 MB / 0.5184 GB, free: 79.95 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.005461/1.34, allocations: 1.636 MB / 0.5199 GB, free: 79.88 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008125/1.341, allocations: 234.7 kB / 0.5202 GB, free: 79.86 MB / 346.7 MB Notification: Performance of SimCode: time 1.799e-06/1.341, allocations: 0 / 0.5202 GB, free: 79.86 MB / 346.7 MB Notification: Performance of Templates: time 0.07378/1.415, allocations: 25.84 MB / 0.5454 GB, free: 62.13 MB / 346.7 MB