Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 194.9 MB / 211.2 MB, free: 8.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.9e-05/2.895e-05, allocations: 7.906 kB / 258.8 MB, free: 8.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3085, allocations: 44.49 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.05959/0.3681, allocations: 36.87 MB / 340.2 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02719/0.3954, allocations: 8.569 MB / 348.7 MB, free: 108 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008861/0.4043, allocations: 195.6 kB / 348.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007305/0.4117, allocations: 1.909 MB / 350.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0258/0.4375, allocations: 5.278 MB / 356.1 MB, free: 8.703 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004064/0.4417, allocations: 0.6552 MB / 356.8 MB, free: 8.047 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006008/0.4478, allocations: 1.915 MB / 358.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008775/0.4566, allocations: 3.998 MB / 362.7 MB, free: 2.082 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.4588, allocations: 0.8962 MB / 363.6 MB, free: 1.184 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003019/0.4619, allocations: 1.422 MB / 365 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/0.4649, allocations: 0.9324 MB / 365.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001192/0.4662, allocations: 136 kB / 366.1 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002767/0.4689, allocations: 1.617 MB / 367.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0014/0.4704, allocations: 284 kB / 368 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0095/0.4799, allocations: 5.652 MB / 373.6 MB, free: 7.129 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.48, allocations: 0 / 373.6 MB, free: 7.129 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.477e-06/0.48, allocations: 0 / 373.6 MB, free: 7.129 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002584/0.4803, allocations: 0 / 373.6 MB, free: 7.129 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.01403/0.4943, allocations: 4.195 MB / 377.8 MB, free: 2.867 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.4944, allocations: 8.031 kB / 377.8 MB, free: 2.859 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01754/0.5119, allocations: 2.505 MB / 380.3 MB, free: 352 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008714/0.5207, allocations: 2.868 MB / 383.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003761/0.5211, allocations: 262.6 kB / 383.4 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002325/0.5235, allocations: 427.5 kB / 383.9 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03812/0.5616, allocations: 12.08 MB / 395.9 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001798/0.5619, allocations: 47.53 kB / 396 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009247/0.5628, allocations: 167.8 kB / 396.2 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005981/0.5688, allocations: 2.127 MB / 398.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0376/0.6064, allocations: 10.1 MB / 408.4 MB, free: 3.371 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3342/0.9407, allocations: 44.34 MB / 452.7 MB, free: 77.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03167/0.9724, allocations: 6.682 MB / 459.4 MB, free: 74.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01854/0.991, allocations: 8.44 MB / 467.8 MB, free: 68.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.9911, allocations: 56.94 kB / 467.9 MB, free: 68.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=165): time 5.32e-06/0.9911, allocations: 0 / 467.9 MB, free: 68.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=188): time 0.1075/1.099, allocations: 22.51 MB / 490.4 MB, free: 45.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001406/1.1, allocations: 1.612 MB / 492 MB, free: 44.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008648/1.109, allocations: 3.945 MB / 496 MB, free: 40.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005251/1.109, allocations: 51.66 kB / 496 MB, free: 40.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002726/1.112, allocations: 3.297 MB / 499.3 MB, free: 36.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001202/1.113, allocations: 0.7487 MB / 0.4883 GB, free: 36.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007469/1.114, allocations: 137 kB / 0.4885 GB, free: 35.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005241/1.115, allocations: 0.5875 MB / 0.489 GB, free: 35.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006311/1.121, allocations: 2.355 MB / 0.4913 GB, free: 32.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008708/1.13, allocations: 6.428 MB / 0.4976 GB, free: 24.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008596/1.138, allocations: 3.76 MB / 0.5013 GB, free: 20.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001602/1.139, allocations: 40 kB / 0.5013 GB, free: 20.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.0363/1.175, allocations: 10.06 MB / 0.5112 GB, free: 10.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/1.175, allocations: 72.22 kB / 0.5112 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02001/1.195, allocations: 3.993 MB / 0.5151 GB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.025/1.22, allocations: 2.187 MB / 0.5173 GB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01249/1.233, allocations: 1.563 MB / 0.5188 GB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02176/1.255, allocations: 6.377 MB / 0.525 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01153/1.266, allocations: 444.7 kB / 0.5254 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001791/1.268, allocations: 412 kB / 0.5258 GB, free: 11.33 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * Number of states: 0 () * Number of discrete variables: 42 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (828): * Single equations (assignments): 819 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007627/1.276, allocations: 2.143 MB / 0.5279 GB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/1.277, allocations: 367.2 kB / 0.5283 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/1.289, allocations: 3.498 MB / 0.5317 GB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01093/1.3, allocations: 2.934 MB / 0.5346 GB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.012e-05/1.3, allocations: 0 / 0.5346 GB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.109e-05/1.3, allocations: 11.97 kB / 0.5346 GB, free: 2.316 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03332/1.334, allocations: 10.48 MB / 0.5448 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-05/1.334, allocations: 15.94 kB / 0.5448 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003321/1.337, allocations: 367.4 kB / 0.5452 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005785/1.343, allocations: 0.9788 MB / 0.5461 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000536/1.344, allocations: 59.97 kB / 0.5462 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009271/1.353, allocations: 4.675 MB / 0.5507 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001722/1.355, allocations: 1.478 MB / 0.5522 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01881/1.374, allocations: 7.57 MB / 0.5596 GB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002608/1.376, allocations: 0.6835 MB / 0.5603 GB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001189/1.377, allocations: 51.98 kB / 0.5603 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003685/1.381, allocations: 167.8 kB / 0.5605 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006704/1.382, allocations: 160.5 kB / 0.5606 GB, free: 6.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002582/1.382, allocations: 72.44 kB / 0.5607 GB, free: 6.359 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.007401/1.39, allocations: 2.746 MB / 0.5634 GB, free: 3.605 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.122e-06/1.39, allocations: 4 kB / 0.5634 GB, free: 3.602 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007693/1.397, allocations: 1.173 MB / 0.5645 GB, free: 2.438 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 158 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001034/1.398, allocations: 211.8 kB / 0.5647 GB, free: 2.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.27/1.668, allocations: 6.078 MB / 0.5707 GB, free: 141.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/1.668, allocations: 0 / 0.5707 GB, free: 141.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006846/1.675, allocations: 2.245 MB / 0.5728 GB, free: 141.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003529/1.679, allocations: 447.7 kB / 0.5733 GB, free: 140.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02659/1.706, allocations: 12.98 MB / 0.5859 GB, free: 134 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006439/1.712, allocations: 3.494 MB / 0.5894 GB, free: 132.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001675/1.714, allocations: 327.8 kB / 0.5897 GB, free: 132.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/1.714, allocations: 7.594 kB / 0.5897 GB, free: 132.7 MB / 410.7 MB Notification: Performance of Templates: time 0.4976/2.211, allocations: 132.8 MB / 0.7194 GB, free: 134.3 MB / 410.7 MB