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_trunk_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadModel(ModelicaTest): time 2.506/2.506, allocations: 270 MB / 283.6 MB, free: 1.895 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.544e-05, allocations: 4 kB / 348.4 MB, free: 2.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3306, allocations: 61.88 MB / 410.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.4909, allocations: 104.6 MB / 0.5028 GB, free: 1.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.4912, allocations: 71.97 kB / 0.5029 GB, free: 1.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7022/1.193, allocations: 99.65 MB / 0.6002 GB, free: 41.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.993e-06/1.193, allocations: 0 / 0.6002 GB, free: 41.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003435/1.194, allocations: 96 kB / 0.6003 GB, free: 41.02 MB / 442.7 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.04977/1.244, allocations: 5.91 MB / 0.6061 GB, free: 35.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.436e-05/1.244, allocations: 8.031 kB / 0.6061 GB, free: 35.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02097/1.265, allocations: 2.942 MB / 0.609 GB, free: 32.08 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0189/1.284, allocations: 6.81 MB / 0.6156 GB, free: 25.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004249/1.284, allocations: 373.6 kB / 0.616 GB, free: 24.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001914/1.286, allocations: 495.6 kB / 0.6164 GB, free: 24.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02637/1.312, allocations: 12.4 MB / 0.6285 GB, free: 10.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002116/1.313, allocations: 71.34 kB / 0.6286 GB, free: 10.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009034/1.314, allocations: 243.9 kB / 0.6288 GB, free: 10.42 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001984/1.316, allocations: 1.245 MB / 0.6301 GB, free: 9.172 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02462/1.34, allocations: 10.25 MB / 0.6401 GB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0915/1.432, allocations: 57.98 MB / 0.6967 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01964/1.451, allocations: 5.308 MB / 0.7019 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00522/1.457, allocations: 2.444 MB / 0.7043 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3745/1.831, allocations: 12.27 MB / 0.7162 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.968e-05/1.832, allocations: 63.94 kB / 0.7163 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=219): time 1.481e-05/1.832, allocations: 0 / 0.7163 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=258): time 0.0974/1.929, allocations: 21.13 MB / 0.7369 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002946/1.932, allocations: 4.602 MB / 0.7414 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01156/1.944, allocations: 3.968 MB / 0.7453 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007549/1.944, allocations: 71.58 kB / 0.7454 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003909/1.948, allocations: 3.522 MB / 0.7488 GB, free: 117 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00136/1.95, allocations: 1.017 MB / 0.7498 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007897/1.951, allocations: 149.7 kB / 0.7499 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004598/1.951, allocations: 0.6247 MB / 0.7506 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006173/1.957, allocations: 3.085 MB / 0.7536 GB, free: 116 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008205/1.965, allocations: 7.304 MB / 0.7607 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008624/1.974, allocations: 4.683 MB / 0.7653 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00013/1.974, allocations: 44.88 kB / 0.7653 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.0336/2.008, allocations: 12.55 MB / 0.7776 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000122/2.008, allocations: 69.91 kB / 0.7776 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01862/2.027, allocations: 6.468 MB / 0.784 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0133/2.04, allocations: 3.34 MB / 0.7872 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006921/2.047, allocations: 1.739 MB / 0.7889 GB, free: 99.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02009/2.067, allocations: 15.82 MB / 0.8044 GB, free: 85.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009109/2.076, allocations: 0.7609 MB / 0.8051 GB, free: 84.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001308/2.078, allocations: 459.6 kB / 0.8056 GB, free: 84.17 MB / 0.5105 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.001348/2.079, allocations: 0.6699 MB / 0.8062 GB, free: 83.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008934/2.08, allocations: 418.6 kB / 0.8066 GB, free: 83.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01731/2.097, allocations: 7.052 MB / 0.8135 GB, free: 77.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02273/2.12, allocations: 6.398 MB / 0.8197 GB, free: 72.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.628e-05/2.12, allocations: 8 kB / 0.8197 GB, free: 72.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.935e-05/2.12, allocations: 11.3 kB / 0.8198 GB, free: 72.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03403/2.154, allocations: 15.36 MB / 0.8348 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.258e-05/2.154, allocations: 8 kB / 0.8348 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002655/2.157, allocations: 447.3 kB / 0.8352 GB, free: 58.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01256/2.17, allocations: 3.336 MB / 0.8384 GB, free: 55.24 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006307/2.17, allocations: 76.72 kB / 0.8385 GB, free: 55.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02171/2.192, allocations: 16.47 MB / 0.8546 GB, free: 37.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00264/2.195, allocations: 4.414 MB / 0.8589 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0221/2.217, allocations: 11.23 MB / 0.8699 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/2.218, allocations: 495.5 kB / 0.8704 GB, free: 20.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008918/2.219, allocations: 67.97 kB / 0.8704 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003462/2.222, allocations: 347.4 kB / 0.8707 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006288/2.223, allocations: 197.5 kB / 0.8709 GB, free: 20.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003179/2.223, allocations: 87.39 kB / 0.871 GB, free: 20.29 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005827/2.229, allocations: 2.741 MB / 0.8737 GB, free: 17.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.103e-06/2.229, allocations: 0 / 0.8737 GB, free: 17.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008523/2.238, allocations: 1.526 MB / 0.8752 GB, free: 16.02 MB / 0.5105 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.0007731/2.239, allocations: 236.3 kB / 0.8754 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01785/2.257, allocations: 8.907 MB / 0.8841 GB, free: 6.746 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.441e-06/2.257, allocations: 0 / 0.8841 GB, free: 6.746 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01014/2.267, allocations: 4.554 MB / 0.8886 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003317/2.27, allocations: 0.5084 MB / 0.8891 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02572/2.296, allocations: 11.47 MB / 0.9003 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007224/2.303, allocations: 3.798 MB / 0.904 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008401/2.312, allocations: 2.248 MB / 0.9062 GB, free: 20 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/2.313, allocations: 315.3 kB / 0.9065 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of SimCode: time 2.083e-06/2.313, allocations: 0 / 0.9065 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of Templates: time 0.5621/2.875, allocations: 55.42 MB / 0.9606 GB, free: 143 MB / 0.5417 GB