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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadModel(Modelica): time 1.931/1.931, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.479e-05/3.52e-05, allocations: 4 kB / 269.4 MB, free: 6.387 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08455/0.08461, allocations: 47.58 MB / 316.9 MB, free: 6.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4193/0.5039, allocations: 91.87 MB / 408.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.5042, allocations: 80.7 kB / 408.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2315/0.7357, allocations: 58.12 MB / 467 MB, free: 9.145 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.29e-06/0.7358, allocations: 0 / 467 MB, free: 9.145 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001114/0.7359, allocations: 48 kB / 467 MB, free: 9.098 MB / 378.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.01221/0.7481, allocations: 2.951 MB / 470 MB, free: 6.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.7482, allocations: 8.031 kB / 470 MB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01638/0.7646, allocations: 2.063 MB / 472.1 MB, free: 4.012 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01237/0.777, allocations: 3.626 MB / 475.7 MB, free: 340 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003019/0.7773, allocations: 193 kB / 475.9 MB, free: 144 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001247/0.7786, allocations: 255.8 kB / 476.1 MB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01677/0.7954, allocations: 6.924 MB / 483.1 MB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001345/0.7956, allocations: 39.67 kB / 483.1 MB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006322/0.7962, allocations: 127.9 kB / 483.2 MB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001379/0.7976, allocations: 0.715 MB / 483.9 MB, free: 7.344 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01483/0.8124, allocations: 5.817 MB / 489.7 MB, free: 1.523 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2976/1.11, allocations: 32.72 MB / 0.5102 GB, free: 112.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008501/1.119, allocations: 2.631 MB / 0.5128 GB, free: 111.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00193/1.121, allocations: 1.015 MB / 0.5138 GB, free: 111.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007514/1.128, allocations: 3.905 MB / 0.5176 GB, free: 110.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.462e-05/1.128, allocations: 44.83 kB / 0.5176 GB, free: 110 MB / 426.7 MB Notification: Performance of pre-optimization done (n=112): time 5.494e-06/1.128, allocations: 0 / 0.5176 GB, free: 110 MB / 426.7 MB Notification: Performance of matching and sorting (n=125): time 0.02851/1.157, allocations: 8.932 MB / 0.5264 GB, free: 108.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001109/1.158, allocations: 1.579 MB / 0.5279 GB, free: 106.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004194/1.162, allocations: 2.422 MB / 0.5303 GB, free: 106.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002625/1.162, allocations: 43.16 kB / 0.5303 GB, free: 106.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001303/1.164, allocations: 2.08 MB / 0.5323 GB, free: 105.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005466/1.164, allocations: 0.505 MB / 0.5328 GB, free: 105 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002833/1.165, allocations: 86.22 kB / 0.5329 GB, free: 105 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002609/1.165, allocations: 0.498 MB / 0.5334 GB, free: 104.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002948/1.168, allocations: 1.566 MB / 0.5349 GB, free: 104.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00449/1.172, allocations: 4.322 MB / 0.5392 GB, free: 101 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004678/1.177, allocations: 2.593 MB / 0.5417 GB, free: 101 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-05/1.177, allocations: 27.91 kB / 0.5417 GB, free: 101 MB / 426.7 MB Notification: Performance of matching and sorting (n=589) (initialization): time 0.01771/1.195, allocations: 6.636 MB / 0.5482 GB, free: 100.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.81e-05/1.195, allocations: 48.88 kB / 0.5482 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00775/1.203, allocations: 2.514 MB / 0.5507 GB, free: 99.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006924/1.21, allocations: 1.495 MB / 0.5522 GB, free: 99.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004229/1.214, allocations: 1.019 MB / 0.5532 GB, free: 99.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/1.226, allocations: 7.228 MB / 0.5602 GB, free: 95.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005198/1.231, allocations: 369.6 kB / 0.5606 GB, free: 95.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008933/1.232, allocations: 278.5 kB / 0.5608 GB, free: 95.06 MB / 426.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.0008389/1.233, allocations: 460 kB / 0.5613 GB, free: 94.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005696/1.233, allocations: 231.6 kB / 0.5615 GB, free: 94.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008501/1.242, allocations: 2.816 MB / 0.5642 GB, free: 93.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00738/1.249, allocations: 2.496 MB / 0.5667 GB, free: 93.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.977e-05/1.249, allocations: 3.906 kB / 0.5667 GB, free: 93.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.6e-05/1.249, allocations: 3.141 kB / 0.5667 GB, free: 93.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01717/1.267, allocations: 6.86 MB / 0.5734 GB, free: 90.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/1.267, allocations: 3.688 kB / 0.5734 GB, free: 90.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/1.268, allocations: 175.3 kB / 0.5736 GB, free: 90.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006625/1.274, allocations: 1.435 MB / 0.575 GB, free: 90.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002789/1.275, allocations: 34.91 kB / 0.575 GB, free: 90.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01157/1.286, allocations: 7.326 MB / 0.5821 GB, free: 84.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009523/1.287, allocations: 1.45 MB / 0.5836 GB, free: 83.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/1.297, allocations: 4.933 MB / 0.5884 GB, free: 78.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007679/1.298, allocations: 300.8 kB / 0.5887 GB, free: 78.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004412/1.299, allocations: 27.28 kB / 0.5887 GB, free: 78.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/1.3, allocations: 124.9 kB / 0.5888 GB, free: 78.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002739/1.301, allocations: 76.16 kB / 0.5889 GB, free: 78.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/1.301, allocations: 43.73 kB / 0.5889 GB, free: 78.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002809/1.304, allocations: 1.666 MB / 0.5905 GB, free: 77 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.67e-07/1.304, allocations: 0 / 0.5905 GB, free: 77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004928/1.309, allocations: 0.7726 MB / 0.5913 GB, free: 76.24 MB / 426.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.0004752/1.309, allocations: 168.2 kB / 0.5915 GB, free: 76.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007988/1.317, allocations: 4.101 MB / 0.5955 GB, free: 72.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.966e-06/1.317, allocations: 0 / 0.5955 GB, free: 72.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003672/1.321, allocations: 1.68 MB / 0.5971 GB, free: 70.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/1.323, allocations: 245.5 kB / 0.5973 GB, free: 70.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/1.334, allocations: 5.505 MB / 0.6027 GB, free: 65.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003028/1.337, allocations: 2.358 MB / 0.605 GB, free: 63.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004664/1.341, allocations: 1.411 MB / 0.6064 GB, free: 62.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006717/1.342, allocations: 167.4 kB / 0.6066 GB, free: 62.04 MB / 426.7 MB Notification: Performance of SimCode: time 1.867e-06/1.342, allocations: 0 / 0.6066 GB, free: 62.04 MB / 426.7 MB Notification: Performance of Templates: time 0.06445/1.407, allocations: 26.15 MB / 0.6321 GB, free: 36.27 MB / 426.7 MB