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.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 1.988/1.988, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.057e-05/3.073e-05, allocations: 4 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08548/0.08553, allocations: 47.57 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3928/0.4784, allocations: 92.84 MB / 409.8 MB, free: 11.49 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.4786, allocations: 89.69 kB / 409.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3148/0.7934, allocations: 80.25 MB / 490.1 MB, free: 1.918 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.286e-06/0.7935, allocations: 0 / 490.1 MB, free: 1.918 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002237/0.7937, allocations: 83.94 kB / 490.2 MB, free: 1.836 MB / 394.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.01707/0.8108, allocations: 4.153 MB / 494.3 MB, free: 13.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.8109, allocations: 12.03 kB / 494.4 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01361/0.8245, allocations: 2.252 MB / 496.6 MB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01483/0.8394, allocations: 4.405 MB / 0.4893 GB, free: 6.891 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004702/0.8399, allocations: 324.5 kB / 0.4896 GB, free: 6.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001812/0.8417, allocations: 427.9 kB / 0.49 GB, free: 6.152 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02779/0.8695, allocations: 10.46 MB / 0.5002 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002204/0.8698, allocations: 59.5 kB / 0.5003 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001512/0.8713, allocations: 211.9 kB / 0.5005 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002148/0.8735, allocations: 1.033 MB / 0.5015 GB, free: 9.289 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02234/0.8959, allocations: 8.088 MB / 0.5094 GB, free: 1.184 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2928/1.189, allocations: 49.12 MB / 0.5573 GB, free: 66.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/1.202, allocations: 3.926 MB / 0.5612 GB, free: 65.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002557/1.204, allocations: 1.386 MB / 0.5625 GB, free: 65.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01334/1.218, allocations: 7.673 MB / 0.57 GB, free: 62.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/1.218, allocations: 49.75 kB / 0.5701 GB, free: 62.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=152): time 6.3e-06/1.218, allocations: 0 / 0.5701 GB, free: 62.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=159): time 0.03173/1.249, allocations: 10.11 MB / 0.5799 GB, free: 58.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001159/1.251, allocations: 1.584 MB / 0.5815 GB, free: 57.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007694/1.258, allocations: 3.359 MB / 0.5848 GB, free: 56.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004699/1.259, allocations: 50.75 kB / 0.5848 GB, free: 56.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00353/1.262, allocations: 3.119 MB / 0.5879 GB, free: 53.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001183/1.264, allocations: 0.6481 MB / 0.5885 GB, free: 53.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008478/1.265, allocations: 123.5 kB / 0.5886 GB, free: 53.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006217/1.265, allocations: 0.5739 MB / 0.5892 GB, free: 52.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006502/1.272, allocations: 1.933 MB / 0.5911 GB, free: 52.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006049/1.278, allocations: 5.806 MB / 0.5967 GB, free: 46.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006378/1.284, allocations: 3.336 MB / 0.6 GB, free: 45.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001194/1.284, allocations: 40.94 kB / 0.6 GB, free: 45.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02122/1.306, allocations: 8.23 MB / 0.6081 GB, free: 42.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/1.306, allocations: 69.28 kB / 0.6081 GB, free: 42.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007297/1.313, allocations: 2.753 MB / 0.6108 GB, free: 41.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006726/1.32, allocations: 1.537 MB / 0.6123 GB, free: 41.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005759/1.326, allocations: 1.374 MB / 0.6137 GB, free: 41.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006528/1.332, allocations: 5.513 MB / 0.619 GB, free: 37.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006375/1.339, allocations: 434.8 kB / 0.6195 GB, free: 37.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001097/1.34, allocations: 389 kB / 0.6198 GB, free: 36.64 MB / 426.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.001038/1.341, allocations: 0.5921 MB / 0.6204 GB, free: 36.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006856/1.342, allocations: 331.7 kB / 0.6207 GB, free: 35.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007856/1.349, allocations: 3.09 MB / 0.6237 GB, free: 33.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006896/1.356, allocations: 2.646 MB / 0.6263 GB, free: 31.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.897e-05/1.356, allocations: 8 kB / 0.6263 GB, free: 31.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-05/1.357, allocations: 11.02 kB / 0.6263 GB, free: 31.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02039/1.377, allocations: 8.562 MB / 0.6347 GB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/1.377, allocations: 0 / 0.6347 GB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/1.378, allocations: 189.8 kB / 0.6349 GB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005627/1.384, allocations: 1.437 MB / 0.6363 GB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003096/1.384, allocations: 33.19 kB / 0.6363 GB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006721/1.391, allocations: 5.692 MB / 0.6419 GB, free: 17.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000898/1.392, allocations: 1.45 MB / 0.6433 GB, free: 16.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/1.403, allocations: 5.322 MB / 0.6485 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/1.404, allocations: 387.4 kB / 0.6489 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007814/1.404, allocations: 28 kB / 0.6489 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/1.407, allocations: 135.8 kB / 0.649 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003009/1.407, allocations: 95.55 kB / 0.6491 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/1.407, allocations: 47.17 kB / 0.6492 GB, free: 11.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004596/1.412, allocations: 2.294 MB / 0.6514 GB, free: 9.258 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.271e-06/1.412, allocations: 0 / 0.6514 GB, free: 9.258 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006396/1.418, allocations: 1.023 MB / 0.6524 GB, free: 8.246 MB / 426.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.0004822/1.419, allocations: 175.6 kB / 0.6526 GB, free: 8.078 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01018/1.429, allocations: 5.083 MB / 0.6575 GB, free: 3.281 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/1.429, allocations: 192 / 0.6575 GB, free: 3.281 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004362/1.433, allocations: 1.977 MB / 0.6595 GB, free: 1.242 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/1.435, allocations: 352.7 kB / 0.6598 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01804/1.454, allocations: 7.401 MB / 0.667 GB, free: 9.488 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006359/1.46, allocations: 3.191 MB / 0.6701 GB, free: 6.281 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006745/1.467, allocations: 1.815 MB / 0.6719 GB, free: 4.461 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008865/1.468, allocations: 215.4 kB / 0.6721 GB, free: 4.25 MB / 442.7 MB Notification: Performance of SimCode: time 2.238e-06/1.468, allocations: 0 / 0.6721 GB, free: 4.25 MB / 442.7 MB Notification: Performance of Templates: time 0.3331/1.801, allocations: 33.32 MB / 0.7047 GB, free: 106 MB / 442.7 MB