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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 1.811/1.811, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.98e-05/2.995e-05, allocations: 8 kB / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07779/0.07785, allocations: 44.49 MB / 299.9 MB, free: 6.148 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.342/0.4199, allocations: 86.03 MB / 385.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.4202, allocations: 86.25 kB / 386 MB, free: 20.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2799/0.7001, allocations: 77.72 MB / 463.7 MB, free: 8.305 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.523e-06/0.7002, allocations: 0 / 463.7 MB, free: 8.305 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002156/0.7004, allocations: 79.98 kB / 463.8 MB, free: 8.227 MB / 346.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.01691/0.7173, allocations: 4.044 MB / 467.8 MB, free: 4.117 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.7174, allocations: 8.031 kB / 467.9 MB, free: 4.109 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0134/0.7308, allocations: 2.241 MB / 470.1 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.015/0.7459, allocations: 4.346 MB / 474.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004598/0.7464, allocations: 316.2 kB / 474.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001731/0.7481, allocations: 407.9 kB / 475.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03224/0.7804, allocations: 10.1 MB / 485.3 MB, free: 1.555 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002976/0.7807, allocations: 59.41 kB / 485.3 MB, free: 1.496 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001821/0.7826, allocations: 207.8 kB / 485.5 MB, free: 1.293 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002964/0.7855, allocations: 0.9858 MB / 486.5 MB, free: 312 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02887/0.8145, allocations: 7.779 MB / 494.3 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2997/1.114, allocations: 48.24 MB / 0.5298 GB, free: 46.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01198/1.126, allocations: 3.531 MB / 0.5333 GB, free: 46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002604/1.129, allocations: 1.303 MB / 0.5345 GB, free: 45.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01253/1.141, allocations: 6.517 MB / 0.5409 GB, free: 43.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/1.142, allocations: 53 kB / 0.5409 GB, free: 43.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=131): time 5.811e-06/1.142, allocations: 0 / 0.5409 GB, free: 43.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.04743/1.189, allocations: 9.571 MB / 0.5503 GB, free: 41.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001672/1.191, allocations: 1.582 MB / 0.5518 GB, free: 39.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009987/1.201, allocations: 3.331 MB / 0.5551 GB, free: 39.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003885/1.201, allocations: 51.02 kB / 0.5551 GB, free: 39.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003308/1.205, allocations: 3.07 MB / 0.5581 GB, free: 37.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001064/1.206, allocations: 0.5743 MB / 0.5587 GB, free: 37.22 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007322/1.206, allocations: 117.6 kB / 0.5588 GB, free: 37.22 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000589/1.207, allocations: 0.5636 MB / 0.5594 GB, free: 36.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006479/1.214, allocations: 1.888 MB / 0.5612 GB, free: 36.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009282/1.223, allocations: 5.743 MB / 0.5668 GB, free: 31.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01038/1.233, allocations: 3.276 MB / 0.57 GB, free: 31.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002427/1.234, allocations: 41.97 kB / 0.57 GB, free: 31.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.03585/1.269, allocations: 8.175 MB / 0.578 GB, free: 29.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001654/1.27, allocations: 66.12 kB / 0.5781 GB, free: 29.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01346/1.283, allocations: 2.73 MB / 0.5808 GB, free: 28.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008894/1.292, allocations: 1.622 MB / 0.5823 GB, free: 28.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008529/1.301, allocations: 1.342 MB / 0.5837 GB, free: 28.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009721/1.31, allocations: 5.536 MB / 0.5891 GB, free: 24.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006604/1.317, allocations: 432.8 kB / 0.5895 GB, free: 24.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001182/1.318, allocations: 386.2 kB / 0.5898 GB, free: 24.56 MB / 394.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 (717): * Single equations (assignments): 707 * 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 {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 26} Notification: Performance of prepare postOptimizeDAE: time 0.001162/1.32, allocations: 0.5755 MB / 0.5904 GB, free: 24.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006757/1.32, allocations: 322.2 kB / 0.5907 GB, free: 23.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008112/1.328, allocations: 2.987 MB / 0.5936 GB, free: 22.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007031/1.335, allocations: 2.548 MB / 0.5961 GB, free: 22.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/1.335, allocations: 0 / 0.5961 GB, free: 22.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.842e-05/1.336, allocations: 7.688 kB / 0.5961 GB, free: 22.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007442/1.343, allocations: 3.547 MB / 0.5996 GB, free: 20.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/1.343, allocations: 7.891 kB / 0.5996 GB, free: 20.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/1.344, allocations: 165.5 kB / 0.5998 GB, free: 20.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006149/1.35, allocations: 1.433 MB / 0.6012 GB, free: 19.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002592/1.351, allocations: 39.59 kB / 0.6012 GB, free: 19.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006954/1.358, allocations: 5.737 MB / 0.6068 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008989/1.359, allocations: 1.455 MB / 0.6082 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/1.369, allocations: 5.132 MB / 0.6132 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009869/1.37, allocations: 378.7 kB / 0.6136 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007588/1.371, allocations: 24 kB / 0.6136 GB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002223/1.373, allocations: 140.2 kB / 0.6137 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003059/1.373, allocations: 85.11 kB / 0.6138 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/1.373, allocations: 39.7 kB / 0.6139 GB, free: 8.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004289/1.378, allocations: 2.271 MB / 0.6161 GB, free: 6.027 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.92e-07/1.378, allocations: 0 / 0.6161 GB, free: 6.027 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006835/1.385, allocations: 0.9816 MB / 0.617 GB, free: 5.051 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],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.0004958/1.385, allocations: 170.1 kB / 0.6172 GB, free: 4.895 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009916/1.395, allocations: 4.981 MB / 0.6221 GB, free: 412 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.308e-06/1.395, allocations: 4 kB / 0.6221 GB, free: 408 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008125/1.403, allocations: 2.109 MB / 0.6241 GB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/1.406, allocations: 342.1 kB / 0.6245 GB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/1.422, allocations: 7.175 MB / 0.6315 GB, free: 8.531 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005144/1.427, allocations: 3.119 MB / 0.6345 GB, free: 6.156 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005942/1.433, allocations: 1.779 MB / 0.6362 GB, free: 5.043 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007648/1.434, allocations: 208.9 kB / 0.6364 GB, free: 4.848 MB / 410.7 MB Notification: Performance of SimCode: time 1.75e-06/1.434, allocations: 0 / 0.6364 GB, free: 4.848 MB / 410.7 MB Notification: Performance of Templates: time 0.1025/1.537, allocations: 32.53 MB / 0.6682 GB, free: 6.527 MB / 442.7 MB