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.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadModel(Modelica): time 2.143/2.143, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.09e-05, allocations: 7.984 kB / 269.4 MB, free: 6.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0837/0.08375, allocations: 47.57 MB / 316.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3655/0.4492, allocations: 99.6 MB / 416.5 MB, free: 4.789 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.4496, allocations: 90.38 kB / 416.6 MB, free: 4.742 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2982/0.7478, allocations: 75.64 MB / 492.3 MB, free: 15.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.122e-06/0.7479, allocations: 0 / 492.3 MB, free: 15.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001837/0.7481, allocations: 71.94 kB / 492.3 MB, free: 15.74 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.01226/0.7603, allocations: 3.492 MB / 495.8 MB, free: 12.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.7604, allocations: 8.031 kB / 495.8 MB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01286/0.7733, allocations: 2.269 MB / 498.1 MB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01307/0.7864, allocations: 3.936 MB / 0.4903 GB, free: 5.918 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004189/0.7868, allocations: 279.3 kB / 0.4905 GB, free: 5.645 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001602/0.7885, allocations: 371.8 kB / 0.4909 GB, free: 5.281 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03367/0.8222, allocations: 10.34 MB / 0.501 GB, free: 9.977 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001888/0.8224, allocations: 55.47 kB / 0.501 GB, free: 9.922 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001045/0.8234, allocations: 183.9 kB / 0.5012 GB, free: 9.742 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002105/0.8256, allocations: 1.001 MB / 0.5022 GB, free: 8.738 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02404/0.8496, allocations: 8.411 MB / 0.5104 GB, free: 324 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2886/1.138, allocations: 44.73 MB / 0.5541 GB, free: 72.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01261/1.151, allocations: 3.818 MB / 0.5578 GB, free: 72.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003194/1.154, allocations: 1.762 MB / 0.5595 GB, free: 72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01399/1.168, allocations: 7.656 MB / 0.567 GB, free: 68.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/1.168, allocations: 53.09 kB / 0.5671 GB, free: 68.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 6.457e-06/1.168, allocations: 0 / 0.5671 GB, free: 68.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=166): time 0.05846/1.227, allocations: 14.71 MB / 0.5814 GB, free: 63.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/1.227, allocations: 151.5 kB / 0.5816 GB, free: 63.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006204/1.233, allocations: 3.056 MB / 0.5846 GB, free: 62.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003474/1.234, allocations: 54.5 kB / 0.5846 GB, free: 62.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001984/1.236, allocations: 2.732 MB / 0.5873 GB, free: 60.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008087/1.236, allocations: 0.6499 MB / 0.5879 GB, free: 60.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005541/1.237, allocations: 106.6 kB / 0.588 GB, free: 60.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003502/1.237, allocations: 0.5403 MB / 0.5885 GB, free: 59.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003695/1.241, allocations: 1.869 MB / 0.5904 GB, free: 59.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005495/1.247, allocations: 5.221 MB / 0.5955 GB, free: 53.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005725/1.252, allocations: 3.094 MB / 0.5985 GB, free: 52.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.169e-05/1.252, allocations: 33.69 kB / 0.5985 GB, free: 52.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.0193/1.272, allocations: 7.649 MB / 0.606 GB, free: 50.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.048e-05/1.272, allocations: 54.72 kB / 0.606 GB, free: 50.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001217/1.272, allocations: 124.7 kB / 0.6062 GB, free: 50.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004868/1.277, allocations: 1.311 MB / 0.6074 GB, free: 50.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00537/1.282, allocations: 1.273 MB / 0.6087 GB, free: 50.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/1.293, allocations: 6.122 MB / 0.6147 GB, free: 44.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005784/1.299, allocations: 339.5 kB / 0.615 GB, free: 44.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/1.3, allocations: 343.5 kB / 0.6153 GB, free: 44.2 MB / 426.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.001234/1.301, allocations: 0.5244 MB / 0.6158 GB, free: 43.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006897/1.302, allocations: 308 kB / 0.6161 GB, free: 43.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008626/1.31, allocations: 3.334 MB / 0.6194 GB, free: 40.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.766e-05/1.311, allocations: 21.42 kB / 0.6194 GB, free: 40.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/1.311, allocations: 4 kB / 0.6194 GB, free: 40.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.389e-05/1.311, allocations: 10.94 kB / 0.6194 GB, free: 40.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01814/1.329, allocations: 7.556 MB / 0.6268 GB, free: 34.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.351e-05/1.329, allocations: 0 / 0.6268 GB, free: 34.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/1.33, allocations: 242.9 kB / 0.627 GB, free: 34.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004585/1.335, allocations: 1.122 MB / 0.6281 GB, free: 33.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003103/1.335, allocations: 29.25 kB / 0.6281 GB, free: 33.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/1.346, allocations: 5.749 MB / 0.6337 GB, free: 28.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.462e-06/1.346, allocations: 3.938 kB / 0.6338 GB, free: 28.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/1.357, allocations: 5.688 MB / 0.6393 GB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/1.359, allocations: 0.5867 MB / 0.6399 GB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007496/1.36, allocations: 27.98 kB / 0.6399 GB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002188/1.362, allocations: 111.8 kB / 0.64 GB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003322/1.363, allocations: 92.75 kB / 0.6401 GB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/1.363, allocations: 44 kB / 0.6401 GB, free: 22.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004105/1.367, allocations: 2.106 MB / 0.6422 GB, free: 20.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.086e-06/1.367, allocations: 0 / 0.6422 GB, free: 20.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006094/1.373, allocations: 0.915 MB / 0.6431 GB, free: 19.89 MB / 426.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.0005306/1.374, allocations: 184.4 kB / 0.6433 GB, free: 19.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008724/1.382, allocations: 4.483 MB / 0.6476 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.328e-06/1.382, allocations: 0 / 0.6476 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002886/1.385, allocations: 1.493 MB / 0.6491 GB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/1.387, allocations: 317.2 kB / 0.6494 GB, free: 13.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/1.402, allocations: 6.595 MB / 0.6558 GB, free: 6.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004272/1.407, allocations: 2.92 MB / 0.6587 GB, free: 3.879 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005817/1.412, allocations: 1.703 MB / 0.6604 GB, free: 2.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009409/1.413, allocations: 219.4 kB / 0.6606 GB, free: 1.965 MB / 426.7 MB Notification: Performance of SimCode: time 2.734e-06/1.413, allocations: 0 / 0.6606 GB, free: 1.965 MB / 426.7 MB Notification: Performance of Templates: time 0.3299/1.743, allocations: 31.3 MB / 0.6911 GB, free: 109.2 MB / 442.7 MB