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_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadModel(ModelicaTest): time 2.504/2.504, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.418e-05, allocations: 8 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.3986, allocations: 54.85 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.03865/0.4373, allocations: 23.83 MB / 386.7 MB, free: 5.871 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01717/0.4546, allocations: 5.966 MB / 392.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005429/0.4601, allocations: 115.8 kB / 392.8 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004565/0.4647, allocations: 1.276 MB / 394.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01475/0.4795, allocations: 3.6 MB / 397.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003008/0.4826, allocations: 383.4 kB / 398 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004952/0.4876, allocations: 1.388 MB / 399.4 MB, free: 9.117 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004191/0.4919, allocations: 1.909 MB / 401.3 MB, free: 7.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.4935, allocations: 0.6896 MB / 402 MB, free: 6.488 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002493/0.4961, allocations: 1.149 MB / 403.2 MB, free: 5.336 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/0.4987, allocations: 0.7841 MB / 404 MB, free: 4.551 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009179/0.4997, allocations: 116 kB / 404.1 MB, free: 4.438 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002185/0.5019, allocations: 1.34 MB / 405.4 MB, free: 3.094 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.5029, allocations: 216 kB / 405.6 MB, free: 2.883 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008067/0.511, allocations: 4.858 MB / 410.5 MB, free: 14.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5111, allocations: 7.938 kB / 410.5 MB, free: 14.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.297e-06/0.5111, allocations: 0 / 410.5 MB, free: 14.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000229/0.5114, allocations: 0 / 410.5 MB, free: 14.01 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.01161/0.523, allocations: 3.644 MB / 414.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.5231, allocations: 8.031 kB / 414.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02928/0.5523, allocations: 3.723 MB / 417.9 MB, free: 6.555 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008617/0.561, allocations: 2.118 MB / 420 MB, free: 4.391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004008/0.5615, allocations: 200.7 kB / 420.2 MB, free: 4.191 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002021/0.5635, allocations: 251.7 kB / 420.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03989/0.6035, allocations: 10.77 MB / 431.2 MB, free: 8.723 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000198/0.6037, allocations: 27.81 kB / 431.2 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001787/0.6055, allocations: 123.8 kB / 431.3 MB, free: 8.574 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01143/0.617, allocations: 2.585 MB / 433.9 MB, free: 5.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03436/0.6515, allocations: 10.07 MB / 444 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08336/0.7349, allocations: 35.28 MB / 479.3 MB, free: 7.719 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01669/0.7516, allocations: 5.167 MB / 484.4 MB, free: 2.332 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002754/0.7544, allocations: 1.88 MB / 486.3 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.223e-05/0.7545, allocations: 52.56 kB / 486.4 MB, free: 64 kB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 7.223e-06/0.7546, allocations: 0 / 486.4 MB, free: 64 kB / 410.7 MB Notification: Performance of matching and sorting (n=235): time 0.05922/0.8138, allocations: 14.55 MB / 0.4892 GB, free: 1.344 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.8139, allocations: 69.41 kB / 0.4892 GB, free: 1.266 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3246/1.139, allocations: 2.463 MB / 0.4916 GB, free: 120.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004895/1.139, allocations: 54.73 kB / 0.4917 GB, free: 120.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002423/1.142, allocations: 2.699 MB / 0.4943 GB, free: 118.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001255/1.143, allocations: 0.849 MB / 0.4952 GB, free: 118.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004451/1.143, allocations: 101.7 kB / 0.4953 GB, free: 118.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003471/1.144, allocations: 0.5377 MB / 0.4958 GB, free: 117.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005452/1.149, allocations: 2.181 MB / 0.4979 GB, free: 117.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007181/1.156, allocations: 5.066 MB / 0.5029 GB, free: 112.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007783/1.164, allocations: 3.33 MB / 0.5061 GB, free: 111.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001291/1.164, allocations: 31.16 kB / 0.5061 GB, free: 111.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.023/1.187, allocations: 7.859 MB / 0.5138 GB, free: 108 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.569e-05/1.188, allocations: 52 kB / 0.5139 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001547/1.188, allocations: 103.8 kB / 0.514 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003969/1.192, allocations: 0.7989 MB / 0.5147 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007805/1.2, allocations: 1.194 MB / 0.5159 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008296/1.208, allocations: 4.291 MB / 0.5201 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005199/1.213, allocations: 301.4 kB / 0.5204 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009793/1.214, allocations: 304 kB / 0.5207 GB, free: 101.5 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.004908/1.219, allocations: 2.021 MB / 0.5227 GB, free: 99.49 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006808/1.22, allocations: 267.9 kB / 0.5229 GB, free: 99.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/1.232, allocations: 4.711 MB / 0.5275 GB, free: 94.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001098/1.232, allocations: 45.16 kB / 0.5276 GB, free: 94.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.232, allocations: 5.312 kB / 0.5276 GB, free: 94.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.026e-05/1.232, allocations: 7.969 kB / 0.5276 GB, free: 94.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02793/1.26, allocations: 10.6 MB / 0.5379 GB, free: 83.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.65e-05/1.26, allocations: 11.94 kB / 0.5379 GB, free: 83.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003103/1.263, allocations: 360.3 kB / 0.5383 GB, free: 83.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003378/1.267, allocations: 0.6638 MB / 0.5389 GB, free: 82.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004516/1.267, allocations: 43.05 kB / 0.539 GB, free: 82.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007144/1.275, allocations: 3.745 MB / 0.5426 GB, free: 78.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.427e-06/1.275, allocations: 11.94 kB / 0.5426 GB, free: 78.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0166/1.291, allocations: 7.675 MB / 0.5501 GB, free: 70.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002272/1.294, allocations: 0.6499 MB / 0.5508 GB, free: 70.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009377/1.294, allocations: 40.94 kB / 0.5508 GB, free: 70.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002629/1.297, allocations: 140.3 kB / 0.5509 GB, free: 69.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006083/1.298, allocations: 134.2 kB / 0.5511 GB, free: 69.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002392/1.298, allocations: 68.55 kB / 0.5511 GB, free: 69.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003454/1.302, allocations: 1.698 MB / 0.5528 GB, free: 68.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.563e-06/1.302, allocations: 0 / 0.5528 GB, free: 68.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006221/1.308, allocations: 0.9601 MB / 0.5537 GB, free: 67.11 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.001086/1.309, allocations: 191.6 kB / 0.5539 GB, free: 66.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01201/1.321, allocations: 5.33 MB / 0.5591 GB, free: 61.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/1.321, allocations: 0 / 0.5591 GB, free: 61.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004595/1.326, allocations: 2.015 MB / 0.5611 GB, free: 59.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002809/1.329, allocations: 317.1 kB / 0.5614 GB, free: 59.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0246/1.353, allocations: 11.27 MB / 0.5724 GB, free: 47.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006175/1.359, allocations: 3.313 MB / 0.5756 GB, free: 44.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007854/1.367, allocations: 1.961 MB / 0.5775 GB, free: 42.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/1.369, allocations: 215.3 kB / 0.5777 GB, free: 42.36 MB / 426.7 MB Notification: Performance of SimCode: time 1.283e-06/1.369, allocations: 0 / 0.5777 GB, free: 42.36 MB / 426.7 MB Notification: Performance of Templates: time 0.08328/1.452, allocations: 29.22 MB / 0.6063 GB, free: 13.27 MB / 426.7 MB