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 2.202/2.202, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.013e-05/3.025e-05, allocations: 4 kB / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3139, allocations: 44.51 MB / 303.3 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.02289/0.3368, allocations: 14.03 MB / 317.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0122/0.3491, allocations: 4.231 MB / 321.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003084/0.3522, allocations: 71.81 kB / 321.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002825/0.3551, allocations: 0.6844 MB / 322.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008861/0.364, allocations: 2.166 MB / 324.5 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.3657, allocations: 339.4 kB / 324.8 MB, free: 8.141 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003404/0.3692, allocations: 1.073 MB / 325.9 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003603/0.3728, allocations: 1.597 MB / 327.5 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.374, allocations: 498.8 kB / 328 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.3757, allocations: 0.8182 MB / 328.8 MB, free: 4.117 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.378, allocations: 0.8269 MB / 329.6 MB, free: 3.289 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007488/0.3788, allocations: 84 kB / 329.7 MB, free: 3.207 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001532/0.3804, allocations: 0.8844 MB / 330.6 MB, free: 2.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007008/0.3812, allocations: 152 kB / 330.7 MB, free: 2.172 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005839/0.387, allocations: 3.26 MB / 334 MB, free: 14.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3871, allocations: 0 / 334 MB, free: 14.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.536e-06/0.3871, allocations: 0 / 334 MB, free: 14.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001306/0.3872, allocations: 0 / 334 MB, free: 14.91 MB / 282.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.008729/0.396, allocations: 2.51 MB / 336.5 MB, free: 12.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.3961, allocations: 8.031 kB / 336.5 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01565/0.4117, allocations: 2.075 MB / 338.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004579/0.4164, allocations: 1.593 MB / 340.2 MB, free: 8.609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.4166, allocations: 131.2 kB / 340.3 MB, free: 8.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001401/0.418, allocations: 251.7 kB / 340.6 MB, free: 8.234 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01824/0.4363, allocations: 6.56 MB / 347.1 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/0.4364, allocations: 27.8 kB / 347.1 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004512/0.4369, allocations: 83.89 kB / 347.2 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003944/0.4408, allocations: 1.343 MB / 348.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01961/0.4605, allocations: 5.951 MB / 354.5 MB, free: 9.797 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05392/0.5145, allocations: 25.24 MB / 379.8 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01486/0.5294, allocations: 2.525 MB / 382.3 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/0.5408, allocations: 3.573 MB / 385.9 MB, free: 9.363 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/0.5409, allocations: 42.94 kB / 385.9 MB, free: 9.312 MB / 330.7 MB Notification: Performance of pre-optimization done (n=105): time 7.895e-06/0.5409, allocations: 0 / 385.9 MB, free: 9.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=118): time 0.06912/0.61, allocations: 10.36 MB / 396.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002858/0.613, allocations: 1.588 MB / 397.8 MB, free: 12.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009553/0.6226, allocations: 2.533 MB / 400.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005174/0.6232, allocations: 41.7 kB / 400.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003304/0.6265, allocations: 2.062 MB / 402.5 MB, free: 8.277 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001391/0.628, allocations: 485.9 kB / 403 MB, free: 7.797 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007819/0.6288, allocations: 91.98 kB / 403 MB, free: 7.707 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0006724/0.6295, allocations: 0.4929 MB / 403.5 MB, free: 7.203 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007291/0.6368, allocations: 1.637 MB / 405.2 MB, free: 5.559 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01131/0.6482, allocations: 4.402 MB / 409.6 MB, free: 15.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/0.6589, allocations: 2.619 MB / 412.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000132/0.6591, allocations: 28 kB / 412.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.05543/0.7146, allocations: 7.869 MB / 420.1 MB, free: 5.223 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.7148, allocations: 44.47 kB / 420.1 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02238/0.7372, allocations: 3.479 MB / 423.6 MB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3352/1.072, allocations: 2.6 MB / 426.2 MB, free: 101.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005917/1.078, allocations: 0.99 MB / 427.2 MB, free: 101.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02229/1.101, allocations: 9.34 MB / 436.5 MB, free: 97.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00489/1.106, allocations: 332.9 kB / 436.9 MB, free: 97.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005145/1.106, allocations: 278.8 kB / 437.1 MB, free: 97.76 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 449 * 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 (533): * Single equations (assignments): 525 * 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.002492/1.109, allocations: 1.384 MB / 438.5 MB, free: 97.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000498/1.109, allocations: 231.6 kB / 438.8 MB, free: 97.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/1.12, allocations: 2.801 MB / 441.6 MB, free: 96.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009674/1.129, allocations: 2.479 MB / 444 MB, free: 95.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/1.129, allocations: 3.875 kB / 444 MB, free: 95.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.163e-05/1.13, allocations: 10.33 kB / 444 MB, free: 95.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01974/1.149, allocations: 6.73 MB / 450.8 MB, free: 89.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.302e-05/1.149, allocations: 2.312 kB / 450.8 MB, free: 89.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/1.151, allocations: 155.8 kB / 450.9 MB, free: 89.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008584/1.16, allocations: 1.445 MB / 452.4 MB, free: 87.81 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002983/1.16, allocations: 31.97 kB / 452.4 MB, free: 87.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01549/1.175, allocations: 7.623 MB / 460 MB, free: 79.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001143/1.177, allocations: 1.456 MB / 461.5 MB, free: 78.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/1.191, allocations: 4.824 MB / 466.3 MB, free: 73.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007747/1.192, allocations: 299.3 kB / 466.6 MB, free: 73.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006644/1.192, allocations: 25.23 kB / 466.6 MB, free: 73.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002187/1.195, allocations: 115.7 kB / 466.7 MB, free: 73.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003832/1.195, allocations: 76.48 kB / 466.8 MB, free: 73.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/1.195, allocations: 33.55 kB / 466.8 MB, free: 73.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003617/1.199, allocations: 1.763 MB / 468.6 MB, free: 71.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.194e-06/1.199, allocations: 0 / 468.6 MB, free: 71.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004966/1.204, allocations: 0.7941 MB / 469.4 MB, free: 70.56 MB / 362.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.0006459/1.205, allocations: 169.7 kB / 469.6 MB, free: 70.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01125/1.216, allocations: 4.354 MB / 473.9 MB, free: 66.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/1.216, allocations: 0 / 473.9 MB, free: 66.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005278/1.221, allocations: 1.706 MB / 475.6 MB, free: 64.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/1.223, allocations: 230.4 kB / 475.9 MB, free: 64.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/1.239, allocations: 7.809 MB / 483.7 MB, free: 56.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003717/1.243, allocations: 2.327 MB / 486 MB, free: 53.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/1.244, allocations: 195.4 kB / 486.2 MB, free: 53.68 MB / 362.7 MB Notification: Performance of SimCode: time 2.084e-06/1.244, allocations: 0 / 486.2 MB, free: 53.68 MB / 362.7 MB Notification: Performance of Templates: time 0.1571/1.401, allocations: 71.41 MB / 0.5445 GB, free: 14.17 MB / 394.7 MB