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_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadModel(ModelicaTest): time 1.963/1.963, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.231e-05/3.25e-05, allocations: 7.984 kB / 273.1 MB, free: 3.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09544/0.0955, allocations: 48.69 MB / 321.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3952/0.4907, allocations: 88.79 MB / 410.6 MB, free: 4.512 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001908/0.4909, allocations: 73 kB / 410.6 MB, free: 4.504 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4143/0.9053, allocations: 96.01 MB / 0.4948 GB, free: 13.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.819e-06/0.9053, allocations: 0 / 0.4948 GB, free: 13.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002907/0.9056, allocations: 99.92 kB / 0.4949 GB, free: 13.29 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.03028/0.9359, allocations: 5.816 MB / 0.5006 GB, free: 7.406 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.936, allocations: 8.031 kB / 0.5006 GB, free: 7.398 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01854/0.9546, allocations: 2.88 MB / 0.5034 GB, free: 4.508 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02228/0.9769, allocations: 7.165 MB / 0.5104 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005611/0.9775, allocations: 361.2 kB / 0.5107 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002218/0.9797, allocations: 479.8 kB / 0.5112 GB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2757/1.255, allocations: 12.02 MB / 0.5229 GB, free: 83.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003353/1.256, allocations: 75.14 kB / 0.523 GB, free: 83.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001688/1.257, allocations: 237.1 kB / 0.5232 GB, free: 83.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003016/1.261, allocations: 1.199 MB / 0.5244 GB, free: 83.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02678/1.287, allocations: 9.935 MB / 0.5341 GB, free: 83.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07268/1.36, allocations: 57.04 MB / 0.5898 GB, free: 48.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01748/1.378, allocations: 5.002 MB / 0.5947 GB, free: 46.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004364/1.382, allocations: 2.364 MB / 0.597 GB, free: 45.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02192/1.404, allocations: 11.12 MB / 0.6078 GB, free: 39.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/1.404, allocations: 58.91 kB / 0.6079 GB, free: 39.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=198): time 6.177e-06/1.404, allocations: 0 / 0.6079 GB, free: 39.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.06861/1.473, allocations: 20.57 MB / 0.628 GB, free: 33.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002939/1.476, allocations: 4.6 MB / 0.6325 GB, free: 28.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007972/1.484, allocations: 3.975 MB / 0.6364 GB, free: 27.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005951/1.484, allocations: 63.62 kB / 0.6364 GB, free: 26.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002578/1.487, allocations: 3.487 MB / 0.6398 GB, free: 23.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001297/1.488, allocations: 0.9478 MB / 0.6408 GB, free: 23.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007902/1.489, allocations: 145.9 kB / 0.6409 GB, free: 22.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004826/1.49, allocations: 0.6166 MB / 0.6415 GB, free: 22.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006885/1.496, allocations: 3.039 MB / 0.6445 GB, free: 19.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008326/1.505, allocations: 7.217 MB / 0.6515 GB, free: 10.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008595/1.513, allocations: 4.62 MB / 0.656 GB, free: 7.047 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001259/1.514, allocations: 44 kB / 0.6561 GB, free: 7.004 MB / 426.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03436/1.548, allocations: 12.15 MB / 0.6679 GB, free: 12.97 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001403/1.548, allocations: 70.5 kB / 0.668 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01759/1.566, allocations: 6.132 MB / 0.674 GB, free: 8.188 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01272/1.579, allocations: 3.093 MB / 0.677 GB, free: 5.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008265/1.587, allocations: 1.747 MB / 0.6787 GB, free: 3.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2754/1.862, allocations: 14.77 MB / 0.6931 GB, free: 86.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009474/1.872, allocations: 0.7609 MB / 0.6939 GB, free: 86.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001878/1.874, allocations: 450.2 kB / 0.6943 GB, free: 86.53 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.001993/1.876, allocations: 0.6514 MB / 0.6949 GB, free: 86.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/1.877, allocations: 420.4 kB / 0.6953 GB, free: 86.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02015/1.897, allocations: 6.95 MB / 0.7021 GB, free: 86.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01786/1.915, allocations: 6.3 MB / 0.7083 GB, free: 85.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.276e-05/1.915, allocations: 13.38 kB / 0.7083 GB, free: 85.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.599e-05/1.915, allocations: 11.11 kB / 0.7083 GB, free: 85.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03749/1.953, allocations: 14.91 MB / 0.7229 GB, free: 85.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.301e-05/1.953, allocations: 2.969 kB / 0.7229 GB, free: 85.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002721/1.955, allocations: 417.2 kB / 0.7233 GB, free: 85.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01295/1.968, allocations: 3.342 MB / 0.7265 GB, free: 85.03 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007854/1.969, allocations: 78.17 kB / 0.7266 GB, free: 85.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02329/1.992, allocations: 16.53 MB / 0.7428 GB, free: 75.37 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002841/1.995, allocations: 4.415 MB / 0.7471 GB, free: 71.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02433/2.02, allocations: 10.83 MB / 0.7576 GB, free: 67.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/2.021, allocations: 487 kB / 0.7581 GB, free: 66.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001205/2.022, allocations: 67.84 kB / 0.7582 GB, free: 66.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004154/2.027, allocations: 331.8 kB / 0.7585 GB, free: 66.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009157/2.028, allocations: 190.8 kB / 0.7587 GB, free: 66.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003315/2.028, allocations: 76.38 kB / 0.7587 GB, free: 66.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005864/2.034, allocations: 2.749 MB / 0.7614 GB, free: 65.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.049e-06/2.034, allocations: 0 / 0.7614 GB, free: 65.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008792/2.043, allocations: 1.471 MB / 0.7629 GB, free: 65.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.0008518/2.044, allocations: 229.7 kB / 0.7631 GB, free: 65.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01851/2.062, allocations: 8.404 MB / 0.7713 GB, free: 62.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.587e-06/2.062, allocations: 0 / 0.7713 GB, free: 62.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01019/2.072, allocations: 4.478 MB / 0.7757 GB, free: 59.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003413/2.076, allocations: 0.4898 MB / 0.7761 GB, free: 59.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0231/2.099, allocations: 11.23 MB / 0.7871 GB, free: 49.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007052/2.106, allocations: 3.739 MB / 0.7908 GB, free: 47.04 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008372/2.114, allocations: 2.209 MB / 0.7929 GB, free: 45.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001645/2.116, allocations: 297.2 kB / 0.7932 GB, free: 45.37 MB / 442.7 MB Notification: Performance of SimCode: time 1.775e-06/2.116, allocations: 0 / 0.7932 GB, free: 45.37 MB / 442.7 MB Notification: Performance of Templates: time 0.1378/2.254, allocations: 52.88 MB / 0.8448 GB, free: 9.422 MB / 458.7 MB