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_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadModel(ModelicaTest): time 2.137/2.137, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.773e-05, allocations: 7.984 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4004, allocations: 48.69 MB / 324.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.04812/0.4486, allocations: 30.33 MB / 355.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02395/0.4726, allocations: 7.165 MB / 362.4 MB, free: 9.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008028/0.4807, allocations: 154.7 kB / 362.5 MB, free: 9.387 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006493/0.4872, allocations: 1.617 MB / 364.1 MB, free: 8.145 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01874/0.506, allocations: 4.468 MB / 368.6 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00331/0.5094, allocations: 471.1 kB / 369.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005105/0.5145, allocations: 1.487 MB / 370.6 MB, free: 1.715 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005665/0.5202, allocations: 2.63 MB / 373.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.522, allocations: 0.7558 MB / 373.9 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002601/0.5246, allocations: 1.262 MB / 375.2 MB, free: 13.03 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/0.5273, allocations: 0.7958 MB / 376 MB, free: 12.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009233/0.5282, allocations: 128 kB / 376.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002232/0.5305, allocations: 1.445 MB / 377.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.5316, allocations: 244 kB / 377.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009149/0.5408, allocations: 5.427 MB / 383.2 MB, free: 4.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5409, allocations: 0 / 383.2 MB, free: 4.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.957e-06/0.5409, allocations: 0 / 383.2 MB, free: 4.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002701/0.5412, allocations: 0 / 383.2 MB, free: 4.98 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.01374/0.5549, allocations: 3.968 MB / 387.2 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.555, allocations: 8.031 kB / 387.2 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0238/0.5788, allocations: 3.769 MB / 391 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00732/0.5862, allocations: 2.358 MB / 393.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003006/0.5865, allocations: 221.5 kB / 393.6 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001625/0.5882, allocations: 291.8 kB / 393.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03125/0.6194, allocations: 11.4 MB / 405.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001736/0.6197, allocations: 27.77 kB / 405.3 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001534/0.6212, allocations: 139.8 kB / 405.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008046/0.6293, allocations: 2.652 MB / 408.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03419/0.6635, allocations: 10.53 MB / 418.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.087/0.7506, allocations: 37.5 MB / 456.1 MB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01571/0.7664, allocations: 4.569 MB / 460.7 MB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001973/0.7684, allocations: 1.315 MB / 462 MB, free: 4.211 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.293e-05/0.7685, allocations: 48.56 kB / 462 MB, free: 4.156 MB / 394.7 MB Notification: Performance of pre-optimization done (n=242): time 6.062e-06/0.7685, allocations: 4 kB / 462 MB, free: 4.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=254): time 0.08841/0.8569, allocations: 18.14 MB / 480.2 MB, free: 1.828 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.977e-05/0.8571, allocations: 77.34 kB / 480.2 MB, free: 1.738 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2874/1.145, allocations: 2.565 MB / 482.8 MB, free: 126.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005094/1.145, allocations: 56.36 kB / 482.9 MB, free: 126.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0025/1.148, allocations: 2.845 MB / 485.7 MB, free: 125.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001471/1.149, allocations: 0.92 MB / 486.6 MB, free: 124.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005405/1.15, allocations: 106.9 kB / 486.7 MB, free: 124.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004497/1.15, allocations: 0.5385 MB / 487.3 MB, free: 123.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006161/1.156, allocations: 2.296 MB / 489.6 MB, free: 123.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008496/1.165, allocations: 5.233 MB / 494.8 MB, free: 118.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01292/1.178, allocations: 3.472 MB / 498.3 MB, free: 117.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002794/1.178, allocations: 29.88 kB / 498.3 MB, free: 117.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=723) (initialization): time 0.03171/1.21, allocations: 8.308 MB / 0.4947 GB, free: 114.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.812e-05/1.21, allocations: 50 kB / 0.4948 GB, free: 114.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001609/1.21, allocations: 101.9 kB / 0.4949 GB, free: 114.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004828/1.215, allocations: 0.9516 MB / 0.4958 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007615/1.223, allocations: 1.233 MB / 0.497 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009596/1.232, allocations: 4.931 MB / 0.5018 GB, free: 111.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005885/1.238, allocations: 307.6 kB / 0.5021 GB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001242/1.24, allocations: 308.5 kB / 0.5024 GB, free: 111.4 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.005269/1.245, allocations: 2.155 MB / 0.5045 GB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006997/1.246, allocations: 280.9 kB / 0.5048 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/1.259, allocations: 5.124 MB / 0.5098 GB, free: 107.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001036/1.259, allocations: 43.98 kB / 0.5098 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/1.259, allocations: 0 / 0.5098 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.978e-05/1.259, allocations: 11.92 kB / 0.5098 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02943/1.288, allocations: 11.95 MB / 0.5215 GB, free: 95.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-05/1.289, allocations: 8.875 kB / 0.5215 GB, free: 95.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003261/1.292, allocations: 403.3 kB / 0.5219 GB, free: 94.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004123/1.296, allocations: 0.7825 MB / 0.5227 GB, free: 94.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004389/1.296, allocations: 44 kB / 0.5227 GB, free: 94.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/1.307, allocations: 4.213 MB / 0.5268 GB, free: 89.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2e-05/1.307, allocations: 15.94 kB / 0.5268 GB, free: 89.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02371/1.331, allocations: 8.442 MB / 0.5351 GB, free: 80.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002327/1.333, allocations: 0.6848 MB / 0.5358 GB, free: 80.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00129/1.335, allocations: 51.67 kB / 0.5358 GB, free: 80.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003593/1.338, allocations: 149.8 kB / 0.5359 GB, free: 79.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006637/1.339, allocations: 152.9 kB / 0.5361 GB, free: 79.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003288/1.339, allocations: 72.7 kB / 0.5362 GB, free: 79.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004479/1.344, allocations: 1.775 MB / 0.5379 GB, free: 77.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.51e-07/1.344, allocations: 0 / 0.5379 GB, free: 77.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008111/1.352, allocations: 1.015 MB / 0.5389 GB, free: 76.98 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.0009851/1.353, allocations: 207.4 kB / 0.5391 GB, free: 76.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01625/1.369, allocations: 5.603 MB / 0.5446 GB, free: 71.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.563e-05/1.37, allocations: 4 kB / 0.5446 GB, free: 71.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006343/1.376, allocations: 2.146 MB / 0.5467 GB, free: 69.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003565/1.38, allocations: 339.7 kB / 0.547 GB, free: 68.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0326/1.412, allocations: 12.21 MB / 0.5589 GB, free: 56.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007047/1.419, allocations: 3.524 MB / 0.5623 GB, free: 52.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007935/1.427, allocations: 1.996 MB / 0.5643 GB, free: 50.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/1.429, allocations: 215.4 kB / 0.5645 GB, free: 50.55 MB / 410.7 MB Notification: Performance of SimCode: time 2.965e-06/1.429, allocations: 0 / 0.5645 GB, free: 50.55 MB / 410.7 MB Notification: Performance of Templates: time 0.09036/1.519, allocations: 31.97 MB / 0.5957 GB, free: 18.73 MB / 410.7 MB