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.232/2.232, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.176e-05/3.192e-05, allocations: 4 kB / 304.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3401, allocations: 54.85 MB / 359.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.4854, allocations: 95.94 MB / 455.7 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.4857, allocations: 71.97 kB / 455.8 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.658/1.144, allocations: 85.62 MB / 0.5287 GB, free: 107.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.817e-06/1.144, allocations: 0 / 0.5287 GB, free: 107.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001693/1.144, allocations: 76.52 kB / 0.5288 GB, free: 107.1 MB / 458.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.01098/1.155, allocations: 3.656 MB / 0.5324 GB, free: 105.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/1.155, allocations: 9.219 kB / 0.5324 GB, free: 105.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01974/1.175, allocations: 3.508 MB / 0.5358 GB, free: 105.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/1.188, allocations: 4.143 MB / 0.5398 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003979/1.188, allocations: 295.8 kB / 0.5401 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001864/1.19, allocations: 386.1 kB / 0.5405 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02196/1.212, allocations: 10.17 MB / 0.5504 GB, free: 103.6 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/1.213, allocations: 30.5 kB / 0.5505 GB, free: 103.6 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007648/1.213, allocations: 177.8 kB / 0.5506 GB, free: 103.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001923/1.215, allocations: 1.217 MB / 0.5518 GB, free: 103.6 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02196/1.237, allocations: 9.749 MB / 0.5613 GB, free: 102.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05577/1.293, allocations: 35.48 MB / 0.596 GB, free: 81.77 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01091/1.304, allocations: 4.906 MB / 0.6008 GB, free: 79.49 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003543/1.308, allocations: 2.275 MB / 0.603 GB, free: 77.86 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001564/1.309, allocations: 1.885 MB / 0.6048 GB, free: 75.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/1.309, allocations: 48.56 kB / 0.6049 GB, free: 75.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=229): time 6.033e-06/1.309, allocations: 0 / 0.6049 GB, free: 75.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=235): time 0.03237/1.342, allocations: 11.24 MB / 0.6159 GB, free: 66.17 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/1.342, allocations: 77.41 kB / 0.6159 GB, free: 66.08 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003723/1.345, allocations: 2.336 MB / 0.6182 GB, free: 64 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003427/1.346, allocations: 61.7 kB / 0.6183 GB, free: 63.93 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001414/1.347, allocations: 2.695 MB / 0.6209 GB, free: 61.52 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008429/1.348, allocations: 0.848 MB / 0.6217 GB, free: 60.78 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003234/1.348, allocations: 104 kB / 0.6218 GB, free: 60.68 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003023/1.349, allocations: 0.5254 MB / 0.6223 GB, free: 60.21 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003573/1.352, allocations: 2.147 MB / 0.6244 GB, free: 58.28 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004983/1.357, allocations: 4.999 MB / 0.6293 GB, free: 52.17 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005575/1.363, allocations: 3.312 MB / 0.6326 GB, free: 49.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.488e-05/1.363, allocations: 36 kB / 0.6326 GB, free: 49.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01577/1.379, allocations: 7.493 MB / 0.6399 GB, free: 42.89 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.538e-05/1.379, allocations: 55.98 kB / 0.64 GB, free: 42.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001039/1.379, allocations: 100.8 kB / 0.6401 GB, free: 42.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002705/1.382, allocations: 0.8043 MB / 0.6408 GB, free: 42.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005022/1.387, allocations: 1.193 MB / 0.642 GB, free: 40.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007085/1.394, allocations: 4.133 MB / 0.646 GB, free: 36.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007049/1.401, allocations: 287.7 kB / 0.6463 GB, free: 36.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001049/1.402, allocations: 304 kB / 0.6466 GB, free: 35.98 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * 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 (636): * Single equations (assignments): 629 * 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.001253/1.403, allocations: 500 kB / 0.6471 GB, free: 35.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004386/1.404, allocations: 256.6 kB / 0.6473 GB, free: 35.23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008885/1.413, allocations: 4.674 MB / 0.6519 GB, free: 30.53 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.45e-05/1.413, allocations: 43.98 kB / 0.6519 GB, free: 30.49 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/1.413, allocations: 4 kB / 0.6519 GB, free: 30.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.78e-05/1.413, allocations: 7.969 kB / 0.6519 GB, free: 30.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0201/1.433, allocations: 10.58 MB / 0.6623 GB, free: 19.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/1.433, allocations: 4 kB / 0.6623 GB, free: 19.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002041/1.435, allocations: 367.4 kB / 0.6626 GB, free: 19.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002397/1.438, allocations: 0.6537 MB / 0.6633 GB, free: 18.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002274/1.438, allocations: 39.98 kB / 0.6633 GB, free: 18.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005228/1.443, allocations: 3.599 MB / 0.6668 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.159e-06/1.443, allocations: 10.11 kB / 0.6668 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/1.455, allocations: 7.617 MB / 0.6743 GB, free: 7.086 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001727/1.457, allocations: 0.6421 MB / 0.6749 GB, free: 6.422 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005727/1.457, allocations: 40 kB / 0.6749 GB, free: 6.383 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/1.459, allocations: 143.7 kB / 0.6751 GB, free: 6.246 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003435/1.459, allocations: 125 kB / 0.6752 GB, free: 6.125 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002258/1.46, allocations: 67.48 kB / 0.6753 GB, free: 6.062 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002645/1.462, allocations: 1.595 MB / 0.6768 GB, free: 4.453 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.254e-06/1.462, allocations: 0 / 0.6768 GB, free: 4.453 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004908/1.467, allocations: 0.9491 MB / 0.6777 GB, free: 3.504 MB / 458.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.0004767/1.468, allocations: 178.6 kB / 0.6779 GB, free: 3.324 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009651/1.477, allocations: 5.103 MB / 0.6829 GB, free: 14.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.88e-06/1.477, allocations: 0.5 kB / 0.6829 GB, free: 14.23 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004119/1.482, allocations: 1.982 MB / 0.6848 GB, free: 12.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/1.484, allocations: 303.9 kB / 0.6851 GB, free: 11.96 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01931/1.503, allocations: 7.977 MB / 0.6929 GB, free: 3.855 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006284/1.509, allocations: 3.31 MB / 0.6961 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.3734/1.883, allocations: 1.959 MB / 0.6981 GB, free: 107.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/1.884, allocations: 201 kB / 0.6982 GB, free: 107.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.839e-06/1.884, allocations: 0 / 0.6982 GB, free: 107.5 MB / 474.7 MB Notification: Performance of Templates: time 0.08145/1.965, allocations: 28.39 MB / 0.726 GB, free: 106.5 MB / 474.7 MB