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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadModel(Modelica): time 1.958/1.958, allocations: 225.8 MB / 239.4 MB, free: 1.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.71e-05/2.716e-05, allocations: 4 kB / 292.7 MB, free: 11.48 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08858/0.08862, allocations: 50.41 MB / 343.1 MB, free: 9.074 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3798/0.4685, allocations: 101.2 MB / 444.2 MB, free: 3.504 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.4688, allocations: 85.98 kB / 444.3 MB, free: 3.492 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2925/0.7613, allocations: 76.56 MB / 0.5087 GB, free: 15.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.226e-06/0.7613, allocations: 0 / 0.5087 GB, free: 15.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001688/0.7615, allocations: 75.98 kB / 0.5087 GB, free: 15.49 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.009443/0.771, allocations: 3.476 MB / 0.5121 GB, free: 11.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.771, allocations: 12.03 kB / 0.5121 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/0.7835, allocations: 2.269 MB / 0.5144 GB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01237/0.7959, allocations: 3.795 MB / 0.5181 GB, free: 5.824 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003186/0.7963, allocations: 279.3 kB / 0.5183 GB, free: 5.551 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001119/0.7974, allocations: 367.9 kB / 0.5187 GB, free: 5.191 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02543/0.8228, allocations: 10.34 MB / 0.5288 GB, free: 9.883 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001735/0.8231, allocations: 55.41 kB / 0.5288 GB, free: 9.828 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007302/0.8238, allocations: 187.9 kB / 0.529 GB, free: 9.645 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001906/0.8257, allocations: 0.9899 MB / 0.53 GB, free: 8.652 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02331/0.849, allocations: 8.419 MB / 0.5382 GB, free: 228 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3218/1.171, allocations: 44.71 MB / 0.5819 GB, free: 72.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0124/1.183, allocations: 3.817 MB / 0.5856 GB, free: 71.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003118/1.186, allocations: 1.769 MB / 0.5873 GB, free: 71.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01308/1.2, allocations: 7.641 MB / 0.5948 GB, free: 69.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/1.2, allocations: 49.31 kB / 0.5948 GB, free: 69.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=150): time 5.593e-06/1.2, allocations: 0 / 0.5948 GB, free: 69.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=166): time 0.05552/1.255, allocations: 14.65 MB / 0.6091 GB, free: 66.87 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/1.255, allocations: 147.4 kB / 0.6093 GB, free: 66.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006066/1.261, allocations: 3.048 MB / 0.6123 GB, free: 66.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003304/1.262, allocations: 46.12 kB / 0.6123 GB, free: 66.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001856/1.264, allocations: 2.732 MB / 0.615 GB, free: 64.94 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008006/1.264, allocations: 0.6463 MB / 0.6156 GB, free: 64.58 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004834/1.265, allocations: 117.6 kB / 0.6157 GB, free: 64.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003359/1.265, allocations: 0.5336 MB / 0.6162 GB, free: 64.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003697/1.269, allocations: 1.867 MB / 0.6181 GB, free: 63.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005578/1.275, allocations: 5.222 MB / 0.6232 GB, free: 58.69 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005807/1.28, allocations: 3.095 MB / 0.6262 GB, free: 57.81 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/1.281, allocations: 35.81 kB / 0.6262 GB, free: 57.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.01949/1.3, allocations: 7.656 MB / 0.6337 GB, free: 55.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.732e-05/1.3, allocations: 56.25 kB / 0.6337 GB, free: 55.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000137/1.3, allocations: 126.7 kB / 0.6339 GB, free: 55.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005133/1.306, allocations: 1.313 MB / 0.6352 GB, free: 55.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005671/1.311, allocations: 1.267 MB / 0.6364 GB, free: 55.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/1.323, allocations: 6.109 MB / 0.6424 GB, free: 52.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005787/1.328, allocations: 343.1 kB / 0.6427 GB, free: 52.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/1.33, allocations: 341.1 kB / 0.643 GB, free: 52.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * Number of states: 0 () * Number of discrete variables: 36 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (679): * Single equations (assignments): 675 * 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.0009856/1.331, allocations: 0.5283 MB / 0.6435 GB, free: 51.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000668/1.331, allocations: 303.5 kB / 0.6438 GB, free: 51.74 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008265/1.339, allocations: 3.331 MB / 0.6471 GB, free: 50.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.866e-05/1.34, allocations: 16.81 kB / 0.6471 GB, free: 50.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/1.34, allocations: 9.984 kB / 0.6471 GB, free: 50.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.389e-05/1.34, allocations: 14.97 kB / 0.6471 GB, free: 50.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01767/1.357, allocations: 7.555 MB / 0.6545 GB, free: 45.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.538e-05/1.357, allocations: 0 / 0.6545 GB, free: 45.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/1.359, allocations: 239.6 kB / 0.6547 GB, free: 44.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00591/1.365, allocations: 1.111 MB / 0.6558 GB, free: 44.19 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004633/1.365, allocations: 27 kB / 0.6558 GB, free: 44.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0178/1.383, allocations: 5.751 MB / 0.6614 GB, free: 39.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.821e-06/1.383, allocations: 3.75 kB / 0.6614 GB, free: 39.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0199/1.403, allocations: 5.685 MB / 0.667 GB, free: 34.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/1.405, allocations: 366.5 kB / 0.6673 GB, free: 33.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001139/1.406, allocations: 28 kB / 0.6674 GB, free: 33.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004616/1.411, allocations: 107 kB / 0.6675 GB, free: 33.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008111/1.411, allocations: 85.11 kB / 0.6676 GB, free: 33.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003808/1.412, allocations: 46.78 kB / 0.6676 GB, free: 33.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008473/1.42, allocations: 2.098 MB / 0.6696 GB, free: 31.94 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.766e-06/1.42, allocations: 4 kB / 0.6696 GB, free: 31.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01251/1.433, allocations: 0.9192 MB / 0.6705 GB, free: 31.03 MB / 442.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 (129): * Single equations (assignments): 125 * 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.001071/1.434, allocations: 189.7 kB / 0.6707 GB, free: 30.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01896/1.453, allocations: 4.472 MB / 0.6751 GB, free: 26.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.13e-06/1.453, allocations: 0 / 0.6751 GB, free: 26.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002807/1.456, allocations: 1.49 MB / 0.6766 GB, free: 25.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/1.458, allocations: 334.4 kB / 0.6769 GB, free: 25.17 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.473, allocations: 6.566 MB / 0.6833 GB, free: 19.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004075/1.477, allocations: 2.932 MB / 0.6861 GB, free: 17.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005355/1.482, allocations: 1.699 MB / 0.6878 GB, free: 16.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009006/1.483, allocations: 214.3 kB / 0.688 GB, free: 15.83 MB / 442.7 MB Notification: Performance of SimCode: time 1.755e-06/1.483, allocations: 0 / 0.688 GB, free: 15.83 MB / 442.7 MB Notification: Performance of Templates: time 0.08643/1.57, allocations: 31.3 MB / 0.7186 GB, free: 1.363 MB / 458.7 MB