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_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadModel(Modelica): time 1.939/1.939, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.091e-05, allocations: 4 kB / 255.4 MB, free: 2.715 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07813/0.07818, allocations: 44.49 MB / 299.9 MB, free: 6.156 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3808/0.4591, allocations: 85.04 MB / 384.9 MB, free: 21.1 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.4594, allocations: 83.98 kB / 385 MB, free: 21.1 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.253/0.7124, allocations: 56.6 MB / 441.6 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.52e-06/0.7124, allocations: 0 / 441.6 MB, free: 12.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001923/0.7126, allocations: 48 kB / 441.7 MB, free: 12.45 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.02014/0.7328, allocations: 2.902 MB / 444.6 MB, free: 9.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.7329, allocations: 12.03 kB / 444.6 MB, free: 9.648 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/0.7453, allocations: 2.058 MB / 446.6 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01252/0.7578, allocations: 3.59 MB / 450.2 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002949/0.7582, allocations: 189.6 kB / 450.4 MB, free: 4.441 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001229/0.7594, allocations: 251.6 kB / 450.7 MB, free: 4.258 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01609/0.7755, allocations: 6.785 MB / 457.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001444/0.7757, allocations: 43.62 kB / 457.5 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006929/0.7764, allocations: 123.9 kB / 457.6 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001421/0.7779, allocations: 0.711 MB / 458.3 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0147/0.7926, allocations: 5.708 MB / 464 MB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04817/0.8408, allocations: 32.27 MB / 496.3 MB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01424/0.8551, allocations: 2.508 MB / 498.8 MB, free: 3.281 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003576/0.8588, allocations: 0.9887 MB / 499.8 MB, free: 2.281 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01346/0.8723, allocations: 3.549 MB / 0.4915 GB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.242e-05/0.8724, allocations: 58.83 kB / 0.4916 GB, free: 14.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=105): time 7.893e-06/0.8725, allocations: 0 / 0.4916 GB, free: 14.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=118): time 0.03156/0.9041, allocations: 8.671 MB / 0.5001 GB, free: 5.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001775/0.9059, allocations: 1.588 MB / 0.5016 GB, free: 3.902 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005524/0.9114, allocations: 2.387 MB / 0.5039 GB, free: 1.492 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002907/0.9118, allocations: 41.7 kB / 0.504 GB, free: 1.445 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2197/1.131, allocations: 2.052 MB / 0.506 GB, free: 98.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000681/1.132, allocations: 494.3 kB / 0.5065 GB, free: 98.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004461/1.133, allocations: 87.41 kB / 0.5065 GB, free: 98.54 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002947/1.133, allocations: 0.4918 MB / 0.507 GB, free: 98.22 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003138/1.136, allocations: 1.549 MB / 0.5085 GB, free: 98.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004873/1.141, allocations: 4.282 MB / 0.5127 GB, free: 94.65 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005094/1.146, allocations: 2.568 MB / 0.5152 GB, free: 94.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000158/1.146, allocations: 28.91 kB / 0.5153 GB, free: 94.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=579) (initialization): time 0.01872/1.165, allocations: 6.592 MB / 0.5217 GB, free: 94.17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/1.165, allocations: 50.44 kB / 0.5217 GB, free: 94.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007529/1.173, allocations: 2.482 MB / 0.5242 GB, free: 94.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006067/1.179, allocations: 1.495 MB / 0.5256 GB, free: 94.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004247/1.183, allocations: 1.001 MB / 0.5266 GB, free: 93.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/1.195, allocations: 7.281 MB / 0.5337 GB, free: 91.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005087/1.2, allocations: 361.7 kB / 0.5341 GB, free: 91.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008738/1.201, allocations: 283.9 kB / 0.5343 GB, free: 91.22 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.0008614/1.202, allocations: 453.7 kB / 0.5348 GB, free: 91.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005079/1.202, allocations: 229.8 kB / 0.535 GB, free: 90.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008095/1.21, allocations: 2.783 MB / 0.5377 GB, free: 90.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006821/1.217, allocations: 2.448 MB / 0.5401 GB, free: 89.53 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.805e-05/1.217, allocations: 3.219 kB / 0.5401 GB, free: 89.53 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.72e-05/1.217, allocations: 7.078 kB / 0.5401 GB, free: 89.53 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/1.233, allocations: 6.713 MB / 0.5467 GB, free: 87.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/1.233, allocations: 0 / 0.5467 GB, free: 87.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/1.235, allocations: 166.8 kB / 0.5468 GB, free: 87.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006518/1.241, allocations: 1.433 MB / 0.5482 GB, free: 87.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002513/1.242, allocations: 33.44 kB / 0.5482 GB, free: 87.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01211/1.254, allocations: 7.432 MB / 0.5555 GB, free: 82.94 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009749/1.255, allocations: 1.445 MB / 0.5569 GB, free: 81.51 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/1.266, allocations: 4.8 MB / 0.5616 GB, free: 79.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007245/1.266, allocations: 299.2 kB / 0.5619 GB, free: 79.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005086/1.267, allocations: 26.86 kB / 0.5619 GB, free: 79.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/1.269, allocations: 122.3 kB / 0.562 GB, free: 79.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/1.269, allocations: 78.12 kB / 0.5621 GB, free: 79.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/1.269, allocations: 37.2 kB / 0.5621 GB, free: 79.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003293/1.273, allocations: 1.65 MB / 0.5637 GB, free: 78.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.201e-06/1.273, allocations: 0 / 0.5637 GB, free: 78.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00498/1.278, allocations: 0.7493 MB / 0.5645 GB, free: 78.37 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.0004823/1.278, allocations: 171.9 kB / 0.5646 GB, free: 78.21 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008229/1.286, allocations: 4.049 MB / 0.5686 GB, free: 74.58 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.74e-06/1.286, allocations: 0 / 0.5686 GB, free: 74.58 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003547/1.29, allocations: 1.657 MB / 0.5702 GB, free: 73.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/1.292, allocations: 238 kB / 0.5704 GB, free: 72.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/1.303, allocations: 5.407 MB / 0.5757 GB, free: 68.16 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003403/1.306, allocations: 2.317 MB / 0.578 GB, free: 66.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004657/1.311, allocations: 1.385 MB / 0.5793 GB, free: 65.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006849/1.312, allocations: 169.7 kB / 0.5795 GB, free: 65.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.852e-06/1.312, allocations: 0 / 0.5795 GB, free: 65.3 MB / 394.7 MB Notification: Performance of Templates: time 0.06464/1.376, allocations: 25.87 MB / 0.6048 GB, free: 42.71 MB / 394.7 MB