Running command: translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadModel(ModelicaTest): time 1.924/1.924, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.365e-05/3.354e-05, allocations: 7.984 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3553, allocations: 48.7 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.04706/0.4024, allocations: 30.33 MB / 355.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02273/0.4251, allocations: 7.166 MB / 362.3 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008484/0.4337, allocations: 148.2 kB / 362.5 MB, free: 9.168 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008407/0.4421, allocations: 1.615 MB / 364.1 MB, free: 7.992 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01931/0.4615, allocations: 4.485 MB / 368.6 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003161/0.4647, allocations: 463.2 kB / 369 MB, free: 3.289 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005054/0.4698, allocations: 1.49 MB / 370.5 MB, free: 1.797 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005698/0.4756, allocations: 2.623 MB / 373.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.4773, allocations: 0.7636 MB / 373.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0026/0.4799, allocations: 1.258 MB / 375.2 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00264/0.4826, allocations: 0.7958 MB / 376 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009551/0.4836, allocations: 124 kB / 376.1 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002441/0.4861, allocations: 1.453 MB / 377.5 MB, free: 10.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.4872, allocations: 244 kB / 377.8 MB, free: 10.51 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009139/0.4964, allocations: 5.434 MB / 383.2 MB, free: 5.059 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.4964, allocations: 0 / 383.2 MB, free: 5.059 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.786e-06/0.4965, allocations: 0 / 383.2 MB, free: 5.059 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002274/0.4967, allocations: 0 / 383.2 MB, free: 5.059 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: 1680 * Number of variables: 1680 Notification: Performance of Generate backend data structure: time 0.01279/0.5095, allocations: 3.953 MB / 387.2 MB, free: 1.039 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.5096, allocations: 12.03 kB / 387.2 MB, free: 1.027 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02386/0.5334, allocations: 3.769 MB / 390.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007508/0.541, allocations: 2.365 MB / 393.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003161/0.5414, allocations: 217.6 kB / 393.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002276/0.5437, allocations: 291.8 kB / 393.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0401/0.5838, allocations: 11.4 MB / 405.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002147/0.5841, allocations: 31.7 kB / 405.2 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00144/0.5856, allocations: 139.8 kB / 405.4 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01049/0.5961, allocations: 2.644 MB / 408 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03893/0.6351, allocations: 10.54 MB / 418.6 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08559/0.7207, allocations: 37.49 MB / 456.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01527/0.736, allocations: 4.565 MB / 460.6 MB, free: 5.844 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001919/0.738, allocations: 1.311 MB / 461.9 MB, free: 4.312 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/0.7381, allocations: 60.55 kB / 462 MB, free: 4.246 MB / 394.7 MB Notification: Performance of pre-optimization done (n=242): time 5.79e-06/0.7381, allocations: 3.938 kB / 462 MB, free: 4.242 MB / 394.7 MB Notification: Performance of matching and sorting (n=254): time 0.07275/0.8109, allocations: 18.15 MB / 480.1 MB, free: 1.914 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.123e-05/0.811, allocations: 73.41 kB / 480.2 MB, free: 1.828 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3166/1.128, allocations: 2.562 MB / 482.8 MB, free: 126.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005627/1.128, allocations: 59.17 kB / 482.8 MB, free: 126 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002392/1.131, allocations: 2.832 MB / 485.7 MB, free: 124.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001521/1.132, allocations: 0.917 MB / 486.6 MB, free: 123.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005719/1.133, allocations: 102.3 kB / 486.7 MB, free: 123.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000475/1.133, allocations: 0.5459 MB / 487.2 MB, free: 123.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006367/1.14, allocations: 2.302 MB / 489.5 MB, free: 122.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00846/1.148, allocations: 5.238 MB / 494.8 MB, free: 118 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008737/1.157, allocations: 3.466 MB / 498.2 MB, free: 116.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001621/1.157, allocations: 30.22 kB / 498.3 MB, free: 116.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=723) (initialization): time 0.02498/1.182, allocations: 8.228 MB / 0.4946 GB, free: 113.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/1.182, allocations: 48.12 kB / 0.4947 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002076/1.183, allocations: 107.3 kB / 0.4948 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004941/1.188, allocations: 0.9534 MB / 0.4957 GB, free: 113.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008401/1.196, allocations: 1.233 MB / 0.4969 GB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009969/1.206, allocations: 4.931 MB / 0.5017 GB, free: 111 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005531/1.212, allocations: 308.2 kB / 0.502 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001207/1.213, allocations: 316.8 kB / 0.5023 GB, free: 110.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 468 * Number of states: 0 () * Number of discrete variables: 30 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (662): * Single equations (assignments): 655 * Array equations: 6 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005439/1.218, allocations: 2.144 MB / 0.5044 GB, free: 109.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007126/1.219, allocations: 284 kB / 0.5047 GB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/1.233, allocations: 5.118 MB / 0.5097 GB, free: 107.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001052/1.234, allocations: 50.23 kB / 0.5097 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/1.234, allocations: 4 kB / 0.5097 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-05/1.234, allocations: 11.64 kB / 0.5097 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03084/1.264, allocations: 11.95 MB / 0.5214 GB, free: 95.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.959e-05/1.265, allocations: 12.25 kB / 0.5214 GB, free: 95.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003319/1.268, allocations: 395.4 kB / 0.5218 GB, free: 95.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004217/1.272, allocations: 0.7731 MB / 0.5225 GB, free: 94.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005434/1.273, allocations: 58.33 kB / 0.5226 GB, free: 94.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008246/1.281, allocations: 4.205 MB / 0.5267 GB, free: 89.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/1.281, allocations: 15.94 kB / 0.5267 GB, free: 89.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01802/1.299, allocations: 8.445 MB / 0.535 GB, free: 81.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002349/1.302, allocations: 0.6898 MB / 0.5356 GB, free: 80.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/1.303, allocations: 52.62 kB / 0.5357 GB, free: 80.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00271/1.305, allocations: 150 kB / 0.5358 GB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006512/1.306, allocations: 152.9 kB / 0.536 GB, free: 80.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002612/1.306, allocations: 74.41 kB / 0.5361 GB, free: 79.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003631/1.31, allocations: 1.775 MB / 0.5378 GB, free: 78.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.52e-07/1.31, allocations: 0 / 0.5378 GB, free: 78.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006099/1.316, allocations: 1.013 MB / 0.5388 GB, free: 77.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 189 * Array equations: 6 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001013/1.317, allocations: 203.2 kB / 0.539 GB, free: 76.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01226/1.329, allocations: 5.607 MB / 0.5444 GB, free: 71.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/1.329, allocations: 0.9375 kB / 0.5444 GB, free: 71.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004623/1.334, allocations: 2.137 MB / 0.5465 GB, free: 69.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/1.337, allocations: 344.6 kB / 0.5469 GB, free: 68.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02619/1.363, allocations: 12.71 MB / 0.5593 GB, free: 56.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006646/1.37, allocations: 3.52 MB / 0.5627 GB, free: 52.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001849/1.372, allocations: 263.4 kB / 0.563 GB, free: 52.2 MB / 410.7 MB Notification: Performance of SimCode: time 2.044e-06/1.372, allocations: 0 / 0.563 GB, free: 52.2 MB / 410.7 MB Notification: Performance of Templates: time 0.4096/1.781, allocations: 73.74 MB / 0.635 GB, free: 128 MB / 426.7 MB