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.929/1.929, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.792e-05/2.806e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2513, allocations: 44.5 MB / 294.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.3826, allocations: 84.37 MB / 378.5 MB, free: 13.6 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.3829, allocations: 87.94 kB / 378.6 MB, free: 13.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5166/0.8995, allocations: 55.62 MB / 434.2 MB, free: 90.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.102e-06/0.8996, allocations: 0 / 434.2 MB, free: 90.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.923e-05/0.8997, allocations: 42.75 kB / 434.2 MB, free: 90.67 MB / 362.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.01262/0.9123, allocations: 2.908 MB / 437.1 MB, free: 89.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.9124, allocations: 7.656 kB / 437.1 MB, free: 89.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/0.925, allocations: 2.053 MB / 439.2 MB, free: 89.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0109/0.9359, allocations: 3.597 MB / 442.8 MB, free: 88.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.9361, allocations: 78.06 kB / 442.9 MB, free: 88.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001023/0.9372, allocations: 152.5 kB / 443 MB, free: 88.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007875/0.9451, allocations: 4.002 MB / 447 MB, free: 88.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01107/0.9562, allocations: 6.161 MB / 453.2 MB, free: 86.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/0.9563, allocations: 39.62 kB / 453.2 MB, free: 86.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004442/0.9568, allocations: 22.38 kB / 453.2 MB, free: 86.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001098/0.9579, allocations: 0.7047 MB / 453.9 MB, free: 86.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03395/0.9919, allocations: 30.99 MB / 484.9 MB, free: 60.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/0.9947, allocations: 1.976 MB / 486.9 MB, free: 58.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.9962, allocations: 0.9677 MB / 487.9 MB, free: 57.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008603/0.9971, allocations: 0.6588 MB / 488.5 MB, free: 57.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.9972, allocations: 47 kB / 488.6 MB, free: 57.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=111): time 5.346e-06/0.9972, allocations: 0 / 488.6 MB, free: 57.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=124): time 0.02092/1.018, allocations: 8.136 MB / 496.7 MB, free: 48.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/1.018, allocations: 137.1 kB / 496.9 MB, free: 48.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003566/1.022, allocations: 2.118 MB / 499 MB, free: 46.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002691/1.022, allocations: 25.7 kB / 499 MB, free: 46.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001187/1.023, allocations: 2.12 MB / 0.4894 GB, free: 44.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005684/1.024, allocations: 0.4937 MB / 0.4899 GB, free: 43.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/1.024, allocations: 4 kB / 0.4899 GB, free: 43.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002907/1.024, allocations: 0.505 MB / 0.4904 GB, free: 43.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00257/1.027, allocations: 1.524 MB / 0.4918 GB, free: 41.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004305/1.031, allocations: 4.38 MB / 0.4961 GB, free: 35.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004352/1.036, allocations: 2.576 MB / 0.4986 GB, free: 33.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-05/1.036, allocations: 28 kB / 0.4987 GB, free: 33.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=606) (initialization): time 0.01598/1.052, allocations: 6.388 MB / 0.5049 GB, free: 26.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.907e-05/1.052, allocations: 52 kB / 0.505 GB, free: 26.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006753/1.059, allocations: 2.445 MB / 0.5073 GB, free: 24.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006106/1.065, allocations: 1.479 MB / 0.5088 GB, free: 22.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003921/1.069, allocations: 1.053 MB / 0.5098 GB, free: 21.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01475/1.084, allocations: 6.943 MB / 0.5166 GB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004858/1.089, allocations: 275.5 kB / 0.5169 GB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009532/1.09, allocations: 295.9 kB / 0.5171 GB, free: 14.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 468 * 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 (558): * Single equations (assignments): 550 * 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.0009269/1.091, allocations: 366.4 kB / 0.5175 GB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005114/1.091, allocations: 224.6 kB / 0.5177 GB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007366/1.098, allocations: 2.714 MB / 0.5204 GB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006579/1.105, allocations: 2.409 MB / 0.5227 GB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.078e-05/1.105, allocations: 4 kB / 0.5227 GB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.84e-05/1.105, allocations: 11.91 kB / 0.5227 GB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/1.121, allocations: 6.627 MB / 0.5292 GB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/1.121, allocations: 0 / 0.5292 GB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/1.122, allocations: 175.8 kB / 0.5294 GB, free: 1.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005741/1.128, allocations: 1.41 MB / 0.5307 GB, free: 76 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002904/1.128, allocations: 15.98 kB / 0.5308 GB, free: 60 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01383/1.142, allocations: 7.163 MB / 0.5377 GB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001454/1.143, allocations: 1.395 MB / 0.5391 GB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/1.155, allocations: 4.819 MB / 0.5438 GB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007594/1.156, allocations: 286.1 kB / 0.5441 GB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004221/1.157, allocations: 8 kB / 0.5441 GB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/1.158, allocations: 111.8 kB / 0.5442 GB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003203/1.159, allocations: 76.38 kB / 0.5443 GB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/1.159, allocations: 39.98 kB / 0.5443 GB, free: 1.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002997/1.162, allocations: 1.395 MB / 0.5457 GB, free: 348 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.041e-06/1.162, allocations: 0 / 0.5457 GB, free: 348 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.005385/1.167, allocations: 0.6797 MB / 0.5463 GB, free: 15.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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.0005211/1.168, allocations: 154.4 kB / 0.5465 GB, free: 15.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009484/1.177, allocations: 4.072 MB / 0.5505 GB, free: 11.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.494e-06/1.177, allocations: 4 kB / 0.5505 GB, free: 11.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004355/1.182, allocations: 1.669 MB / 0.5521 GB, free: 9.691 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/1.183, allocations: 210.9 kB / 0.5523 GB, free: 9.488 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/1.198, allocations: 5.701 MB / 0.5579 GB, free: 3.777 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004441/1.202, allocations: 2.332 MB / 0.5601 GB, free: 1.422 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008535/1.203, allocations: 195.4 kB / 0.5603 GB, free: 1.23 MB / 394.7 MB Notification: Performance of SimCode: time 1.831e-06/1.203, allocations: 3.938 kB / 0.5603 GB, free: 1.227 MB / 394.7 MB Notification: Performance of Templates: time 0.3105/1.514, allocations: 69.17 MB / 0.6279 GB, free: 71.2 MB / 394.7 MB