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.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadModel(Modelica): time 1.789/1.789, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.105e-05/3.13e-05, allocations: 8 kB / 255.3 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.079/0.07906, allocations: 44.51 MB / 299.8 MB, free: 6.613 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3678/0.4469, allocations: 85.03 MB / 384.9 MB, free: 21.16 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003754/0.4474, allocations: 83.27 kB / 385 MB, free: 21.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2088/0.6562, allocations: 56.59 MB / 441.6 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6562, allocations: 0 / 441.6 MB, free: 12.97 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000113/0.6563, allocations: 51.98 kB / 441.6 MB, free: 12.92 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.01201/0.6684, allocations: 2.903 MB / 444.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.6684, allocations: 12.03 kB / 444.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01246/0.6809, allocations: 2.051 MB / 446.6 MB, free: 8.082 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/0.6931, allocations: 3.591 MB / 450.2 MB, free: 5.047 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002443/0.6934, allocations: 187 kB / 450.3 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001042/0.6945, allocations: 252 kB / 450.6 MB, free: 4.738 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01582/0.7103, allocations: 6.821 MB / 457.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001358/0.7105, allocations: 39.67 kB / 457.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000586/0.7111, allocations: 127.9 kB / 457.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00144/0.7125, allocations: 0.6993 MB / 458.3 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01502/0.7276, allocations: 5.834 MB / 464.1 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04765/0.7753, allocations: 32.28 MB / 496.4 MB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008507/0.7838, allocations: 2.514 MB / 498.9 MB, free: 3.578 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002108/0.786, allocations: 0.9887 MB / 499.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007758/0.7938, allocations: 3.553 MB / 0.4916 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.445e-05/0.7939, allocations: 46.94 kB / 0.4917 GB, free: 14.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=105): time 5.269e-06/0.7939, allocations: 0 / 0.4917 GB, free: 14.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=118): time 0.02904/0.8229, allocations: 8.684 MB / 0.5002 GB, free: 5.953 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001714/0.8247, allocations: 1.576 MB / 0.5017 GB, free: 4.203 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004982/0.8297, allocations: 2.387 MB / 0.504 GB, free: 1.793 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000281/0.83, allocations: 45.69 kB / 0.5041 GB, free: 1.742 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2174/1.047, allocations: 2.051 MB / 0.5061 GB, free: 99.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007235/1.048, allocations: 492.3 kB / 0.5066 GB, free: 99.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004922/1.049, allocations: 89.91 kB / 0.5066 GB, free: 99.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003229/1.049, allocations: 0.5052 MB / 0.5071 GB, free: 99.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003399/1.052, allocations: 1.551 MB / 0.5086 GB, free: 99.06 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005163/1.058, allocations: 4.303 MB / 0.5129 GB, free: 95.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005692/1.063, allocations: 2.568 MB / 0.5154 GB, free: 95.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001747/1.064, allocations: 30.7 kB / 0.5154 GB, free: 95.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=579) (initialization): time 0.01948/1.083, allocations: 6.801 MB / 0.522 GB, free: 94.94 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/1.083, allocations: 50.34 kB / 0.5221 GB, free: 94.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007219/1.091, allocations: 2.487 MB / 0.5245 GB, free: 94.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006458/1.097, allocations: 1.5 MB / 0.526 GB, free: 94.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004193/1.101, allocations: 1.002 MB / 0.5269 GB, free: 94.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01224/1.114, allocations: 7.271 MB / 0.534 GB, free: 92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005291/1.119, allocations: 378.5 kB / 0.5344 GB, free: 91.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009659/1.12, allocations: 276.4 kB / 0.5347 GB, free: 91.99 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 447 * Number of states: 0 () * Number of discrete variables: 18 (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.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 (531): * Single equations (assignments): 523 * 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.0009115/1.121, allocations: 444.5 kB / 0.5351 GB, free: 91.72 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005186/1.121, allocations: 231.5 kB / 0.5353 GB, free: 91.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008507/1.13, allocations: 2.784 MB / 0.538 GB, free: 90.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00767/1.138, allocations: 2.456 MB / 0.5404 GB, free: 90.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/1.138, allocations: 3.969 kB / 0.5404 GB, free: 90.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.496e-05/1.138, allocations: 10.44 kB / 0.5404 GB, free: 90.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01621/1.154, allocations: 6.706 MB / 0.547 GB, free: 87.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-05/1.154, allocations: 6.062 kB / 0.547 GB, free: 87.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/1.155, allocations: 163.5 kB / 0.5472 GB, free: 87.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005938/1.161, allocations: 1.431 MB / 0.5486 GB, free: 87.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002798/1.161, allocations: 30.22 kB / 0.5486 GB, free: 87.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01251/1.174, allocations: 7.439 MB / 0.5558 GB, free: 83.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001029/1.175, allocations: 1.446 MB / 0.5573 GB, free: 82.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01094/1.186, allocations: 4.801 MB / 0.562 GB, free: 80.37 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007002/1.187, allocations: 302 kB / 0.5622 GB, free: 80.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004251/1.187, allocations: 24.97 kB / 0.5623 GB, free: 80.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/1.189, allocations: 117.2 kB / 0.5624 GB, free: 80.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000289/1.189, allocations: 84.11 kB / 0.5625 GB, free: 80.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/1.189, allocations: 31.48 kB / 0.5625 GB, free: 80.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003148/1.192, allocations: 1.649 MB / 0.5641 GB, free: 79.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.168e-06/1.192, allocations: 0 / 0.5641 GB, free: 79.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00504/1.198, allocations: 0.7563 MB / 0.5648 GB, free: 78.92 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * Single equations (assignments): 71 * 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.0004658/1.198, allocations: 168 kB / 0.565 GB, free: 78.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008584/1.207, allocations: 4.206 MB / 0.5691 GB, free: 74.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.909e-06/1.207, allocations: 0 / 0.5691 GB, free: 74.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003743/1.21, allocations: 1.681 MB / 0.5707 GB, free: 73.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/1.212, allocations: 233.9 kB / 0.571 GB, free: 73.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/1.224, allocations: 5.715 MB / 0.5765 GB, free: 68.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003271/1.227, allocations: 2.32 MB / 0.5788 GB, free: 66.42 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007794/1.228, allocations: 202.2 kB / 0.579 GB, free: 66.23 MB / 394.7 MB Notification: Performance of SimCode: time 1.778e-06/1.228, allocations: 0 / 0.579 GB, free: 66.23 MB / 394.7 MB Notification: Performance of Templates: time 0.0891/1.317, allocations: 70.22 MB / 0.6476 GB, free: 15.62 MB / 410.7 MB