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.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadModel(Modelica): time 1.856/1.856, allocations: 194.9 MB / 208.4 MB, free: 3.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.242e-05/3.242e-05, allocations: 3.984 kB / 255.4 MB, free: 3.156 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08074/0.08079, allocations: 44.5 MB / 299.9 MB, free: 6.602 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3679/0.4488, allocations: 85.05 MB / 384.9 MB, free: 21.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.4491, allocations: 84.09 kB / 385 MB, free: 21.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2043/0.6534, allocations: 56.59 MB / 441.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.6534, allocations: 0 / 441.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001215/0.6536, allocations: 48 kB / 441.6 MB, free: 12.87 MB / 330.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.01265/0.6662, allocations: 2.909 MB / 444.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.6663, allocations: 12.03 kB / 444.6 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/0.6784, allocations: 2.058 MB / 446.6 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/0.6904, allocations: 3.581 MB / 450.2 MB, free: 4.988 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002942/0.6907, allocations: 188.1 kB / 450.4 MB, free: 4.863 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001166/0.6919, allocations: 255.8 kB / 450.6 MB, free: 4.676 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0158/0.7077, allocations: 6.785 MB / 457.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/0.7079, allocations: 43.62 kB / 457.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000599/0.7085, allocations: 119.9 kB / 457.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001376/0.7099, allocations: 0.711 MB / 458.3 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01449/0.7244, allocations: 5.704 MB / 464 MB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04672/0.7712, allocations: 32.28 MB / 496.3 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008245/0.7795, allocations: 2.501 MB / 498.8 MB, free: 3.707 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/0.7816, allocations: 0.9887 MB / 499.8 MB, free: 2.703 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008036/0.7896, allocations: 3.545 MB / 0.4915 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/0.7897, allocations: 58.81 kB / 0.4916 GB, free: 14.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=105): time 4.984e-06/0.7897, allocations: 4 kB / 0.4916 GB, free: 14.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=118): time 0.02947/0.8192, allocations: 8.671 MB / 0.5 GB, free: 6.082 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001703/0.821, allocations: 1.576 MB / 0.5016 GB, free: 4.336 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005257/0.8263, allocations: 2.391 MB / 0.5039 GB, free: 1.922 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002965/0.8266, allocations: 41.7 kB / 0.5039 GB, free: 1.875 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2193/1.046, allocations: 2.053 MB / 0.506 GB, free: 98.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006904/1.047, allocations: 490.1 kB / 0.5064 GB, free: 98.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004483/1.047, allocations: 89.38 kB / 0.5065 GB, free: 98.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003017/1.047, allocations: 0.4954 MB / 0.507 GB, free: 98.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003111/1.051, allocations: 1.554 MB / 0.5085 GB, free: 98.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004616/1.055, allocations: 4.271 MB / 0.5127 GB, free: 94.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005125/1.06, allocations: 2.575 MB / 0.5152 GB, free: 94.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001278/1.061, allocations: 27.53 kB / 0.5152 GB, free: 94.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=579) (initialization): time 0.01871/1.079, allocations: 6.53 MB / 0.5216 GB, free: 94.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.415e-05/1.079, allocations: 49.88 kB / 0.5216 GB, free: 94.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007365/1.087, allocations: 2.488 MB / 0.5241 GB, free: 94.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006421/1.093, allocations: 1.501 MB / 0.5255 GB, free: 94.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004173/1.097, allocations: 0.9981 MB / 0.5265 GB, free: 94.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/1.109, allocations: 7.28 MB / 0.5336 GB, free: 91.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004888/1.114, allocations: 366.7 kB / 0.534 GB, free: 91.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008924/1.115, allocations: 280.5 kB / 0.5342 GB, free: 91.57 MB / 394.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 (531): * Single equations (assignments): 523 * 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.0008337/1.116, allocations: 450.5 kB / 0.5347 GB, free: 91.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005065/1.116, allocations: 226.2 kB / 0.5349 GB, free: 91.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008069/1.124, allocations: 2.787 MB / 0.5376 GB, free: 90.45 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007048/1.132, allocations: 2.453 MB / 0.54 GB, free: 89.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.935e-05/1.132, allocations: 3.656 kB / 0.54 GB, free: 89.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.782e-05/1.132, allocations: 14.66 kB / 0.54 GB, free: 89.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/1.148, allocations: 6.701 MB / 0.5466 GB, free: 87.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.986e-05/1.148, allocations: 0 / 0.5466 GB, free: 87.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/1.149, allocations: 166.2 kB / 0.5467 GB, free: 87.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006515/1.156, allocations: 1.43 MB / 0.5481 GB, free: 87.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002778/1.156, allocations: 39.66 kB / 0.5482 GB, free: 87.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/1.168, allocations: 7.433 MB / 0.5554 GB, free: 83.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000984/1.169, allocations: 1.443 MB / 0.5568 GB, free: 81.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/1.179, allocations: 4.795 MB / 0.5615 GB, free: 80.03 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007237/1.18, allocations: 297.1 kB / 0.5618 GB, free: 79.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004723/1.181, allocations: 23.91 kB / 0.5618 GB, free: 79.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/1.182, allocations: 125 kB / 0.5619 GB, free: 79.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/1.183, allocations: 77.7 kB / 0.562 GB, free: 79.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/1.183, allocations: 41.48 kB / 0.562 GB, free: 79.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003286/1.186, allocations: 1.642 MB / 0.5636 GB, free: 79.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.532e-06/1.186, allocations: 0 / 0.5636 GB, free: 79.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005463/1.192, allocations: 0.7596 MB / 0.5644 GB, free: 78.61 MB / 394.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.0004822/1.192, allocations: 171.7 kB / 0.5646 GB, free: 78.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008225/1.201, allocations: 4.05 MB / 0.5685 GB, free: 74.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.094e-06/1.201, allocations: 0 / 0.5685 GB, free: 74.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003602/1.204, allocations: 1.658 MB / 0.5701 GB, free: 73.36 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/1.206, allocations: 234.9 kB / 0.5704 GB, free: 73.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/1.218, allocations: 5.711 MB / 0.5759 GB, free: 68.15 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002972/1.221, allocations: 2.323 MB / 0.5782 GB, free: 66.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008403/1.222, allocations: 202.1 kB / 0.5784 GB, free: 66.12 MB / 394.7 MB Notification: Performance of SimCode: time 1.77e-06/1.222, allocations: 0 / 0.5784 GB, free: 66.12 MB / 394.7 MB Notification: Performance of Templates: time 0.09217/1.314, allocations: 69.52 MB / 0.6463 GB, free: 324 kB / 394.7 MB