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_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 1.636/1.636, allocations: 171.2 MB / 183.3 MB, free: 12.06 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.996e-05, allocations: 4 kB / 225 MB, free: 2.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2913, allocations: 38.77 MB / 263.8 MB, free: 9.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.4151, allocations: 80.41 MB / 344.2 MB, free: 9.297 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.4153, allocations: 79.95 kB / 344.3 MB, free: 9.219 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.459/0.8744, allocations: 77.56 MB / 421.8 MB, free: 51.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.13e-06/0.8744, allocations: 4 kB / 421.8 MB, free: 51.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001792/0.8746, allocations: 79.94 kB / 421.9 MB, free: 51.43 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.01487/0.8895, allocations: 4.044 MB / 426 MB, free: 47.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.8896, allocations: 8.031 kB / 426 MB, free: 47.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01202/0.9016, allocations: 2.222 MB / 428.2 MB, free: 45.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01355/0.9152, allocations: 4.335 MB / 432.5 MB, free: 40.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003418/0.9156, allocations: 316.2 kB / 432.8 MB, free: 40.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001616/0.9172, allocations: 403.9 kB / 433.2 MB, free: 39.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03124/0.9485, allocations: 10.12 MB / 443.3 MB, free: 28.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003053/0.9488, allocations: 59.44 kB / 443.4 MB, free: 28.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001849/0.9507, allocations: 207.9 kB / 443.6 MB, free: 28.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002921/0.9537, allocations: 0.9742 MB / 444.6 MB, free: 27.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0328/0.9865, allocations: 7.779 MB / 452.4 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07211/1.059, allocations: 48.24 MB / 0.4889 GB, free: 1.918 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2147/1.273, allocations: 3.525 MB / 0.4923 GB, free: 81.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002451/1.276, allocations: 1.312 MB / 0.4936 GB, free: 81.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01188/1.288, allocations: 6.511 MB / 0.4999 GB, free: 79.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/1.288, allocations: 56.17 kB / 0.5 GB, free: 79.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 5.506e-06/1.288, allocations: 0 / 0.5 GB, free: 79.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=138): time 0.02957/1.318, allocations: 9.567 MB / 0.5093 GB, free: 76.96 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001122/1.319, allocations: 1.587 MB / 0.5109 GB, free: 75.42 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006593/1.325, allocations: 3.334 MB / 0.5141 GB, free: 75.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002734/1.326, allocations: 47.23 kB / 0.5142 GB, free: 75.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002044/1.328, allocations: 3.07 MB / 0.5172 GB, free: 73.19 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006799/1.328, allocations: 0.5716 MB / 0.5177 GB, free: 72.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004701/1.329, allocations: 121.5 kB / 0.5179 GB, free: 72.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003689/1.329, allocations: 0.5653 MB / 0.5184 GB, free: 72.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003725/1.333, allocations: 1.882 MB / 0.5203 GB, free: 72.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005736/1.339, allocations: 5.737 MB / 0.5259 GB, free: 66.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005871/1.345, allocations: 3.268 MB / 0.529 GB, free: 65.81 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001106/1.345, allocations: 39.06 kB / 0.5291 GB, free: 65.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02009/1.365, allocations: 8.082 MB / 0.537 GB, free: 63.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/1.365, allocations: 67.75 kB / 0.537 GB, free: 63.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007629/1.373, allocations: 2.645 MB / 0.5396 GB, free: 62.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006668/1.379, allocations: 1.537 MB / 0.5411 GB, free: 62.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005438/1.385, allocations: 1.365 MB / 0.5425 GB, free: 61.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005405/1.39, allocations: 5.157 MB / 0.5475 GB, free: 56.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006279/1.397, allocations: 444.4 kB / 0.5479 GB, free: 55.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/1.398, allocations: 379.3 kB / 0.5483 GB, free: 55.48 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.001075/1.399, allocations: 0.5744 MB / 0.5488 GB, free: 54.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006512/1.4, allocations: 315.9 kB / 0.5491 GB, free: 54.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007637/1.407, allocations: 2.985 MB / 0.5521 GB, free: 52.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006823/1.414, allocations: 2.554 MB / 0.5545 GB, free: 50.26 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/1.414, allocations: 3.562 kB / 0.5546 GB, free: 50.26 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.031e-05/1.414, allocations: 10.95 kB / 0.5546 GB, free: 50.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00753/1.422, allocations: 3.547 MB / 0.558 GB, free: 47.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-05/1.422, allocations: 0 / 0.558 GB, free: 47.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/1.423, allocations: 160.5 kB / 0.5582 GB, free: 47.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00572/1.429, allocations: 1.437 MB / 0.5596 GB, free: 46.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003274/1.429, allocations: 38.94 kB / 0.5596 GB, free: 46.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006932/1.436, allocations: 5.743 MB / 0.5652 GB, free: 40.92 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009028/1.437, allocations: 1.451 MB / 0.5666 GB, free: 39.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/1.448, allocations: 5.136 MB / 0.5717 GB, free: 34.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/1.449, allocations: 367.7 kB / 0.572 GB, free: 34.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006236/1.449, allocations: 34.39 kB / 0.572 GB, free: 34.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002131/1.451, allocations: 138.4 kB / 0.5722 GB, free: 34.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003706/1.452, allocations: 76.89 kB / 0.5722 GB, free: 34.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/1.452, allocations: 44.14 kB / 0.5723 GB, free: 34.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004836/1.457, allocations: 2.268 MB / 0.5745 GB, free: 32.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.216e-06/1.457, allocations: 4 kB / 0.5745 GB, free: 32.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006437/1.463, allocations: 0.9725 MB / 0.5755 GB, free: 31.46 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.000516/1.464, allocations: 169.8 kB / 0.5756 GB, free: 31.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0102/1.474, allocations: 4.858 MB / 0.5804 GB, free: 26.95 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.518e-06/1.474, allocations: 0 / 0.5804 GB, free: 26.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004404/1.479, allocations: 1.92 MB / 0.5822 GB, free: 25.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/1.481, allocations: 354.6 kB / 0.5826 GB, free: 24.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/1.496, allocations: 7.175 MB / 0.5896 GB, free: 18.6 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005071/1.501, allocations: 3.117 MB / 0.5926 GB, free: 15.62 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.006019/1.508, allocations: 1.775 MB / 0.5944 GB, free: 13.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008036/1.508, allocations: 215.4 kB / 0.5946 GB, free: 13.64 MB / 346.7 MB Notification: Performance of SimCode: time 1.789e-06/1.508, allocations: 0 / 0.5946 GB, free: 13.64 MB / 346.7 MB Notification: Performance of Templates: time 0.3333/1.842, allocations: 31.9 MB / 0.6257 GB, free: 89.62 MB / 362.7 MB