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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 1.99/1.99, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.914e-05/1.931e-05, allocations: 4 kB / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.25, allocations: 44.49 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1335/0.3836, allocations: 85.36 MB / 379.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.384, allocations: 83.95 kB / 379.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.504/0.8879, allocations: 75.85 MB / 455.4 MB, free: 89.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.827e-06/0.888, allocations: 0 / 455.4 MB, free: 89.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002774/0.8883, allocations: 77.5 kB / 455.5 MB, free: 89.16 MB / 362.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.02591/0.9142, allocations: 4.049 MB / 459.5 MB, free: 86.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.9143, allocations: 7.5 kB / 459.5 MB, free: 86.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02266/0.937, allocations: 2.237 MB / 461.8 MB, free: 85.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02062/0.9577, allocations: 4.341 MB / 466.1 MB, free: 82.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004019/0.9582, allocations: 132 kB / 466.2 MB, free: 82.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002282/0.9605, allocations: 240 kB / 466.5 MB, free: 82.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0177/0.9782, allocations: 5.707 MB / 472.2 MB, free: 76.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02943/1.008, allocations: 9.014 MB / 481.2 MB, free: 66.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004138/1.008, allocations: 63.39 kB / 481.3 MB, free: 66.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002251/1.01, allocations: 32 kB / 481.3 MB, free: 66.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002052/1.013, allocations: 0.9785 MB / 482.3 MB, free: 65.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0565/1.069, allocations: 47.61 MB / 0.5175 GB, free: 16.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00571/1.075, allocations: 2.251 MB / 0.5197 GB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003412/1.078, allocations: 1.177 MB / 0.5208 GB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/1.079, allocations: 24.38 kB / 0.5208 GB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/1.079, allocations: 47.28 kB / 0.5209 GB, free: 12.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=137): time 1.123e-05/1.079, allocations: 0 / 0.5209 GB, free: 12.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=144): time 0.04336/1.122, allocations: 8.884 MB / 0.5296 GB, free: 3.488 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/1.122, allocations: 145.2 kB / 0.5297 GB, free: 3.316 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009358/1.132, allocations: 2.937 MB / 0.5326 GB, free: 388 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004174/1.132, allocations: 25.7 kB / 0.5326 GB, free: 356 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004918/1.137, allocations: 3.106 MB / 0.5356 GB, free: 13.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001541/1.139, allocations: 0.5787 MB / 0.5362 GB, free: 12.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008477/1.139, allocations: 0 / 0.5362 GB, free: 12.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.001159/1.141, allocations: 0.5828 MB / 0.5368 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007588/1.148, allocations: 1.84 MB / 0.5385 GB, free: 10.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01296/1.161, allocations: 5.827 MB / 0.5442 GB, free: 2.309 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/1.173, allocations: 3.246 MB / 0.5474 GB, free: 15.06 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002141/1.173, allocations: 44 kB / 0.5475 GB, free: 15.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.03238/1.206, allocations: 7.822 MB / 0.5551 GB, free: 7.184 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001359/1.206, allocations: 64 kB / 0.5552 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008619/1.214, allocations: 2.667 MB / 0.5578 GB, free: 4.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00691/1.221, allocations: 1.506 MB / 0.5592 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005687/1.227, allocations: 1.4 MB / 0.5606 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2399/1.467, allocations: 5.409 MB / 0.5659 GB, free: 99.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00655/1.474, allocations: 318 kB / 0.5662 GB, free: 99.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001417/1.475, allocations: 396.4 kB / 0.5666 GB, free: 99.2 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring3.lineForce.r_rel_0[1]:VARIABLE(unit = "m" ) "Position vector from frame_a to frame_b resolved in world frame" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 658 * 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 (747): * Single equations (assignments): 737 * 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.001732/1.477, allocations: 476.9 kB / 0.567 GB, free: 99.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007423/1.478, allocations: 300 kB / 0.5673 GB, free: 99.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008669/1.486, allocations: 2.884 MB / 0.5701 GB, free: 98.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007451/1.494, allocations: 2.482 MB / 0.5725 GB, free: 98.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.887e-05/1.494, allocations: 2.5 kB / 0.5725 GB, free: 98.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-05/1.494, allocations: 7.641 kB / 0.5725 GB, free: 98.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/1.507, allocations: 5.227 MB / 0.5777 GB, free: 98.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-05/1.507, allocations: 0 / 0.5777 GB, free: 98.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/1.508, allocations: 174 kB / 0.5778 GB, free: 98.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006401/1.515, allocations: 1.413 MB / 0.5792 GB, free: 98.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003665/1.515, allocations: 18.55 kB / 0.5792 GB, free: 98.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007354/1.522, allocations: 5.64 MB / 0.5847 GB, free: 95.22 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008995/1.523, allocations: 1.406 MB / 0.5861 GB, free: 93.86 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/1.535, allocations: 5.106 MB / 0.5911 GB, free: 92.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008883/1.536, allocations: 355.9 kB / 0.5914 GB, free: 91.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005577/1.536, allocations: 11.88 kB / 0.5914 GB, free: 91.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/1.538, allocations: 115.3 kB / 0.5915 GB, free: 91.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003228/1.538, allocations: 86.52 kB / 0.5916 GB, free: 91.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001667/1.539, allocations: 46.72 kB / 0.5917 GB, free: 91.94 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003816/1.542, allocations: 1.91 MB / 0.5935 GB, free: 91.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.111e-06/1.542, allocations: 6 kB / 0.5935 GB, free: 91.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006829/1.549, allocations: 0.8696 MB / 0.5944 GB, free: 91.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 (79): * Single equations (assignments): 71 * 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 {8 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005371/1.55, allocations: 153.3 kB / 0.5945 GB, free: 91.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01008/1.56, allocations: 4.977 MB / 0.5994 GB, free: 89.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.134e-06/1.56, allocations: 1.312 kB / 0.5994 GB, free: 89.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00476/1.565, allocations: 1.941 MB / 0.6013 GB, free: 88.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/1.567, allocations: 287.2 kB / 0.6016 GB, free: 88.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/1.584, allocations: 7.603 MB / 0.609 GB, free: 85.78 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005859/1.59, allocations: 3.12 MB / 0.612 GB, free: 84.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008728/1.591, allocations: 251.6 kB / 0.6123 GB, free: 83.99 MB / 394.7 MB Notification: Performance of SimCode: time 2.838e-06/1.591, allocations: 0 / 0.6123 GB, free: 83.99 MB / 394.7 MB Notification: Performance of Templates: time 0.4061/1.997, allocations: 129.8 MB / 0.7391 GB, free: 114.6 MB / 410.7 MB