Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadModel(Modelica): time 1.993/1.993, allocations: 194.9 MB / 208 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.526e-05/2.542e-05, allocations: 4 kB / 255.4 MB, free: 2.688 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07726/0.0773, allocations: 44.5 MB / 299.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3443/0.4217, allocations: 92.81 MB / 392.7 MB, free: 19.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.4219, allocations: 85.98 kB / 392.8 MB, free: 19.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.273/0.695, allocations: 73.99 MB / 466.8 MB, free: 5.262 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.099e-06/0.695, allocations: 0 / 466.8 MB, free: 5.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000173/0.6952, allocations: 68 kB / 466.8 MB, free: 5.195 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1323 * Number of variables: 1323 Notification: Performance of Generate backend data structure: time 0.01071/0.7059, allocations: 3.425 MB / 470.3 MB, free: 1.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.706, allocations: 12.03 kB / 470.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01289/0.7189, allocations: 2.257 MB / 472.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01293/0.7319, allocations: 3.901 MB / 476.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003598/0.7323, allocations: 279.1 kB / 476.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001289/0.7336, allocations: 359.9 kB / 477 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02601/0.7596, allocations: 10.21 MB / 487.3 MB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001653/0.7598, allocations: 51.47 kB / 487.3 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007401/0.7606, allocations: 183.9 kB / 487.5 MB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002007/0.7626, allocations: 0.9819 MB / 488.5 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02329/0.7859, allocations: 8.306 MB / 496.8 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3033/1.089, allocations: 44.35 MB / 0.5284 GB, free: 53.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02164/1.111, allocations: 3.527 MB / 0.5319 GB, free: 52.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005123/1.116, allocations: 1.732 MB / 0.5336 GB, free: 52.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02292/1.139, allocations: 7.137 MB / 0.5406 GB, free: 51.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.824e-05/1.139, allocations: 55.17 kB / 0.5406 GB, free: 51 MB / 394.7 MB Notification: Performance of pre-optimization done (n=139): time 1.082e-05/1.139, allocations: 0 / 0.5406 GB, free: 51 MB / 394.7 MB Notification: Performance of matching and sorting (n=155): time 0.05931/1.199, allocations: 14.36 MB / 0.5546 GB, free: 48.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/1.199, allocations: 146.8 kB / 0.5548 GB, free: 48.35 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005927/1.205, allocations: 3.041 MB / 0.5577 GB, free: 48.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000322/1.205, allocations: 47.75 kB / 0.5578 GB, free: 47.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001826/1.207, allocations: 2.703 MB / 0.5604 GB, free: 46.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007185/1.208, allocations: 0.6115 MB / 0.561 GB, free: 46.22 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004683/1.208, allocations: 111.7 kB / 0.5611 GB, free: 46.22 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003357/1.208, allocations: 0.5296 MB / 0.5616 GB, free: 45.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003976/1.212, allocations: 1.842 MB / 0.5634 GB, free: 45.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005744/1.218, allocations: 5.173 MB / 0.5685 GB, free: 40.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005795/1.224, allocations: 3.043 MB / 0.5715 GB, free: 39.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.773e-05/1.224, allocations: 34.38 kB / 0.5715 GB, free: 39.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=708) (initialization): time 0.01918/1.243, allocations: 7.558 MB / 0.5789 GB, free: 37.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.788e-05/1.243, allocations: 54.97 kB / 0.5789 GB, free: 37.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001306/1.244, allocations: 119.8 kB / 0.579 GB, free: 37.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005287/1.249, allocations: 1.311 MB / 0.5803 GB, free: 37.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005952/1.255, allocations: 1.261 MB / 0.5816 GB, free: 37.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/1.266, allocations: 6.111 MB / 0.5875 GB, free: 34.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005538/1.272, allocations: 350.8 kB / 0.5879 GB, free: 34.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009061/1.273, allocations: 334.3 kB / 0.5882 GB, free: 34.22 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 547 * Number of states: 0 () * Number of discrete variables: 33 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],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],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 (665): * Single equations (assignments): 661 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009072/1.274, allocations: 0.5205 MB / 0.5887 GB, free: 33.79 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00062/1.274, allocations: 298.6 kB / 0.589 GB, free: 33.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008477/1.283, allocations: 3.238 MB / 0.5921 GB, free: 32.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.953e-05/1.283, allocations: 16.84 kB / 0.5921 GB, free: 32.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/1.283, allocations: 3.406 kB / 0.5921 GB, free: 32.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-05/1.283, allocations: 9.984 kB / 0.5922 GB, free: 32.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/1.302, allocations: 7.316 MB / 0.5993 GB, free: 27.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.299e-05/1.302, allocations: 4 kB / 0.5993 GB, free: 27.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/1.303, allocations: 234.4 kB / 0.5995 GB, free: 27.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004448/1.308, allocations: 1.116 MB / 0.6006 GB, free: 26.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003144/1.308, allocations: 28.78 kB / 0.6006 GB, free: 26.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009796/1.318, allocations: 5.742 MB / 0.6063 GB, free: 21.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.624e-06/1.318, allocations: 0 / 0.6063 GB, free: 21.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/1.329, allocations: 5.548 MB / 0.6117 GB, free: 16.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/1.33, allocations: 0.5753 MB / 0.6122 GB, free: 16.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004831/1.331, allocations: 24.42 kB / 0.6123 GB, free: 16.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/1.333, allocations: 106.3 kB / 0.6124 GB, free: 16.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/1.333, allocations: 83.09 kB / 0.6124 GB, free: 16.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/1.333, allocations: 44.7 kB / 0.6125 GB, free: 16.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003746/1.337, allocations: 2.085 MB / 0.6145 GB, free: 14.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.04e-06/1.337, allocations: 0 / 0.6145 GB, free: 14.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005666/1.343, allocations: 0.8966 MB / 0.6154 GB, free: 13.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004723/1.343, allocations: 169.3 kB / 0.6156 GB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00901/1.352, allocations: 4.392 MB / 0.6198 GB, free: 9.383 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/1.352, allocations: 7.969 kB / 0.6199 GB, free: 9.379 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002582/1.355, allocations: 1.44 MB / 0.6213 GB, free: 8.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/1.357, allocations: 312.4 kB / 0.6216 GB, free: 7.793 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/1.372, allocations: 6.571 MB / 0.628 GB, free: 2.031 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005236/1.377, allocations: 2.954 MB / 0.6309 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00573/1.383, allocations: 1.684 MB / 0.6325 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009404/1.384, allocations: 210.5 kB / 0.6327 GB, free: 14.71 MB / 410.7 MB Notification: Performance of SimCode: time 1.932e-06/1.384, allocations: 4 kB / 0.6327 GB, free: 14.71 MB / 410.7 MB Notification: Performance of Templates: time 0.1335/1.517, allocations: 30.43 MB / 0.6624 GB, free: 0.9258 MB / 426.7 MB