Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadModel(ModelicaTest): time 1.995/1.995, allocations: 209.3 MB / 223.8 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.181e-05/3.194e-05, allocations: 4 kB / 276.2 MB, free: 15.22 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3657, allocations: 48.7 MB / 324.9 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.03802/0.4037, allocations: 23.82 MB / 348.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01951/0.4233, allocations: 5.935 MB / 354.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007788/0.4312, allocations: 116.1 kB / 354.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005442/0.4367, allocations: 1.27 MB / 356 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01586/0.4526, allocations: 3.612 MB / 359.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.4554, allocations: 398.2 kB / 360 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004952/0.4604, allocations: 1.385 MB / 361.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004902/0.4654, allocations: 1.897 MB / 363.3 MB, free: 8.977 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.4675, allocations: 0.6857 MB / 364 MB, free: 8.289 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002885/0.4704, allocations: 1.149 MB / 365.1 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003114/0.4736, allocations: 0.7879 MB / 365.9 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.4746, allocations: 116 kB / 366 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002057/0.4767, allocations: 1.34 MB / 367.4 MB, free: 4.891 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.4778, allocations: 216 kB / 367.6 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008235/0.486, allocations: 4.854 MB / 372.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4861, allocations: 0 / 372.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4861, allocations: 0 / 372.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001849/0.4863, allocations: 0 / 372.4 MB, free: 15.82 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: 1567 * Number of variables: 1567 Notification: Performance of Generate backend data structure: time 0.0113/0.4976, allocations: 3.643 MB / 376.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.4977, allocations: 12.03 kB / 376.1 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0235/0.5212, allocations: 3.73 MB / 379.8 MB, free: 8.352 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006347/0.5276, allocations: 2.115 MB / 381.9 MB, free: 6.191 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/0.528, allocations: 192.8 kB / 382.1 MB, free: 6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001517/0.5295, allocations: 255.7 kB / 382.4 MB, free: 5.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02839/0.5579, allocations: 10.76 MB / 393.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00013/0.5581, allocations: 27.66 kB / 393.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008613/0.559, allocations: 123.8 kB / 393.3 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007881/0.5669, allocations: 2.585 MB / 395.9 MB, free: 7.785 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03189/0.5988, allocations: 10.07 MB / 405.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08524/0.6841, allocations: 35.27 MB / 441.2 MB, free: 9.531 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01717/0.7013, allocations: 5.172 MB / 446.4 MB, free: 4.141 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002747/0.7041, allocations: 1.88 MB / 448.3 MB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.396e-05/0.7042, allocations: 60.48 kB / 448.3 MB, free: 1.863 MB / 378.7 MB Notification: Performance of pre-optimization done (n=229): time 7.273e-06/0.7043, allocations: 0 / 448.3 MB, free: 1.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=235): time 0.06068/0.765, allocations: 14.55 MB / 462.9 MB, free: 3.141 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.7651, allocations: 69.41 kB / 462.9 MB, free: 3.062 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005471/0.7706, allocations: 2.464 MB / 465.4 MB, free: 0.582 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005182/0.7711, allocations: 53.7 kB / 465.5 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002782/0.7739, allocations: 2.698 MB / 468.1 MB, free: 13.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001491/0.7755, allocations: 0.8478 MB / 469 MB, free: 12.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005448/0.776, allocations: 108 kB / 469.1 MB, free: 12.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004788/0.7765, allocations: 0.5254 MB / 469.6 MB, free: 12.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005922/0.7825, allocations: 2.193 MB / 471.8 MB, free: 10.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009035/0.7916, allocations: 5.057 MB / 476.9 MB, free: 3.605 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008502/0.8001, allocations: 3.334 MB / 480.2 MB, free: 272 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001067/0.8003, allocations: 28 kB / 480.2 MB, free: 244 kB / 410.7 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.3245/1.125, allocations: 7.852 MB / 488.1 MB, free: 121.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/1.125, allocations: 56.7 kB / 488.1 MB, free: 121.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002167/1.125, allocations: 100.3 kB / 488.2 MB, free: 121.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004365/1.13, allocations: 0.8047 MB / 489 MB, free: 121.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008168/1.138, allocations: 1.198 MB / 490.2 MB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009802/1.148, allocations: 4.295 MB / 494.5 MB, free: 118.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005353/1.153, allocations: 305 kB / 494.8 MB, free: 118.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001557/1.155, allocations: 300.1 kB / 495.1 MB, free: 118.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * Number of states: 0 () * Number of discrete variables: 24 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (637): * Single equations (assignments): 630 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006289/1.161, allocations: 2.015 MB / 497.1 MB, free: 117.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007261/1.162, allocations: 264.4 kB / 497.4 MB, free: 117.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/1.176, allocations: 4.715 MB / 0.4904 GB, free: 116.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001091/1.176, allocations: 43.5 kB / 0.4904 GB, free: 116.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/1.176, allocations: 3.25 kB / 0.4904 GB, free: 116.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-05/1.176, allocations: 14.25 kB / 0.4904 GB, free: 116.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02815/1.204, allocations: 10.59 MB / 0.5008 GB, free: 112.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.16e-05/1.204, allocations: 9.062 kB / 0.5008 GB, free: 112.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005495/1.21, allocations: 365.7 kB / 0.5011 GB, free: 112.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005302/1.215, allocations: 0.659 MB / 0.5018 GB, free: 111.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006546/1.216, allocations: 42.17 kB / 0.5018 GB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007168/1.223, allocations: 3.744 MB / 0.5054 GB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-06/1.223, allocations: 11.94 kB / 0.5055 GB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01632/1.239, allocations: 7.674 MB / 0.513 GB, free: 99.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002103/1.242, allocations: 0.6574 MB / 0.5136 GB, free: 99.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008804/1.243, allocations: 43.95 kB / 0.5136 GB, free: 99.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002364/1.245, allocations: 143.9 kB / 0.5138 GB, free: 99.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004345/1.245, allocations: 129 kB / 0.5139 GB, free: 98.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002352/1.246, allocations: 61.25 kB / 0.514 GB, free: 98.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003293/1.249, allocations: 1.702 MB / 0.5156 GB, free: 97.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.249, allocations: 0 / 0.5156 GB, free: 97.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006416/1.255, allocations: 0.9546 MB / 0.5166 GB, free: 96.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 171 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001029/1.257, allocations: 186.8 kB / 0.5167 GB, free: 95.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0117/1.268, allocations: 5.334 MB / 0.5219 GB, free: 90.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.268, allocations: 1 kB / 0.5219 GB, free: 90.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0044/1.273, allocations: 2.017 MB / 0.5239 GB, free: 88.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/1.275, allocations: 318.2 kB / 0.5242 GB, free: 88.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02251/1.298, allocations: 11.27 MB / 0.5352 GB, free: 76.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009024/1.307, allocations: 3.3 MB / 0.5384 GB, free: 73.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.009733/1.317, allocations: 1.965 MB / 0.5404 GB, free: 71.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/1.318, allocations: 207.4 kB / 0.5406 GB, free: 71.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.452e-06/1.318, allocations: 0 / 0.5406 GB, free: 71.43 MB / 410.7 MB Notification: Performance of Templates: time 0.08262/1.401, allocations: 29.25 MB / 0.5691 GB, free: 42.32 MB / 410.7 MB