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.3_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadModel(ModelicaTest): time 2.394/2.394, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.609e-05/3.617e-05, allocations: 7.984 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3833, allocations: 58.83 MB / 382.2 MB, free: 10.31 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.5446, allocations: 102.9 MB / 485.1 MB, free: 5.562 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/0.545, allocations: 79.95 kB / 485.2 MB, free: 5.484 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6525/1.197, allocations: 98.64 MB / 0.5702 GB, free: 104.6 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.537e-06/1.197, allocations: 3.938 kB / 0.5702 GB, free: 104.6 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002177/1.198, allocations: 98.73 kB / 0.5703 GB, free: 104.5 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02926/1.227, allocations: 5.915 MB / 0.576 GB, free: 98.5 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/1.227, allocations: 12.03 kB / 0.576 GB, free: 98.49 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01752/1.245, allocations: 2.946 MB / 0.5789 GB, free: 95.54 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01987/1.264, allocations: 7.252 MB / 0.586 GB, free: 88.32 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004482/1.265, allocations: 364.9 kB / 0.5864 GB, free: 87.99 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002241/1.267, allocations: 499.6 kB / 0.5868 GB, free: 87.54 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02796/1.295, allocations: 12.4 MB / 0.5989 GB, free: 74 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002368/1.296, allocations: 67.34 kB / 0.599 GB, free: 73.94 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001259/1.297, allocations: 238.2 kB / 0.5992 GB, free: 73.73 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002359/1.299, allocations: 1.245 MB / 0.6005 GB, free: 72.48 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02481/1.324, allocations: 10.26 MB / 0.6105 GB, free: 62.21 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07081/1.395, allocations: 58.04 MB / 0.6671 GB, free: 2.598 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01876/1.414, allocations: 5.299 MB / 0.6723 GB, free: 13.13 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005344/1.419, allocations: 2.443 MB / 0.6747 GB, free: 10.67 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02771/1.447, allocations: 12.34 MB / 0.6868 GB, free: 13.78 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.664e-05/1.447, allocations: 63.75 kB / 0.6868 GB, free: 13.71 MB / 490.8 MB Notification: Performance of pre-optimization done (n=219): time 6.598e-06/1.447, allocations: 0 / 0.6868 GB, free: 13.71 MB / 490.8 MB Notification: Performance of matching and sorting (n=258): time 0.07862/1.526, allocations: 21.28 MB / 0.7076 GB, free: 8.258 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00489/1.531, allocations: 4.607 MB / 0.7121 GB, free: 3.184 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3286/1.859, allocations: 4.003 MB / 0.716 GB, free: 138.2 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0008007/1.86, allocations: 64.16 kB / 0.7161 GB, free: 138.2 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004793/1.865, allocations: 3.529 MB / 0.7195 GB, free: 137 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002194/1.867, allocations: 1.024 MB / 0.7205 GB, free: 136.4 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/1.868, allocations: 152 kB / 0.7207 GB, free: 136.4 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0007897/1.869, allocations: 0.6248 MB / 0.7213 GB, free: 136.1 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0117/1.881, allocations: 3.082 MB / 0.7243 GB, free: 136.1 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01021/1.891, allocations: 7.298 MB / 0.7314 GB, free: 130.7 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008563/1.9, allocations: 4.681 MB / 0.736 GB, free: 130.6 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000139/1.9, allocations: 48.73 kB / 0.736 GB, free: 130.6 MB / 0.4949 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.03262/1.933, allocations: 12.55 MB / 0.7483 GB, free: 127.6 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001245/1.933, allocations: 74.89 kB / 0.7483 GB, free: 127.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0173/1.95, allocations: 6.454 MB / 0.7546 GB, free: 126 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01357/1.964, allocations: 3.349 MB / 0.7579 GB, free: 125.4 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007743/1.971, allocations: 1.728 MB / 0.7596 GB, free: 125.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02082/1.992, allocations: 15.82 MB / 0.7751 GB, free: 115 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009733/2.002, allocations: 0.7727 MB / 0.7758 GB, free: 114.8 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001759/2.004, allocations: 454 kB / 0.7762 GB, free: 114.8 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 682 * Number of states: 0 () * Number of discrete variables: 45 (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.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 (906): * Single equations (assignments): 886 * 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 {4,4,4} * 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.001937/2.006, allocations: 0.6676 MB / 0.7769 GB, free: 114.2 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/2.007, allocations: 426.5 kB / 0.7773 GB, free: 114 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01872/2.026, allocations: 7.053 MB / 0.7842 GB, free: 108.8 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01676/2.043, allocations: 6.388 MB / 0.7904 GB, free: 104 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.023e-05/2.043, allocations: 8 kB / 0.7904 GB, free: 104 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.617e-05/2.043, allocations: 10.78 kB / 0.7904 GB, free: 104 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.037/2.08, allocations: 15.36 MB / 0.8054 GB, free: 91.07 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-05/2.08, allocations: 4 kB / 0.8054 GB, free: 91.07 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002814/2.083, allocations: 451.3 kB / 0.8059 GB, free: 90.63 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01278/2.095, allocations: 3.338 MB / 0.8091 GB, free: 87.26 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007582/2.096, allocations: 83.45 kB / 0.8092 GB, free: 87.18 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02157/2.118, allocations: 16.46 MB / 0.8253 GB, free: 69.96 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002769/2.121, allocations: 4.412 MB / 0.8296 GB, free: 65.12 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02329/2.144, allocations: 11.23 MB / 0.8406 GB, free: 53.51 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/2.146, allocations: 0.4916 MB / 0.8411 GB, free: 52.99 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001431/2.147, allocations: 67.98 kB / 0.8411 GB, free: 52.93 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004366/2.151, allocations: 339.5 kB / 0.8414 GB, free: 52.59 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009774/2.152, allocations: 198.8 kB / 0.8416 GB, free: 52.4 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003372/2.153, allocations: 79.95 kB / 0.8417 GB, free: 52.32 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.006177/2.159, allocations: 2.769 MB / 0.8444 GB, free: 49.55 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.131e-06/2.159, allocations: 10.84 kB / 0.8444 GB, free: 49.54 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.009127/2.168, allocations: 1.536 MB / 0.8459 GB, free: 48.02 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (196): * Single equations (assignments): 182 * 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.0009472/2.169, allocations: 228.1 kB / 0.8461 GB, free: 47.79 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01846/2.188, allocations: 8.907 MB / 0.8548 GB, free: 38.74 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/2.188, allocations: 8.062 kB / 0.8548 GB, free: 38.73 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01027/2.198, allocations: 4.548 MB / 0.8593 GB, free: 34.02 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003922/2.202, allocations: 0.5012 MB / 0.8598 GB, free: 33.52 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02351/2.225, allocations: 11.5 MB / 0.871 GB, free: 22.04 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006872/2.232, allocations: 3.804 MB / 0.8747 GB, free: 18.22 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.007855/2.24, allocations: 2.261 MB / 0.8769 GB, free: 15.97 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/2.242, allocations: 307.3 kB / 0.8772 GB, free: 15.67 MB / 0.4949 GB Notification: Performance of SimCode: time 1.8e-06/2.242, allocations: 7.938 kB / 0.8772 GB, free: 15.66 MB / 0.4949 GB Notification: Performance of Templates: time 0.5238/2.766, allocations: 55.55 MB / 0.9315 GB, free: 137.3 MB / 0.5105 GB