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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadModel(Modelica): time 1.749/1.749, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.024e-05/3.031e-05, allocations: 6.188 kB / 228.2 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08385/0.08391, allocations: 38.77 MB / 266.9 MB, free: 480 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.04284/0.1268, allocations: 27.31 MB / 294.2 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2479/0.3748, allocations: 6.781 MB / 301 MB, free: 3.789 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006306/0.3811, allocations: 139.6 kB / 301.1 MB, free: 3.789 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005145/0.3863, allocations: 1.385 MB / 302.5 MB, free: 3.789 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0153/0.4017, allocations: 3.937 MB / 306.5 MB, free: 3.711 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003277/0.405, allocations: 0.5423 MB / 307 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004297/0.4093, allocations: 1.389 MB / 308.4 MB, free: 3.637 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006029/0.4154, allocations: 2.962 MB / 311.4 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001996/0.4175, allocations: 0.6713 MB / 312 MB, free: 2.664 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002754/0.4203, allocations: 1.09 MB / 313.1 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002996/0.4233, allocations: 0.8627 MB / 314 MB, free: 2.195 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001155/0.4245, allocations: 116.9 kB / 314.1 MB, free: 2.195 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002193/0.4267, allocations: 1.221 MB / 315.3 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.428, allocations: 216.3 kB / 315.5 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008906/0.437, allocations: 4.603 MB / 320.1 MB, free: 0 / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.437, allocations: 0 / 320.1 MB, free: 0 / 250.7 MB Notification: Performance of FrontEnd: time 3.417e-06/0.437, allocations: 64 / 320.1 MB, free: 0 / 250.7 MB Notification: Performance of Transformations before backend: time 0.000237/0.4373, allocations: 4.047 kB / 320.1 MB, free: 15.99 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1322 * Number of variables: 1322 Notification: Performance of Generate backend data structure: time 0.01165/0.449, allocations: 3.381 MB / 323.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.4491, allocations: 8.875 kB / 323.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01415/0.4632, allocations: 2.235 MB / 325.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006164/0.4694, allocations: 2.042 MB / 327.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/0.4697, allocations: 201.1 kB / 328 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001456/0.4712, allocations: 263.9 kB / 328.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03304/0.5043, allocations: 9.965 MB / 338.2 MB, free: 3.793 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002142/0.5046, allocations: 36.16 kB / 338.3 MB, free: 3.777 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001497/0.5061, allocations: 132.9 kB / 338.4 MB, free: 3.734 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005302/0.5114, allocations: 1.774 MB / 340.2 MB, free: 2.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03178/0.5432, allocations: 8.52 MB / 348.7 MB, free: 11.13 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0722/0.6155, allocations: 36.72 MB / 385.4 MB, free: 5.832 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03272/0.6483, allocations: 6.122 MB / 391.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02283/0.6712, allocations: 8.095 MB / 399.6 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.667e-05/0.6713, allocations: 47.56 kB / 399.7 MB, free: 7.258 MB / 330.7 MB Notification: Performance of pre-optimization done (n=139): time 1.011e-05/0.6714, allocations: 0 / 399.7 MB, free: 7.258 MB / 330.7 MB Notification: Performance of matching and sorting (n=155): time 0.1824/0.8537, allocations: 23.3 MB / 423 MB, free: 15.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.8539, allocations: 145.5 kB / 423.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007835/0.8618, allocations: 3.191 MB / 426.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004996/0.8623, allocations: 45.7 kB / 426.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003118/0.8654, allocations: 2.715 MB / 429.1 MB, free: 9.656 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001164/0.8666, allocations: 0.6076 MB / 429.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005909/0.8673, allocations: 108 kB / 429.8 MB, free: 8.949 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004474/0.8677, allocations: 0.5334 MB / 430.3 MB, free: 8.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005885/0.8736, allocations: 2.029 MB / 432.3 MB, free: 6.375 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.239/1.113, allocations: 5.404 MB / 437.7 MB, free: 121.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009129/1.122, allocations: 3.196 MB / 440.9 MB, free: 121.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001368/1.122, allocations: 35.12 kB / 441 MB, free: 121.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.02771/1.15, allocations: 8.277 MB / 449.2 MB, free: 119.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000126/1.15, allocations: 65.2 kB / 449.3 MB, free: 119.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002354/1.15, allocations: 120.6 kB / 449.4 MB, free: 119.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007455/1.158, allocations: 1.309 MB / 450.7 MB, free: 119.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007809/1.166, allocations: 1.256 MB / 452 MB, free: 119 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/1.18, allocations: 6.256 MB / 458.3 MB, free: 116 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006078/1.186, allocations: 324.2 kB / 458.6 MB, free: 116 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/1.187, allocations: 349.5 kB / 458.9 MB, free: 115.9 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 549 * 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 (667): * Single equations (assignments): 663 * 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.004242/1.191, allocations: 1.744 MB / 460.7 MB, free: 115.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007494/1.192, allocations: 305 kB / 461 MB, free: 115.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/1.204, allocations: 3.567 MB / 464.5 MB, free: 113.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.987e-05/1.204, allocations: 17.41 kB / 464.5 MB, free: 113.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/1.205, allocations: 11.22 kB / 464.5 MB, free: 113.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.059e-05/1.205, allocations: 10.03 kB / 464.6 MB, free: 113.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02389/1.228, allocations: 7.818 MB / 472.4 MB, free: 107.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.211e-05/1.229, allocations: 0 / 472.4 MB, free: 107.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002407/1.231, allocations: 243.7 kB / 472.6 MB, free: 107.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00669/1.238, allocations: 1.119 MB / 473.7 MB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004746/1.238, allocations: 33.62 kB / 473.8 MB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01317/1.251, allocations: 5.88 MB / 479.6 MB, free: 100.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.251, allocations: 8.062 kB / 479.7 MB, free: 100.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01713/1.269, allocations: 6.087 MB / 485.7 MB, free: 94.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002055/1.271, allocations: 0.5985 MB / 486.3 MB, free: 93.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/1.272, allocations: 27.95 kB / 486.4 MB, free: 93.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002924/1.275, allocations: 109.8 kB / 486.5 MB, free: 93.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005586/1.275, allocations: 84.81 kB / 486.6 MB, free: 93.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001937/1.276, allocations: 40 kB / 486.6 MB, free: 93.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004985/1.281, allocations: 2.22 MB / 488.8 MB, free: 90.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.212e-06/1.281, allocations: 4 kB / 488.8 MB, free: 90.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006073/1.287, allocations: 0.9208 MB / 489.7 MB, free: 90 MB / 362.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.000903/1.288, allocations: 171.1 kB / 489.9 MB, free: 89.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01172/1.299, allocations: 4.939 MB / 494.8 MB, free: 84.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.299, allocations: 3.938 kB / 494.8 MB, free: 84.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004128/1.304, allocations: 1.631 MB / 496.5 MB, free: 83.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/1.306, allocations: 308 kB / 496.8 MB, free: 82.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02164/1.328, allocations: 9.604 MB / 0.4945 GB, free: 73.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004906/1.333, allocations: 2.892 MB / 0.4973 GB, free: 70.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00727/1.34, allocations: 1.705 MB / 0.499 GB, free: 68.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/1.342, allocations: 211.4 kB / 0.4992 GB, free: 68.51 MB / 362.7 MB Notification: Performance of SimCode: time 1.252e-06/1.342, allocations: 0 / 0.4992 GB, free: 68.51 MB / 362.7 MB Notification: Performance of Templates: time 0.08549/1.427, allocations: 31.84 MB / 0.5303 GB, free: 36.76 MB / 362.7 MB