Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadModel(ModelicaTest): time 2.315/2.315, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.165e-05/3.176e-05, allocations: 4 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3464, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.502, allocations: 102.3 MB / 484.5 MB, free: 6.211 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.5023, allocations: 79.95 kB / 484.6 MB, free: 6.133 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6289/1.131, allocations: 86.51 MB / 0.5577 GB, free: 111.5 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.434e-06/1.131, allocations: 3.781 kB / 0.5577 GB, free: 111.5 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001385/1.131, allocations: 69.31 kB / 0.5578 GB, free: 111.5 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.009635/1.141, allocations: 3.658 MB / 0.5613 GB, free: 109.7 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/1.141, allocations: 10.16 kB / 0.5613 GB, free: 109.7 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01915/1.16, allocations: 3.512 MB / 0.5648 GB, free: 109.4 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/1.173, allocations: 4.177 MB / 0.5689 GB, free: 106.5 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002969/1.173, allocations: 296.4 kB / 0.5691 GB, free: 106.2 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001783/1.175, allocations: 390 kB / 0.5695 GB, free: 105.9 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02197/1.197, allocations: 10.18 MB / 0.5795 GB, free: 95.37 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001307/1.197, allocations: 23.81 kB / 0.5795 GB, free: 95.35 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008869/1.198, allocations: 181.7 kB / 0.5796 GB, free: 95.21 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001836/1.2, allocations: 1.219 MB / 0.5808 GB, free: 93.99 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02104/1.221, allocations: 9.755 MB / 0.5904 GB, free: 84.22 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0551/1.276, allocations: 35.58 MB / 0.6251 GB, free: 48 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/1.287, allocations: 4.907 MB / 0.6299 GB, free: 42.86 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003485/1.291, allocations: 2.277 MB / 0.6321 GB, free: 40.58 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00159/1.292, allocations: 1.889 MB / 0.634 GB, free: 38.37 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/1.292, allocations: 48.56 kB / 0.634 GB, free: 38.31 MB / 458.8 MB Notification: Performance of pre-optimization done (n=229): time 7.455e-06/1.292, allocations: 0 / 0.634 GB, free: 38.31 MB / 458.8 MB Notification: Performance of matching and sorting (n=235): time 0.03306/1.325, allocations: 11.26 MB / 0.645 GB, free: 27.02 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/1.325, allocations: 73.41 kB / 0.6451 GB, free: 26.93 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004004/1.329, allocations: 2.37 MB / 0.6474 GB, free: 24.54 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003802/1.33, allocations: 57.7 kB / 0.6475 GB, free: 24.48 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001664/1.332, allocations: 2.701 MB / 0.6501 GB, free: 21.77 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009836/1.333, allocations: 0.8514 MB / 0.6509 GB, free: 20.93 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004391/1.333, allocations: 106.5 kB / 0.651 GB, free: 20.83 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0003461/1.333, allocations: 0.5332 MB / 0.6515 GB, free: 20.29 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003845/1.337, allocations: 2.146 MB / 0.6536 GB, free: 18.14 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005542/1.343, allocations: 5.016 MB / 0.6585 GB, free: 11.69 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005774/1.349, allocations: 3.324 MB / 0.6618 GB, free: 8.363 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-05/1.349, allocations: 28 kB / 0.6618 GB, free: 8.336 MB / 458.8 MB Notification: Performance of matching and sorting (n=699) (initialization): time 0.01629/1.365, allocations: 7.513 MB / 0.6691 GB, free: 0.8086 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.695e-05/1.365, allocations: 48.19 kB / 0.6692 GB, free: 0.7617 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001036/1.365, allocations: 108 kB / 0.6693 GB, free: 0.6562 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002698/1.368, allocations: 0.8006 MB / 0.6701 GB, free: 15.85 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005727/1.374, allocations: 1.197 MB / 0.6712 GB, free: 14.65 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007827/1.382, allocations: 4.146 MB / 0.6753 GB, free: 10.38 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00448/1.386, allocations: 291.8 kB / 0.6756 GB, free: 10.09 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006939/1.387, allocations: 303 kB / 0.6759 GB, free: 9.797 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 27 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (639): * Single equations (assignments): 632 * 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.001041/1.388, allocations: 0.5013 MB / 0.6764 GB, free: 9.285 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005187/1.388, allocations: 264.5 kB / 0.6766 GB, free: 9.023 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/1.399, allocations: 4.662 MB / 0.6812 GB, free: 4.34 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.672e-05/1.399, allocations: 43.98 kB / 0.6812 GB, free: 4.297 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/1.399, allocations: 4 kB / 0.6812 GB, free: 4.293 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.85e-05/1.399, allocations: 7.969 kB / 0.6812 GB, free: 4.285 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02406/1.423, allocations: 10.58 MB / 0.6915 GB, free: 9.594 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.392e-05/1.423, allocations: 11.98 kB / 0.6916 GB, free: 9.582 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002127/1.426, allocations: 359.4 kB / 0.6919 GB, free: 9.23 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002729/1.428, allocations: 0.6604 MB / 0.6925 GB, free: 8.566 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003487/1.429, allocations: 47.98 kB / 0.6926 GB, free: 8.52 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006736/1.435, allocations: 3.588 MB / 0.6961 GB, free: 4.797 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.316e-05/1.435, allocations: 8 kB / 0.6961 GB, free: 4.789 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/1.45, allocations: 7.622 MB / 0.7035 GB, free: 12.88 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001943/1.452, allocations: 0.6498 MB / 0.7042 GB, free: 12.21 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004617/1.453, allocations: 36 kB / 0.7042 GB, free: 12.18 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/1.455, allocations: 135.8 kB / 0.7043 GB, free: 12.04 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003847/1.455, allocations: 133 kB / 0.7045 GB, free: 11.91 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002506/1.455, allocations: 70.88 kB / 0.7045 GB, free: 11.85 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.003238/1.458, allocations: 1.612 MB / 0.7061 GB, free: 10.22 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9.58e-07/1.458, allocations: 0 / 0.7061 GB, free: 10.22 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.005189/1.464, allocations: 0.9414 MB / 0.707 GB, free: 9.281 MB / 0.4949 GB 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.0005384/1.464, allocations: 186.2 kB / 0.7072 GB, free: 9.094 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01063/1.475, allocations: 5.121 MB / 0.7122 GB, free: 3.98 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.039e-06/1.475, allocations: 0 / 0.7122 GB, free: 3.98 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003873/1.479, allocations: 1.975 MB / 0.7141 GB, free: 2 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/1.481, allocations: 319.9 kB / 0.7144 GB, free: 1.688 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2896/1.77, allocations: 7.991 MB / 0.7222 GB, free: 146.5 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005011/1.775, allocations: 3.315 MB / 0.7255 GB, free: 145.8 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.005833/1.781, allocations: 1.97 MB / 0.7274 GB, free: 145.7 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/1.782, allocations: 204.9 kB / 0.7276 GB, free: 145.7 MB / 0.4949 GB Notification: Performance of SimCode: time 1.953e-06/1.782, allocations: 0 / 0.7276 GB, free: 145.7 MB / 0.4949 GB Notification: Performance of Templates: time 0.07768/1.86, allocations: 28.52 MB / 0.7555 GB, free: 142.2 MB / 0.4949 GB