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_cpp_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadModel(ModelicaTest): time 2.028/2.028, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.406e-05/3.416e-05, allocations: 4 kB / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3655, allocations: 48.69 MB / 324.8 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.03771/0.4033, allocations: 23.83 MB / 348.7 MB, free: 2.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01913/0.4225, allocations: 5.938 MB / 354.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006699/0.4292, allocations: 115 kB / 354.7 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005268/0.4345, allocations: 1.269 MB / 356 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01505/0.4497, allocations: 3.612 MB / 359.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.4523, allocations: 406.5 kB / 360 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00461/0.457, allocations: 1.378 MB / 361.4 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004311/0.4613, allocations: 1.9 MB / 363.3 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.4632, allocations: 0.6857 MB / 364 MB, free: 8.344 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002582/0.4658, allocations: 1.149 MB / 365.1 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002804/0.4687, allocations: 0.788 MB / 365.9 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001111/0.4698, allocations: 116 kB / 366 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002385/0.4722, allocations: 1.336 MB / 367.3 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.4734, allocations: 216 kB / 367.6 MB, free: 4.738 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008372/0.4818, allocations: 4.861 MB / 372.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4819, allocations: 0 / 372.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.4819, allocations: 0 / 372.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002427/0.4822, allocations: 0 / 372.4 MB, free: 15.87 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.01191/0.4941, allocations: 3.639 MB / 376.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.4942, allocations: 12.03 kB / 376.1 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02395/0.5181, allocations: 3.727 MB / 379.8 MB, free: 8.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0066/0.5248, allocations: 2.119 MB / 381.9 MB, free: 6.246 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002961/0.5252, allocations: 192.8 kB / 382.1 MB, free: 6.055 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001713/0.5269, allocations: 255.7 kB / 382.4 MB, free: 5.805 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02879/0.5557, allocations: 10.76 MB / 393.1 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001632/0.5559, allocations: 31.7 kB / 393.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001442/0.5574, allocations: 115.8 kB / 393.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007919/0.5653, allocations: 2.585 MB / 395.8 MB, free: 7.844 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0323/0.5977, allocations: 10.08 MB / 405.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07963/0.6774, allocations: 35.27 MB / 441.2 MB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01689/0.6943, allocations: 5.168 MB / 446.4 MB, free: 4.195 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002695/0.6971, allocations: 1.884 MB / 448.2 MB, free: 1.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.119e-05/0.6972, allocations: 48.56 kB / 448.3 MB, free: 1.926 MB / 378.7 MB Notification: Performance of pre-optimization done (n=229): time 6.823e-06/0.6972, allocations: 0 / 448.3 MB, free: 1.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=235): time 0.06098/0.7582, allocations: 14.56 MB / 462.8 MB, free: 3.195 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.7583, allocations: 73.41 kB / 462.9 MB, free: 3.113 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005602/0.7639, allocations: 2.464 MB / 465.4 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000553/0.7646, allocations: 53.7 kB / 465.4 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002865/0.7674, allocations: 2.692 MB / 468.1 MB, free: 13.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001549/0.769, allocations: 0.8517 MB / 469 MB, free: 12.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005628/0.7696, allocations: 100 kB / 469.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005408/0.7702, allocations: 0.5379 MB / 469.6 MB, free: 12.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00608/0.7763, allocations: 2.189 MB / 471.8 MB, free: 10.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009247/0.7856, allocations: 5.065 MB / 476.9 MB, free: 3.652 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00861/0.7943, allocations: 3.327 MB / 480.2 MB, free: 328 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001249/0.7945, allocations: 28 kB / 480.2 MB, free: 300 kB / 410.7 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.3424/1.137, allocations: 7.799 MB / 488 MB, free: 98.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/1.137, allocations: 51.42 kB / 488.1 MB, free: 98.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002456/1.137, allocations: 104.5 kB / 488.2 MB, free: 98.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004384/1.142, allocations: 0.7945 MB / 489 MB, free: 98.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008081/1.15, allocations: 1.194 MB / 490.2 MB, free: 98.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009519/1.159, allocations: 4.293 MB / 494.4 MB, free: 97.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005332/1.165, allocations: 298.6 kB / 494.7 MB, free: 97.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/1.166, allocations: 310.1 kB / 495 MB, free: 97.4 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.005211/1.171, allocations: 2.012 MB / 497.1 MB, free: 97.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006236/1.172, allocations: 264.4 kB / 497.3 MB, free: 97.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/1.185, allocations: 4.714 MB / 0.4903 GB, free: 97.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001016/1.186, allocations: 51.08 kB / 0.4903 GB, free: 97.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/1.186, allocations: 5.969 kB / 0.4903 GB, free: 97.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.246e-05/1.186, allocations: 11.02 kB / 0.4903 GB, free: 97.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02702/1.213, allocations: 10.59 MB / 0.5007 GB, free: 93.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-05/1.213, allocations: 8 kB / 0.5007 GB, free: 93.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003183/1.216, allocations: 363.7 kB / 0.501 GB, free: 93.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003543/1.22, allocations: 0.6563 MB / 0.5017 GB, free: 92.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004996/1.22, allocations: 38.83 kB / 0.5017 GB, free: 92.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007206/1.227, allocations: 3.75 MB / 0.5054 GB, free: 89.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.191e-05/1.227, allocations: 13.53 kB / 0.5054 GB, free: 89.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01659/1.244, allocations: 7.676 MB / 0.5129 GB, free: 83.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002213/1.246, allocations: 0.6462 MB / 0.5135 GB, free: 82.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008067/1.247, allocations: 46.8 kB / 0.5135 GB, free: 82.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002285/1.249, allocations: 142.1 kB / 0.5137 GB, free: 82.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004673/1.25, allocations: 130.1 kB / 0.5138 GB, free: 82.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002654/1.25, allocations: 63.98 kB / 0.5139 GB, free: 82.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003265/1.253, allocations: 1.694 MB / 0.5155 GB, free: 80.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.323e-06/1.253, allocations: 0 / 0.5155 GB, free: 80.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005748/1.259, allocations: 0.9641 MB / 0.5165 GB, free: 79.65 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.0008162/1.26, allocations: 192.1 kB / 0.5166 GB, free: 79.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01144/1.272, allocations: 5.335 MB / 0.5219 GB, free: 74.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/1.272, allocations: 0 / 0.5219 GB, free: 74.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004341/1.276, allocations: 2.011 MB / 0.5238 GB, free: 72.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/1.278, allocations: 310.3 kB / 0.5241 GB, free: 72.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0232/1.302, allocations: 11.72 MB / 0.5356 GB, free: 60.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005774/1.307, allocations: 3.317 MB / 0.5388 GB, free: 56.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001812/1.309, allocations: 247.4 kB / 0.539 GB, free: 56.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.433e-06/1.309, allocations: 0 / 0.539 GB, free: 56.75 MB / 410.7 MB Notification: Performance of Templates: time 0.1261/1.435, allocations: 68.84 MB / 0.6063 GB, free: 3.898 MB / 426.7 MB