Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadModel(ModelicaTest): time 2.385/2.385, allocations: 234.9 MB / 250.1 MB, free: 9.934 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.38e-05/3.382e-05, allocations: 4 kB / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4723/0.4724, allocations: 54.86 MB / 362.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.03848/0.5109, allocations: 23.84 MB / 386.7 MB, free: 5.953 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01835/0.5293, allocations: 5.97 MB / 392.7 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005535/0.5349, allocations: 115.8 kB / 392.8 MB, free: 15.85 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004842/0.5398, allocations: 1.264 MB / 394 MB, free: 14.58 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01437/0.5543, allocations: 3.604 MB / 397.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.5567, allocations: 391.3 kB / 398 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004393/0.5611, allocations: 1.392 MB / 399.4 MB, free: 9.188 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004389/0.5656, allocations: 1.893 MB / 401.3 MB, free: 7.266 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/0.5674, allocations: 0.6857 MB / 402 MB, free: 6.578 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00267/0.5702, allocations: 1.153 MB / 403.1 MB, free: 5.422 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.5729, allocations: 0.7841 MB / 403.9 MB, free: 4.637 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001095/0.5741, allocations: 120 kB / 404 MB, free: 4.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002453/0.5765, allocations: 1.336 MB / 405.4 MB, free: 3.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.5777, allocations: 216 kB / 405.6 MB, free: 2.969 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008304/0.5861, allocations: 4.865 MB / 410.5 MB, free: 14.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.5861, allocations: 0 / 410.5 MB, free: 14.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.317e-06/0.5862, allocations: 3.938 kB / 410.5 MB, free: 14.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002498/0.5864, allocations: 0 / 410.5 MB, free: 14.09 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.01206/0.5985, allocations: 3.643 MB / 414.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.5986, allocations: 8.031 kB / 414.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02398/0.6226, allocations: 3.723 MB / 417.8 MB, free: 6.637 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006838/0.6295, allocations: 2.122 MB / 420 MB, free: 4.469 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003258/0.6299, allocations: 192.8 kB / 420.1 MB, free: 4.277 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001931/0.6318, allocations: 263.7 kB / 420.4 MB, free: 4.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03057/0.6624, allocations: 10.76 MB / 431.2 MB, free: 8.801 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001619/0.6626, allocations: 23.81 kB / 431.2 MB, free: 8.777 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001502/0.6642, allocations: 123.8 kB / 431.3 MB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008049/0.6723, allocations: 2.581 MB / 433.9 MB, free: 6.066 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03225/0.7046, allocations: 10.07 MB / 444 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08142/0.786, allocations: 35.28 MB / 479.2 MB, free: 7.801 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01714/0.8032, allocations: 5.164 MB / 484.4 MB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002776/0.8061, allocations: 1.884 MB / 486.3 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.653e-05/0.8062, allocations: 60.5 kB / 486.3 MB, free: 140 kB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 7.744e-06/0.8062, allocations: 0 / 486.3 MB, free: 140 kB / 410.7 MB Notification: Performance of matching and sorting (n=235): time 0.06178/0.868, allocations: 14.54 MB / 0.4891 GB, free: 1.418 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/0.8681, allocations: 73.41 kB / 0.4892 GB, free: 1.336 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.335/1.203, allocations: 2.466 MB / 0.4916 GB, free: 120 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006695/1.204, allocations: 54.39 kB / 0.4917 GB, free: 120 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003555/1.207, allocations: 2.696 MB / 0.4943 GB, free: 118.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001809/1.209, allocations: 0.8493 MB / 0.4951 GB, free: 117.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007334/1.21, allocations: 102.3 kB / 0.4952 GB, free: 117.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006119/1.211, allocations: 0.5374 MB / 0.4958 GB, free: 117.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008162/1.219, allocations: 2.186 MB / 0.4979 GB, free: 116.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01051/1.23, allocations: 5.06 MB / 0.5028 GB, free: 112.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/1.24, allocations: 3.328 MB / 0.5061 GB, free: 111 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001383/1.24, allocations: 29.06 kB / 0.5061 GB, free: 111 MB / 426.7 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.02645/1.267, allocations: 7.804 MB / 0.5137 GB, free: 108.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/1.267, allocations: 49.41 kB / 0.5138 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001621/1.267, allocations: 100 kB / 0.5139 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003963/1.271, allocations: 0.8068 MB / 0.5147 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007514/1.278, allocations: 1.193 MB / 0.5158 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008411/1.287, allocations: 4.294 MB / 0.52 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005376/1.292, allocations: 299.7 kB / 0.5203 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001099/1.293, allocations: 305.3 kB / 0.5206 GB, free: 101.7 MB / 426.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.005176/1.299, allocations: 2.015 MB / 0.5226 GB, free: 99.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006934/1.299, allocations: 260.7 kB / 0.5228 GB, free: 99.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/1.313, allocations: 4.716 MB / 0.5274 GB, free: 94.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001091/1.313, allocations: 44.94 kB / 0.5275 GB, free: 94.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.313, allocations: 0 / 0.5275 GB, free: 94.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-05/1.313, allocations: 22.66 kB / 0.5275 GB, free: 94.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0306/1.344, allocations: 10.59 MB / 0.5378 GB, free: 83.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/1.344, allocations: 8.062 kB / 0.5378 GB, free: 83.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003263/1.347, allocations: 367.4 kB / 0.5382 GB, free: 83.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004829/1.352, allocations: 0.6561 MB / 0.5388 GB, free: 82.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006209/1.353, allocations: 45.48 kB / 0.5389 GB, free: 82.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009838/1.362, allocations: 3.749 MB / 0.5425 GB, free: 78.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.294e-05/1.363, allocations: 11.94 kB / 0.5425 GB, free: 78.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05402/1.417, allocations: 7.676 MB / 0.55 GB, free: 70.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002722/1.419, allocations: 0.6539 MB / 0.5507 GB, free: 70.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0135/1.433, allocations: 36 kB / 0.5507 GB, free: 70.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003509/1.436, allocations: 144.7 kB / 0.5509 GB, free: 70.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007358/1.437, allocations: 137.6 kB / 0.551 GB, free: 69.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003497/1.438, allocations: 61.17 kB / 0.551 GB, free: 69.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004963/1.443, allocations: 1.698 MB / 0.5527 GB, free: 68.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.172e-06/1.443, allocations: 4 kB / 0.5527 GB, free: 68.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00597/1.449, allocations: 0.9526 MB / 0.5536 GB, free: 67.28 MB / 426.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.0008263/1.45, allocations: 197.4 kB / 0.5538 GB, free: 67.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01136/1.461, allocations: 5.332 MB / 0.559 GB, free: 61.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.461, allocations: 4.25 kB / 0.559 GB, free: 61.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004254/1.465, allocations: 2.011 MB / 0.561 GB, free: 59.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/1.468, allocations: 319.4 kB / 0.5613 GB, free: 59.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.024/1.492, allocations: 11.71 MB / 0.5727 GB, free: 47.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005951/1.498, allocations: 3.313 MB / 0.576 GB, free: 44.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001811/1.5, allocations: 247.4 kB / 0.5762 GB, free: 44.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.573e-06/1.5, allocations: 4 kB / 0.5762 GB, free: 44 MB / 426.7 MB Notification: Performance of Templates: time 0.1323/1.632, allocations: 68.86 MB / 0.6435 GB, free: 7.062 MB / 458.7 MB