Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 1.684/1.684, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.394e-05, allocations: 4 kB / 225 MB, free: 2.785 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2145, allocations: 38.77 MB / 263.8 MB, free: 9.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1304/0.3449, allocations: 80.41 MB / 344.2 MB, free: 9.348 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.3452, allocations: 75.95 kB / 344.2 MB, free: 9.273 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4665/0.8118, allocations: 77.56 MB / 421.8 MB, free: 51.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.313e-06/0.8118, allocations: 4 kB / 421.8 MB, free: 51.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001623/0.812, allocations: 87.92 kB / 421.9 MB, free: 51.46 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: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.01436/0.8264, allocations: 4.04 MB / 425.9 MB, free: 47.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.8264, allocations: 8.031 kB / 425.9 MB, free: 47.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01352/0.84, allocations: 2.222 MB / 428.2 MB, free: 45.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01267/0.8527, allocations: 4.328 MB / 432.5 MB, free: 40.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003218/0.8531, allocations: 316.2 kB / 432.8 MB, free: 40.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00148/0.8545, allocations: 415.8 kB / 433.2 MB, free: 40.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0211/0.8757, allocations: 10.1 MB / 443.3 MB, free: 28.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001615/0.8759, allocations: 59.5 kB / 443.4 MB, free: 28.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009589/0.8769, allocations: 207.9 kB / 443.6 MB, free: 28.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001498/0.8784, allocations: 0.9859 MB / 444.6 MB, free: 27.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02938/0.9078, allocations: 7.775 MB / 452.3 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06359/0.9714, allocations: 48.24 MB / 0.4888 GB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2131/1.185, allocations: 3.53 MB / 0.4923 GB, free: 81.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002272/1.187, allocations: 1.307 MB / 0.4936 GB, free: 81.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01162/1.199, allocations: 6.51 MB / 0.4999 GB, free: 79.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/1.199, allocations: 45.91 kB / 0.5 GB, free: 79.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 5.451e-06/1.199, allocations: 0 / 0.5 GB, free: 79.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=138): time 0.03086/1.229, allocations: 9.58 MB / 0.5093 GB, free: 76.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001155/1.231, allocations: 1.582 MB / 0.5109 GB, free: 75.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006495/1.237, allocations: 3.335 MB / 0.5141 GB, free: 75.01 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003181/1.238, allocations: 45.95 kB / 0.5142 GB, free: 74.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002004/1.24, allocations: 3.029 MB / 0.5171 GB, free: 73.06 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007012/1.24, allocations: 0.5727 MB / 0.5177 GB, free: 72.76 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004413/1.241, allocations: 124.1 kB / 0.5178 GB, free: 72.76 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003713/1.241, allocations: 0.5662 MB / 0.5184 GB, free: 72.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00377/1.245, allocations: 1.887 MB / 0.5202 GB, free: 72.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005895/1.251, allocations: 5.733 MB / 0.5258 GB, free: 66.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006234/1.257, allocations: 3.279 MB / 0.529 GB, free: 65.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001201/1.257, allocations: 40.25 kB / 0.529 GB, free: 65.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.0198/1.277, allocations: 7.975 MB / 0.5368 GB, free: 63.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/1.277, allocations: 69 kB / 0.5369 GB, free: 63.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007654/1.285, allocations: 2.65 MB / 0.5395 GB, free: 62.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006525/1.292, allocations: 1.538 MB / 0.541 GB, free: 62.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005418/1.297, allocations: 1.359 MB / 0.5423 GB, free: 61.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00552/1.303, allocations: 5.171 MB / 0.5474 GB, free: 56.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006352/1.309, allocations: 429.3 kB / 0.5478 GB, free: 55.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001163/1.31, allocations: 383.1 kB / 0.5481 GB, free: 55.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 36 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (720): * Single equations (assignments): 710 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.001001/1.311, allocations: 0.581 MB / 0.5487 GB, free: 54.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000658/1.312, allocations: 315.9 kB / 0.549 GB, free: 54.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007709/1.32, allocations: 2.989 MB / 0.5519 GB, free: 52.17 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006701/1.326, allocations: 2.546 MB / 0.5544 GB, free: 50.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/1.326, allocations: 4 kB / 0.5544 GB, free: 50.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.16e-05/1.326, allocations: 13.89 kB / 0.5544 GB, free: 50.17 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007211/1.334, allocations: 3.54 MB / 0.5579 GB, free: 47.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/1.334, allocations: 4 kB / 0.5579 GB, free: 47.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/1.335, allocations: 162.8 kB / 0.558 GB, free: 47.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005757/1.341, allocations: 1.433 MB / 0.5594 GB, free: 46.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002903/1.341, allocations: 35.61 kB / 0.5595 GB, free: 46.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006902/1.348, allocations: 5.744 MB / 0.5651 GB, free: 40.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000878/1.349, allocations: 1.453 MB / 0.5665 GB, free: 39.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/1.359, allocations: 5.123 MB / 0.5715 GB, free: 34.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009573/1.36, allocations: 377.8 kB / 0.5719 GB, free: 34.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005568/1.361, allocations: 30.31 kB / 0.5719 GB, free: 34.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/1.363, allocations: 143.8 kB / 0.572 GB, free: 34.42 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003117/1.363, allocations: 77.88 kB / 0.5721 GB, free: 34.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/1.363, allocations: 43.22 kB / 0.5721 GB, free: 34.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004457/1.368, allocations: 2.271 MB / 0.5744 GB, free: 32.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.379e-06/1.368, allocations: 0 / 0.5744 GB, free: 32.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006377/1.374, allocations: 0.9802 MB / 0.5753 GB, free: 31.37 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],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.000513/1.375, allocations: 173 kB / 0.5755 GB, free: 31.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01008/1.385, allocations: 4.873 MB / 0.5802 GB, free: 26.85 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.67e-06/1.385, allocations: 192 / 0.5802 GB, free: 26.85 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004404/1.389, allocations: 1.92 MB / 0.5821 GB, free: 25.15 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/1.392, allocations: 338.7 kB / 0.5824 GB, free: 24.85 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/1.408, allocations: 7.611 MB / 0.5899 GB, free: 18.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005294/1.413, allocations: 3.119 MB / 0.5929 GB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009677/1.414, allocations: 267.3 kB / 0.5932 GB, free: 14.9 MB / 346.7 MB Notification: Performance of SimCode: time 1.775e-06/1.414, allocations: 0 / 0.5932 GB, free: 14.9 MB / 346.7 MB Notification: Performance of Templates: time 0.3713/1.786, allocations: 130.3 MB / 0.7204 GB, free: 19.96 MB / 362.7 MB