Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadModel(Modelica): time 1.916/1.916, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.852e-05, allocations: 6.812 kB / 292.2 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09008/0.09013, allocations: 50.41 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3829/0.473, allocations: 93.63 MB / 436.2 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003629/0.4735, allocations: 86.2 kB / 436.3 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2311/0.7045, allocations: 58.84 MB / 495.1 MB, free: 9.844 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.559e-06/0.7046, allocations: 0 / 495.1 MB, free: 9.844 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001058/0.7047, allocations: 44 kB / 495.2 MB, free: 9.801 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.01149/0.7162, allocations: 2.955 MB / 498.1 MB, free: 6.789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.7163, allocations: 8.031 kB / 498.1 MB, free: 6.781 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.7281, allocations: 2.055 MB / 0.4885 GB, free: 4.719 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/0.7401, allocations: 3.474 MB / 0.4919 GB, free: 1.191 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/0.7403, allocations: 196.9 kB / 0.492 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007192/0.7411, allocations: 259.8 kB / 0.4923 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01503/0.7561, allocations: 6.92 MB / 0.499 GB, free: 9.078 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001224/0.7563, allocations: 47.61 kB / 0.4991 GB, free: 9.031 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005058/0.7568, allocations: 127.9 kB / 0.4992 GB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001433/0.7582, allocations: 0.7189 MB / 0.4999 GB, free: 8.188 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01453/0.7728, allocations: 5.817 MB / 0.5056 GB, free: 2.367 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2961/1.069, allocations: 32.68 MB / 0.5375 GB, free: 93.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008984/1.078, allocations: 2.632 MB / 0.5401 GB, free: 93.14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003535/1.082, allocations: 1.017 MB / 0.5411 GB, free: 93.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01187/1.093, allocations: 3.889 MB / 0.5449 GB, free: 91.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/1.094, allocations: 51 kB / 0.5449 GB, free: 91.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=112): time 8.307e-06/1.094, allocations: 0 / 0.5449 GB, free: 91.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=125): time 0.04994/1.144, allocations: 8.871 MB / 0.5536 GB, free: 89.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001698/1.145, allocations: 1.579 MB / 0.5551 GB, free: 87.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006721/1.152, allocations: 2.415 MB / 0.5575 GB, free: 87.47 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003557/1.152, allocations: 45.67 kB / 0.5575 GB, free: 87.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002236/1.155, allocations: 2.078 MB / 0.5596 GB, free: 86.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009272/1.156, allocations: 0.5113 MB / 0.5601 GB, free: 86.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004426/1.156, allocations: 82.64 kB / 0.5601 GB, free: 86.06 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004214/1.157, allocations: 0.5024 MB / 0.5606 GB, free: 85.74 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005052/1.162, allocations: 1.566 MB / 0.5622 GB, free: 85.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007066/1.169, allocations: 4.309 MB / 0.5664 GB, free: 82.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007834/1.177, allocations: 2.602 MB / 0.5689 GB, free: 81.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002068/1.177, allocations: 27.34 kB / 0.5689 GB, free: 81.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=589) (initialization): time 0.02486/1.202, allocations: 6.636 MB / 0.5754 GB, free: 80.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.497e-05/1.202, allocations: 43.78 kB / 0.5755 GB, free: 80.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00723/1.209, allocations: 2.52 MB / 0.5779 GB, free: 79.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006177/1.216, allocations: 1.502 MB / 0.5794 GB, free: 79.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004064/1.22, allocations: 1.014 MB / 0.5804 GB, free: 79.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/1.231, allocations: 7.208 MB / 0.5874 GB, free: 75.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004836/1.236, allocations: 370.3 kB / 0.5878 GB, free: 75.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006617/1.236, allocations: 286.6 kB / 0.588 GB, free: 75 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (541): * Single equations (assignments): 533 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008023/1.237, allocations: 454 kB / 0.5885 GB, free: 74.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004772/1.238, allocations: 231.2 kB / 0.5887 GB, free: 74.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007543/1.245, allocations: 2.828 MB / 0.5915 GB, free: 73.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006852/1.252, allocations: 2.488 MB / 0.5939 GB, free: 73.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/1.252, allocations: 3.719 kB / 0.5939 GB, free: 73.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/1.252, allocations: 11.47 kB / 0.5939 GB, free: 73.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/1.268, allocations: 6.861 MB / 0.6006 GB, free: 70.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/1.268, allocations: 3.812 kB / 0.6006 GB, free: 70.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/1.27, allocations: 181.7 kB / 0.6008 GB, free: 70.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005634/1.275, allocations: 1.422 MB / 0.6022 GB, free: 70.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002299/1.275, allocations: 31.55 kB / 0.6022 GB, free: 70.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/1.286, allocations: 7.324 MB / 0.6094 GB, free: 63.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008908/1.287, allocations: 1.46 MB / 0.6108 GB, free: 62.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/1.298, allocations: 4.924 MB / 0.6156 GB, free: 58.15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007429/1.299, allocations: 301.8 kB / 0.6159 GB, free: 57.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003828/1.299, allocations: 24 kB / 0.6159 GB, free: 57.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/1.3, allocations: 124.1 kB / 0.616 GB, free: 57.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002855/1.301, allocations: 85.73 kB / 0.6161 GB, free: 57.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/1.301, allocations: 37.58 kB / 0.6161 GB, free: 57.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002782/1.304, allocations: 1.66 MB / 0.6178 GB, free: 56.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.343e-06/1.304, allocations: 0 / 0.6178 GB, free: 56.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004602/1.308, allocations: 0.7734 MB / 0.6185 GB, free: 55.42 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004219/1.309, allocations: 177.8 kB / 0.6187 GB, free: 55.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007402/1.316, allocations: 4.091 MB / 0.6227 GB, free: 51.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.062e-06/1.316, allocations: 0 / 0.6227 GB, free: 51.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003476/1.32, allocations: 1.672 MB / 0.6243 GB, free: 50.09 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/1.321, allocations: 244.4 kB / 0.6245 GB, free: 49.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/1.332, allocations: 5.512 MB / 0.6299 GB, free: 44.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002627/1.334, allocations: 2.343 MB / 0.6322 GB, free: 42.23 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004095/1.338, allocations: 1.411 MB / 0.6336 GB, free: 40.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006034/1.339, allocations: 167.4 kB / 0.6337 GB, free: 40.65 MB / 442.7 MB Notification: Performance of SimCode: time 1.786e-06/1.339, allocations: 0 / 0.6337 GB, free: 40.65 MB / 442.7 MB Notification: Performance of Templates: time 0.06469/1.404, allocations: 26.15 MB / 0.6593 GB, free: 14.91 MB / 442.7 MB