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.2_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadModel(ModelicaTest): time 2.394/2.394, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.043e-05/3.057e-05, allocations: 4 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3777, allocations: 54.85 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.04999/0.4277, allocations: 30.35 MB / 393.2 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02179/0.4496, allocations: 7.198 MB / 400.4 MB, free: 8.113 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006791/0.4564, allocations: 159.6 kB / 400.6 MB, free: 7.957 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006008/0.4625, allocations: 1.61 MB / 402.2 MB, free: 6.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01685/0.4794, allocations: 4.472 MB / 406.7 MB, free: 1.855 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002763/0.4822, allocations: 447.2 kB / 407.1 MB, free: 1.418 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004634/0.4869, allocations: 1.508 MB / 408.6 MB, free: 15.91 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005871/0.4928, allocations: 2.624 MB / 411.2 MB, free: 13.25 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00219/0.4951, allocations: 0.7636 MB / 412 MB, free: 12.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00312/0.4983, allocations: 1.258 MB / 413.3 MB, free: 11.22 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002883/0.5012, allocations: 0.7958 MB / 414 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001045/0.5023, allocations: 128 kB / 414.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002132/0.5045, allocations: 1.453 MB / 415.6 MB, free: 8.844 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000986/0.5055, allocations: 244 kB / 415.9 MB, free: 8.605 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00839/0.5139, allocations: 5.427 MB / 421.3 MB, free: 3.168 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5139, allocations: 0 / 421.3 MB, free: 3.168 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.514, allocations: 0 / 421.3 MB, free: 3.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002128/0.5142, allocations: 0 / 421.3 MB, free: 3.168 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1681 * Number of variables: 1681 Notification: Performance of Generate backend data structure: time 0.01224/0.5264, allocations: 3.968 MB / 425.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.5265, allocations: 15.91 kB / 425.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02341/0.5499, allocations: 3.769 MB / 429 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007539/0.5575, allocations: 2.354 MB / 431.4 MB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002668/0.5578, allocations: 225.5 kB / 431.6 MB, free: 8.711 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001276/0.5591, allocations: 295.8 kB / 431.9 MB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02842/0.5876, allocations: 11.4 MB / 443.3 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001432/0.5878, allocations: 27.8 kB / 443.3 MB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007514/0.5885, allocations: 135.8 kB / 443.5 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007768/0.5963, allocations: 2.652 MB / 446.1 MB, free: 9.742 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03337/0.6297, allocations: 10.54 MB / 456.7 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08416/0.714, allocations: 37.5 MB / 494.2 MB, free: 8.711 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0155/0.7295, allocations: 4.559 MB / 498.7 MB, free: 3.934 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001892/0.7315, allocations: 1.323 MB / 0.4883 GB, free: 2.391 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/0.7315, allocations: 48.56 kB / 0.4884 GB, free: 2.336 MB / 426.7 MB Notification: Performance of pre-optimization done (n=242): time 6.422e-06/0.7316, allocations: 0 / 0.4884 GB, free: 2.336 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.3971/1.129, allocations: 18.15 MB / 0.5061 GB, free: 115.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/1.129, allocations: 72.53 kB / 0.5062 GB, free: 115.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004603/1.133, allocations: 2.565 MB / 0.5087 GB, free: 114.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005147/1.134, allocations: 57.83 kB / 0.5087 GB, free: 114.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00191/1.136, allocations: 2.846 MB / 0.5115 GB, free: 111.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001286/1.137, allocations: 0.9156 MB / 0.5124 GB, free: 110.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000483/1.138, allocations: 105.3 kB / 0.5125 GB, free: 110.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003425/1.138, allocations: 0.5396 MB / 0.513 GB, free: 110.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005442/1.144, allocations: 2.298 MB / 0.5153 GB, free: 108.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007528/1.151, allocations: 5.239 MB / 0.5204 GB, free: 101.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007343/1.159, allocations: 3.471 MB / 0.5238 GB, free: 98.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-05/1.159, allocations: 28 kB / 0.5238 GB, free: 98.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=723) (initialization): time 0.02246/1.181, allocations: 8.292 MB / 0.5319 GB, free: 90.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/1.181, allocations: 52.25 kB / 0.5319 GB, free: 90.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001208/1.181, allocations: 104 kB / 0.532 GB, free: 89.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004613/1.186, allocations: 0.945 MB / 0.533 GB, free: 88.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007466/1.194, allocations: 1.24 MB / 0.5342 GB, free: 87.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009571/1.203, allocations: 4.929 MB / 0.539 GB, free: 82.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005384/1.209, allocations: 309.5 kB / 0.5393 GB, free: 82.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001164/1.21, allocations: 308.9 kB / 0.5396 GB, free: 82.09 MB / 426.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.004847/1.215, allocations: 2.148 MB / 0.5417 GB, free: 79.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006437/1.215, allocations: 284.3 kB / 0.542 GB, free: 79.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/1.228, allocations: 5.116 MB / 0.5469 GB, free: 74.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.912e-05/1.229, allocations: 51.02 kB / 0.547 GB, free: 74.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.229, allocations: 4 kB / 0.547 GB, free: 74.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.557e-05/1.229, allocations: 11.97 kB / 0.547 GB, free: 74.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03182/1.26, allocations: 11.95 MB / 0.5587 GB, free: 62.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.933e-05/1.261, allocations: 12 kB / 0.5587 GB, free: 62.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003407/1.264, allocations: 399.3 kB / 0.5591 GB, free: 61.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0042/1.268, allocations: 0.7736 MB / 0.5598 GB, free: 61.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005628/1.269, allocations: 53.66 kB / 0.5599 GB, free: 61.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00821/1.277, allocations: 4.202 MB / 0.564 GB, free: 56.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-05/1.277, allocations: 16 kB / 0.564 GB, free: 56.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01829/1.295, allocations: 8.464 MB / 0.5723 GB, free: 47.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002452/1.298, allocations: 0.6809 MB / 0.5729 GB, free: 47.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008814/1.299, allocations: 45.64 kB / 0.573 GB, free: 47.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002581/1.301, allocations: 147.8 kB / 0.5731 GB, free: 47.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005545/1.302, allocations: 153.9 kB / 0.5733 GB, free: 46.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002507/1.302, allocations: 73.16 kB / 0.5733 GB, free: 46.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003548/1.306, allocations: 1.771 MB / 0.5751 GB, free: 45.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.002e-06/1.306, allocations: 0 / 0.5751 GB, free: 45.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005779/1.312, allocations: 1.018 MB / 0.5761 GB, free: 44.02 MB / 426.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.0009677/1.313, allocations: 212.8 kB / 0.5763 GB, free: 43.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.012/1.325, allocations: 5.592 MB / 0.5817 GB, free: 38.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/1.325, allocations: 4 kB / 0.5817 GB, free: 38.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00495/1.33, allocations: 2.15 MB / 0.5838 GB, free: 36.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00297/1.333, allocations: 349.2 kB / 0.5842 GB, free: 35.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02545/1.358, allocations: 12.21 MB / 0.5961 GB, free: 23.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005893/1.364, allocations: 3.52 MB / 0.5995 GB, free: 19.81 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007752/1.372, allocations: 1.998 MB / 0.6015 GB, free: 17.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/1.374, allocations: 219.3 kB / 0.6017 GB, free: 17.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/1.374, allocations: 0 / 0.6017 GB, free: 17.59 MB / 426.7 MB Notification: Performance of Templates: time 0.09481/1.468, allocations: 31.98 MB / 0.6329 GB, free: 1.742 MB / 442.7 MB