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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 1.945/1.945, allocations: 225.8 MB / 239.4 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.923e-05/2.934e-05, allocations: 4 kB / 292.7 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08941/0.08946, allocations: 50.42 MB / 343.1 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3936/0.4831, allocations: 94.63 MB / 437.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.4834, allocations: 83.27 kB / 437.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2993/0.7827, allocations: 81.34 MB / 0.507 GB, free: 2.219 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.188e-06/0.7827, allocations: 0 / 0.507 GB, free: 2.219 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001742/0.7829, allocations: 79.98 kB / 0.507 GB, free: 2.141 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.01408/0.797, allocations: 4.146 MB / 0.5111 GB, free: 13.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.7971, allocations: 8.031 kB / 0.5111 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01254/0.8096, allocations: 2.256 MB / 0.5133 GB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01389/0.8235, allocations: 4.254 MB / 0.5175 GB, free: 7.355 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003772/0.8239, allocations: 324.5 kB / 0.5178 GB, free: 7.035 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/0.8252, allocations: 423.9 kB / 0.5182 GB, free: 6.621 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3149/1.14, allocations: 10.47 MB / 0.5284 GB, free: 97.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001969/1.14, allocations: 59.47 kB / 0.5285 GB, free: 97.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000949/1.141, allocations: 213.2 kB / 0.5287 GB, free: 97.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001954/1.143, allocations: 1.029 MB / 0.5297 GB, free: 97.97 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02094/1.164, allocations: 8.091 MB / 0.5376 GB, free: 97.96 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05744/1.222, allocations: 49.11 MB / 0.5855 GB, free: 65.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01327/1.235, allocations: 3.925 MB / 0.5894 GB, free: 64.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002507/1.238, allocations: 1.389 MB / 0.5907 GB, free: 63.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01219/1.25, allocations: 7.667 MB / 0.5982 GB, free: 59.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/1.25, allocations: 46.5 kB / 0.5982 GB, free: 59.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 6.679e-06/1.25, allocations: 0 / 0.5982 GB, free: 59.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=159): time 0.03399/1.284, allocations: 10.07 MB / 0.6081 GB, free: 55.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001587/1.286, allocations: 1.587 MB / 0.6096 GB, free: 53.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009064/1.295, allocations: 3.35 MB / 0.6129 GB, free: 52.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003577/1.295, allocations: 52.55 kB / 0.6129 GB, free: 52.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002794/1.298, allocations: 3.12 MB / 0.616 GB, free: 50.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009131/1.299, allocations: 0.6472 MB / 0.6166 GB, free: 49.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005318/1.299, allocations: 120.8 kB / 0.6167 GB, free: 49.56 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005442/1.3, allocations: 0.5644 MB / 0.6173 GB, free: 49.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005856/1.306, allocations: 1.93 MB / 0.6192 GB, free: 48.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008757/1.315, allocations: 5.808 MB / 0.6249 GB, free: 42.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/1.326, allocations: 3.336 MB / 0.6281 GB, free: 41.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001721/1.326, allocations: 40.53 kB / 0.6281 GB, free: 41.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02599/1.352, allocations: 8.232 MB / 0.6362 GB, free: 38.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.604e-05/1.352, allocations: 64.97 kB / 0.6362 GB, free: 38.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006755/1.359, allocations: 2.756 MB / 0.6389 GB, free: 36.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005886/1.365, allocations: 1.534 MB / 0.6404 GB, free: 35.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005217/1.37, allocations: 1.375 MB / 0.6418 GB, free: 33.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006179/1.377, allocations: 5.501 MB / 0.6472 GB, free: 28.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006277/1.383, allocations: 437.3 kB / 0.6476 GB, free: 28.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008603/1.384, allocations: 390.7 kB / 0.6479 GB, free: 27.87 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (738): * Single equations (assignments): 728 * 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 {4 31} Notification: Performance of prepare postOptimizeDAE: time 0.0009504/1.385, allocations: 0.5827 MB / 0.6485 GB, free: 27.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005425/1.385, allocations: 331.6 kB / 0.6488 GB, free: 26.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007517/1.393, allocations: 3.101 MB / 0.6519 GB, free: 24.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00695/1.4, allocations: 2.645 MB / 0.6544 GB, free: 22.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/1.4, allocations: 7.469 kB / 0.6544 GB, free: 22.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.681e-05/1.4, allocations: 10.56 kB / 0.6545 GB, free: 22.47 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01821/1.418, allocations: 8.555 MB / 0.6628 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/1.418, allocations: 0 / 0.6628 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/1.419, allocations: 193.2 kB / 0.663 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005508/1.425, allocations: 1.434 MB / 0.6644 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002273/1.425, allocations: 33.86 kB / 0.6644 GB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006542/1.432, allocations: 5.708 MB / 0.67 GB, free: 9.172 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009047/1.433, allocations: 1.464 MB / 0.6714 GB, free: 7.617 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00992/1.443, allocations: 5.305 MB / 0.6766 GB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000888/1.444, allocations: 376.7 kB / 0.677 GB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004728/1.444, allocations: 35.94 kB / 0.677 GB, free: 1.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/1.446, allocations: 152.5 kB / 0.6771 GB, free: 1.691 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002573/1.446, allocations: 88.84 kB / 0.6772 GB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/1.446, allocations: 48.92 kB / 0.6773 GB, free: 1.559 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004052/1.45, allocations: 2.283 MB / 0.6795 GB, free: 15.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.31e-07/1.45, allocations: 0 / 0.6795 GB, free: 15.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006093/1.457, allocations: 1.01 MB / 0.6805 GB, free: 14.29 MB / 458.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 (91): * Single equations (assignments): 83 * 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 {7 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005299/1.457, allocations: 185.9 kB / 0.6807 GB, free: 14.11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01245/1.47, allocations: 5.083 MB / 0.6856 GB, free: 8.992 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.807e-06/1.47, allocations: 0 / 0.6856 GB, free: 8.992 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005054/1.475, allocations: 1.973 MB / 0.6876 GB, free: 6.957 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/1.477, allocations: 355.2 kB / 0.6879 GB, free: 6.613 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2689/1.746, allocations: 7.391 MB / 0.6951 GB, free: 107 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006317/1.752, allocations: 3.193 MB / 0.6982 GB, free: 106.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006413/1.759, allocations: 1.805 MB / 0.7 GB, free: 106.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008794/1.76, allocations: 218.8 kB / 0.7002 GB, free: 106.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.774e-06/1.76, allocations: 0 / 0.7002 GB, free: 106.2 MB / 458.7 MB Notification: Performance of Templates: time 0.1178/1.878, allocations: 33.31 MB / 0.7327 GB, free: 104.9 MB / 458.7 MB