Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|body1.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|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.|body2.Q.1.|body2.Q.2.|body2.Q.3.|body2.Q.4.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadModel(ModelicaTest): time 1.879/1.879, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.352e-05/3.37e-05, allocations: 8 kB / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1252, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3823/0.5076, allocations: 88.78 MB / 410.5 MB, free: 4.184 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.5079, allocations: 71.19 kB / 410.6 MB, free: 4.176 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3733/0.8812, allocations: 96.02 MB / 0.4947 GB, free: 13.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.361e-06/0.8812, allocations: 0 / 0.4947 GB, free: 13.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002809/0.8815, allocations: 95.98 kB / 0.4948 GB, free: 13.76 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1679 * Number of variables: 1679 Notification: Performance of Generate backend data structure: time 0.0308/0.9123, allocations: 5.815 MB / 0.5005 GB, free: 7.875 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.9124, allocations: 8.031 kB / 0.5005 GB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01868/0.9311, allocations: 2.883 MB / 0.5033 GB, free: 4.973 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02303/0.9542, allocations: 7.165 MB / 0.5103 GB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000574/0.9548, allocations: 357.3 kB / 0.5107 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002314/0.9571, allocations: 479.7 kB / 0.5111 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2811/1.238, allocations: 12.02 MB / 0.5229 GB, free: 84.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003653/1.239, allocations: 73.66 kB / 0.5229 GB, free: 84.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002046/1.241, allocations: 234.6 kB / 0.5232 GB, free: 84.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002823/1.244, allocations: 1.193 MB / 0.5243 GB, free: 84.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02739/1.271, allocations: 9.938 MB / 0.534 GB, free: 84.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07321/1.344, allocations: 57.05 MB / 0.5898 GB, free: 49.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01745/1.362, allocations: 4.995 MB / 0.5946 GB, free: 48.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004322/1.366, allocations: 2.362 MB / 0.5969 GB, free: 47.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02261/1.389, allocations: 11.13 MB / 0.6078 GB, free: 41.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/1.389, allocations: 57.16 kB / 0.6079 GB, free: 41.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=198): time 5.894e-06/1.389, allocations: 0 / 0.6079 GB, free: 41.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.06933/1.458, allocations: 20.57 MB / 0.628 GB, free: 34.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002845/1.461, allocations: 4.611 MB / 0.6325 GB, free: 30.06 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008052/1.469, allocations: 3.972 MB / 0.6363 GB, free: 26.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005977/1.47, allocations: 59.58 kB / 0.6364 GB, free: 26.63 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002359/1.472, allocations: 3.386 MB / 0.6397 GB, free: 23.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001281/1.474, allocations: 0.955 MB / 0.6406 GB, free: 22.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006882/1.474, allocations: 141.5 kB / 0.6408 GB, free: 22.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004275/1.475, allocations: 0.6207 MB / 0.6414 GB, free: 22.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005821/1.481, allocations: 3.037 MB / 0.6443 GB, free: 19.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008149/1.489, allocations: 7.22 MB / 0.6514 GB, free: 10.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008322/1.497, allocations: 4.633 MB / 0.6559 GB, free: 6.668 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/1.497, allocations: 40 kB / 0.656 GB, free: 6.629 MB / 426.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03222/1.529, allocations: 12.06 MB / 0.6677 GB, free: 12.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001426/1.53, allocations: 70.5 kB / 0.6678 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01763/1.547, allocations: 6.126 MB / 0.6738 GB, free: 8.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01284/1.56, allocations: 3.103 MB / 0.6768 GB, free: 5.664 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008456/1.569, allocations: 1.747 MB / 0.6785 GB, free: 3.914 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2793/1.848, allocations: 14.76 MB / 0.6929 GB, free: 85.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009489/1.858, allocations: 0.7578 MB / 0.6937 GB, free: 85.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001816/1.859, allocations: 450 kB / 0.6941 GB, free: 85.61 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 42 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (891): * Single equations (assignments): 871 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002083/1.862, allocations: 0.649 MB / 0.6947 GB, free: 85.51 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/1.863, allocations: 411.9 kB / 0.6951 GB, free: 85.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01991/1.883, allocations: 6.958 MB / 0.7019 GB, free: 85.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01823/1.901, allocations: 6.304 MB / 0.7081 GB, free: 85.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.116e-05/1.901, allocations: 11.31 kB / 0.7081 GB, free: 85.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.919e-05/1.901, allocations: 13.12 kB / 0.7081 GB, free: 85.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03872/1.94, allocations: 14.91 MB / 0.7227 GB, free: 84.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.728e-05/1.94, allocations: 7.141 kB / 0.7227 GB, free: 84.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002711/1.943, allocations: 419.3 kB / 0.7231 GB, free: 84.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0138/1.956, allocations: 3.343 MB / 0.7263 GB, free: 84.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006913/1.957, allocations: 79.8 kB / 0.7264 GB, free: 84.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02401/1.981, allocations: 16.53 MB / 0.7426 GB, free: 74.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002931/1.984, allocations: 4.412 MB / 0.7469 GB, free: 70.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02384/2.008, allocations: 10.83 MB / 0.7574 GB, free: 66.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/2.01, allocations: 484.2 kB / 0.7579 GB, free: 65.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001435/2.011, allocations: 65.47 kB / 0.758 GB, free: 65.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004444/2.015, allocations: 334.8 kB / 0.7583 GB, free: 65.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009933/2.017, allocations: 187.6 kB / 0.7585 GB, free: 65.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004303/2.017, allocations: 78.28 kB / 0.7585 GB, free: 65.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006391/2.023, allocations: 2.749 MB / 0.7612 GB, free: 64.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.38e-06/2.023, allocations: 0 / 0.7612 GB, free: 64.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009134/2.033, allocations: 1.476 MB / 0.7627 GB, free: 64.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],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],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 8,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009545/2.034, allocations: 216.8 kB / 0.7629 GB, free: 64.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01921/2.053, allocations: 8.464 MB / 0.7711 GB, free: 61.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.737e-06/2.053, allocations: 0 / 0.7711 GB, free: 61.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01051/2.063, allocations: 4.487 MB / 0.7755 GB, free: 58.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/2.067, allocations: 0.4886 MB / 0.776 GB, free: 58.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02538/2.093, allocations: 11.76 MB / 0.7875 GB, free: 48.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006914/2.099, allocations: 3.731 MB / 0.7911 GB, free: 45.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001708/2.101, allocations: 360.1 kB / 0.7915 GB, free: 45.18 MB / 442.7 MB Notification: Performance of SimCode: time 3.57e-06/2.101, allocations: 0 / 0.7915 GB, free: 45.18 MB / 442.7 MB Notification: Performance of Templates: time 1.073/3.174, allocations: 276 MB / 1.061 GB, free: 128.8 MB / 490.7 MB