Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadModel(Modelica): time 1.944/1.944, allocations: 225.8 MB / 239.4 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.802e-05/2.814e-05, allocations: 6.812 kB / 292.7 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08952/0.08958, allocations: 50.42 MB / 343.1 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3769/0.4665, allocations: 93.65 MB / 436.7 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.4668, allocations: 78.08 kB / 436.8 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2331/0.7, allocations: 58.84 MB / 495.6 MB, free: 9.809 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.241e-06/0.7, allocations: 3.984 kB / 495.6 MB, free: 9.805 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001162/0.7001, allocations: 51.98 kB / 495.7 MB, free: 9.754 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.01227/0.7124, allocations: 2.947 MB / 498.6 MB, free: 6.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.7125, allocations: 8.031 kB / 498.7 MB, free: 6.742 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01248/0.725, allocations: 2.055 MB / 0.489 GB, free: 4.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01193/0.737, allocations: 3.486 MB / 0.4924 GB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000261/0.7373, allocations: 185 kB / 0.4926 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.7383, allocations: 255.8 kB / 0.4928 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.016/0.7543, allocations: 6.927 MB / 0.4996 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001294/0.7545, allocations: 43.62 kB / 0.4996 GB, free: 8.996 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005624/0.7551, allocations: 123.9 kB / 0.4997 GB, free: 8.875 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001435/0.7565, allocations: 0.7228 MB / 0.5004 GB, free: 8.152 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/0.7714, allocations: 5.821 MB / 0.5061 GB, free: 2.328 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.294/1.065, allocations: 32.68 MB / 0.538 GB, free: 93.83 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00854/1.074, allocations: 2.632 MB / 0.5406 GB, free: 93.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001886/1.076, allocations: 1.019 MB / 0.5416 GB, free: 93.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007094/1.083, allocations: 3.885 MB / 0.5454 GB, free: 91.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/1.083, allocations: 48.55 kB / 0.5454 GB, free: 91.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=112): time 5.495e-06/1.083, allocations: 0 / 0.5454 GB, free: 91.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=125): time 0.02674/1.11, allocations: 8.873 MB / 0.5541 GB, free: 89.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001052/1.111, allocations: 1.581 MB / 0.5556 GB, free: 87.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003945/1.115, allocations: 2.413 MB / 0.558 GB, free: 87.49 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000219/1.115, allocations: 44.33 kB / 0.558 GB, free: 87.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/1.116, allocations: 2.086 MB / 0.5601 GB, free: 86.36 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004584/1.117, allocations: 0.5106 MB / 0.5606 GB, free: 86.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/1.117, allocations: 86.53 kB / 0.5607 GB, free: 86.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002522/1.117, allocations: 0.4929 MB / 0.5611 GB, free: 85.76 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003028/1.12, allocations: 1.565 MB / 0.5627 GB, free: 85.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003852/1.124, allocations: 4.311 MB / 0.5669 GB, free: 82.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00409/1.128, allocations: 2.599 MB / 0.5694 GB, free: 82.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.639e-05/1.128, allocations: 29.06 kB / 0.5694 GB, free: 82.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=589) (initialization): time 0.01524/1.144, allocations: 6.638 MB / 0.5759 GB, free: 80.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.832e-05/1.144, allocations: 49 kB / 0.576 GB, free: 80.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007161/1.151, allocations: 2.524 MB / 0.5784 GB, free: 79.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006522/1.158, allocations: 1.488 MB / 0.5799 GB, free: 79.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004119/1.162, allocations: 1.02 MB / 0.5809 GB, free: 79.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/1.173, allocations: 7.222 MB / 0.5879 GB, free: 75.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004811/1.178, allocations: 370.9 kB / 0.5883 GB, free: 75.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008206/1.179, allocations: 283.3 kB / 0.5886 GB, free: 75.08 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (541): * Single equations (assignments): 533 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008166/1.18, allocations: 443.7 kB / 0.589 GB, free: 74.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005255/1.18, allocations: 231.9 kB / 0.5892 GB, free: 74.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008049/1.188, allocations: 2.831 MB / 0.592 GB, free: 73.78 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007366/1.196, allocations: 2.494 MB / 0.5944 GB, free: 73.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.838e-05/1.196, allocations: 3.688 kB / 0.5944 GB, free: 73.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.19e-05/1.196, allocations: 3.562 kB / 0.5944 GB, free: 73.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/1.212, allocations: 6.859 MB / 0.6011 GB, free: 70.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/1.212, allocations: 3.219 kB / 0.6011 GB, free: 70.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/1.213, allocations: 172.6 kB / 0.6013 GB, free: 70.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006043/1.219, allocations: 1.435 MB / 0.6027 GB, free: 70.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00019/1.22, allocations: 37.66 kB / 0.6027 GB, free: 70.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/1.23, allocations: 7.316 MB / 0.6099 GB, free: 63.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008679/1.231, allocations: 1.453 MB / 0.6113 GB, free: 62.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009972/1.241, allocations: 4.933 MB / 0.6161 GB, free: 58.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007922/1.242, allocations: 301.7 kB / 0.6164 GB, free: 57.83 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006106/1.243, allocations: 25.64 kB / 0.6164 GB, free: 57.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/1.245, allocations: 125.6 kB / 0.6165 GB, free: 57.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003127/1.245, allocations: 82.06 kB / 0.6166 GB, free: 57.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/1.245, allocations: 38.91 kB / 0.6166 GB, free: 57.65 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002818/1.248, allocations: 1.656 MB / 0.6183 GB, free: 56.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.63e-07/1.248, allocations: 0 / 0.6183 GB, free: 56.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004784/1.253, allocations: 0.7777 MB / 0.619 GB, free: 55.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000453/1.253, allocations: 167.4 kB / 0.6192 GB, free: 55.24 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00788/1.261, allocations: 4.093 MB / 0.6232 GB, free: 51.56 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.169e-06/1.261, allocations: 0 / 0.6232 GB, free: 51.56 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003553/1.265, allocations: 1.677 MB / 0.6248 GB, free: 50.09 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/1.266, allocations: 250 kB / 0.6251 GB, free: 49.87 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/1.277, allocations: 5.499 MB / 0.6304 GB, free: 44.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0028/1.28, allocations: 2.355 MB / 0.6327 GB, free: 42.23 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00418/1.284, allocations: 1.415 MB / 0.6341 GB, free: 40.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005714/1.285, allocations: 163.4 kB / 0.6343 GB, free: 40.65 MB / 442.7 MB Notification: Performance of SimCode: time 1.702e-06/1.285, allocations: 0 / 0.6343 GB, free: 40.65 MB / 442.7 MB Notification: Performance of Templates: time 0.06551/1.35, allocations: 26.15 MB / 0.6598 GB, free: 14.92 MB / 442.7 MB