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_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadModel(Modelica): time 1.662/1.662, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.549e-05/3.563e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2124, allocations: 38.77 MB / 263.8 MB, free: 9.84 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.3343, allocations: 79.41 MB / 343.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.3346, allocations: 87.94 kB / 343.3 MB, free: 10.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4022/0.7368, allocations: 56.43 MB / 399.7 MB, free: 73.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.596e-06/0.7369, allocations: 4 kB / 399.7 MB, free: 73.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001006/0.737, allocations: 44 kB / 399.8 MB, free: 73.44 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.01166/0.7487, allocations: 2.906 MB / 402.7 MB, free: 70.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.7487, allocations: 12.03 kB / 402.7 MB, free: 70.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/0.7599, allocations: 2.032 MB / 404.7 MB, free: 68.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/0.7706, allocations: 3.583 MB / 408.3 MB, free: 64.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002337/0.7709, allocations: 185.1 kB / 408.5 MB, free: 64.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00114/0.7721, allocations: 252.8 kB / 408.7 MB, free: 64.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01361/0.7857, allocations: 6.798 MB / 415.5 MB, free: 57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/0.7859, allocations: 43.62 kB / 415.6 MB, free: 56.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005023/0.7864, allocations: 123.3 kB / 415.7 MB, free: 56.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0011/0.7875, allocations: 0.7032 MB / 416.4 MB, free: 56.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/0.8, allocations: 5.708 MB / 422.1 MB, free: 50.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03446/0.8345, allocations: 32.25 MB / 454.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007331/0.8419, allocations: 2.505 MB / 456.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.8435, allocations: 0.9891 MB / 457.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006033/0.8496, allocations: 3.549 MB / 461.4 MB, free: 9.727 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.8497, allocations: 50.88 kB / 461.5 MB, free: 9.668 MB / 314.7 MB Notification: Performance of pre-optimization done (n=105): time 5.205e-06/0.8497, allocations: 4 kB / 461.5 MB, free: 9.664 MB / 314.7 MB Notification: Performance of matching and sorting (n=118): time 0.02516/0.8749, allocations: 8.68 MB / 470.1 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001406/0.8763, allocations: 1.58 MB / 471.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005144/0.8815, allocations: 2.395 MB / 474.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002667/0.8818, allocations: 41.7 kB / 474.2 MB, free: 12.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002263/0.8841, allocations: 2.056 MB / 476.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007779/0.8849, allocations: 489.8 kB / 476.7 MB, free: 10.06 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004143/0.8853, allocations: 91.98 kB / 476.8 MB, free: 9.973 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004469/0.8858, allocations: 0.4919 MB / 477.3 MB, free: 9.473 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003569/0.8894, allocations: 1.547 MB / 478.8 MB, free: 7.918 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00652/0.8959, allocations: 4.267 MB / 483.1 MB, free: 2.266 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005605/0.9016, allocations: 2.573 MB / 485.7 MB, free: 15.69 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-05/0.9017, allocations: 28 kB / 485.7 MB, free: 15.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=579) (initialization): time 0.01868/0.9204, allocations: 6.476 MB / 492.2 MB, free: 9.176 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.504e-05/0.9205, allocations: 48 kB / 492.2 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007445/0.928, allocations: 2.402 MB / 494.6 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006298/0.9343, allocations: 1.434 MB / 496 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004674/0.939, allocations: 1.018 MB / 497.1 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2387/1.178, allocations: 6.872 MB / 0.4921 GB, free: 90.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004936/1.183, allocations: 358.9 kB / 0.4925 GB, free: 90.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009674/1.184, allocations: 285.3 kB / 0.4927 GB, free: 90.26 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 447 * Number of states: 0 () * Number of discrete variables: 18 (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.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 (534): * Single equations (assignments): 526 * 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 {1} * 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.0008625/1.185, allocations: 438 kB / 0.4932 GB, free: 90.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005535/1.185, allocations: 225.9 kB / 0.4934 GB, free: 90.15 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007927/1.193, allocations: 2.787 MB / 0.4961 GB, free: 90.06 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006939/1.2, allocations: 2.46 MB / 0.4985 GB, free: 89.99 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.906e-05/1.2, allocations: 5.156 kB / 0.4985 GB, free: 89.99 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.571e-05/1.2, allocations: 11.5 kB / 0.4985 GB, free: 89.99 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01658/1.217, allocations: 6.701 MB / 0.5051 GB, free: 89.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/1.217, allocations: 2.812 kB / 0.5051 GB, free: 89.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/1.218, allocations: 166.7 kB / 0.5052 GB, free: 89.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005925/1.224, allocations: 1.434 MB / 0.5066 GB, free: 88.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002719/1.224, allocations: 34.09 kB / 0.5066 GB, free: 88.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/1.236, allocations: 7.439 MB / 0.5139 GB, free: 84.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000993/1.237, allocations: 1.454 MB / 0.5153 GB, free: 83.51 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/1.248, allocations: 4.795 MB / 0.52 GB, free: 81.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007413/1.248, allocations: 296.2 kB / 0.5203 GB, free: 81.72 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000538/1.249, allocations: 28.14 kB / 0.5203 GB, free: 81.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/1.251, allocations: 123.9 kB / 0.5204 GB, free: 81.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003573/1.251, allocations: 75.44 kB / 0.5205 GB, free: 81.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/1.251, allocations: 41 kB / 0.5205 GB, free: 81.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003442/1.255, allocations: 1.647 MB / 0.5222 GB, free: 81.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.28e-06/1.255, allocations: 0 / 0.5222 GB, free: 81.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005145/1.26, allocations: 0.7584 MB / 0.5229 GB, free: 80.98 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * Single equations (assignments): 71 * 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.0004887/1.26, allocations: 156.9 kB / 0.523 GB, free: 80.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00816/1.269, allocations: 3.92 MB / 0.5269 GB, free: 79.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.269, allocations: 3.031 kB / 0.5269 GB, free: 79.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003757/1.272, allocations: 1.651 MB / 0.5285 GB, free: 78.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/1.274, allocations: 239.7 kB / 0.5287 GB, free: 78.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/1.285, allocations: 5.409 MB / 0.534 GB, free: 73.56 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003059/1.289, allocations: 2.323 MB / 0.5363 GB, free: 71.72 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.004367/1.293, allocations: 1.385 MB / 0.5376 GB, free: 70.85 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006808/1.294, allocations: 169.9 kB / 0.5378 GB, free: 70.7 MB / 346.7 MB Notification: Performance of SimCode: time 2.026e-06/1.294, allocations: 0 / 0.5378 GB, free: 70.7 MB / 346.7 MB Notification: Performance of Templates: time 0.06362/1.357, allocations: 25.24 MB / 0.5624 GB, free: 47.11 MB / 346.7 MB