Running command: translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadModel(ModelicaTest): time 2.189/2.189, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.688e-05/3.704e-05, allocations: 4.938 kB / 304.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3887, allocations: 54.85 MB / 359.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.165/0.5538, allocations: 95.24 MB / 455 MB, free: 1.672 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.5541, allocations: 81.56 kB / 455.1 MB, free: 1.594 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6536/1.208, allocations: 82.66 MB / 0.5252 GB, free: 108.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.723e-06/1.208, allocations: 0 / 0.5252 GB, free: 108.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002568/1.208, allocations: 68.17 kB / 0.5252 GB, free: 108.3 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: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.02641/1.234, allocations: 3.843 MB / 0.529 GB, free: 107.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.801e-05/1.235, allocations: 9.5 kB / 0.529 GB, free: 107.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03283/1.267, allocations: 5.88 MB / 0.5347 GB, free: 107.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01636/1.284, allocations: 5.292 MB / 0.5399 GB, free: 106.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003091/1.284, allocations: 282.6 kB / 0.5402 GB, free: 106.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001483/1.286, allocations: 371.3 kB / 0.5405 GB, free: 106.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02226/1.308, allocations: 10.3 MB / 0.5506 GB, free: 105.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/1.308, allocations: 28.03 kB / 0.5506 GB, free: 105.4 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007751/1.309, allocations: 171.7 kB / 0.5508 GB, free: 105.4 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001675/1.311, allocations: 1.151 MB / 0.5519 GB, free: 105.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02287/1.333, allocations: 9.852 MB / 0.5615 GB, free: 104.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05701/1.391, allocations: 37.33 MB / 0.598 GB, free: 81.41 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01367/1.404, allocations: 5.544 MB / 0.6034 GB, free: 77.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003493/1.408, allocations: 2.315 MB / 0.6056 GB, free: 75.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001615/1.409, allocations: 1.875 MB / 0.6075 GB, free: 73.71 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/1.409, allocations: 54.69 kB / 0.6075 GB, free: 73.65 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 8.111e-06/1.409, allocations: 0 / 0.6075 GB, free: 73.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=231): time 0.04063/1.45, allocations: 12.4 MB / 0.6196 GB, free: 63.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001078/1.451, allocations: 1.525 MB / 0.6211 GB, free: 61.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003953/1.455, allocations: 2.468 MB / 0.6235 GB, free: 59.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004477/1.456, allocations: 55.34 kB / 0.6236 GB, free: 59.51 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001547/1.457, allocations: 2.674 MB / 0.6262 GB, free: 57.12 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009031/1.458, allocations: 0.8467 MB / 0.627 GB, free: 56.38 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003874/1.459, allocations: 100 kB / 0.6271 GB, free: 56.28 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003141/1.459, allocations: 0.5451 MB / 0.6276 GB, free: 55.79 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004466/1.463, allocations: 2.555 MB / 0.6301 GB, free: 53.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006345/1.47, allocations: 5.49 MB / 0.6355 GB, free: 46.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006456/1.476, allocations: 3.781 MB / 0.6392 GB, free: 42.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.57e-05/1.476, allocations: 28 kB / 0.6392 GB, free: 42.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.0699/1.546, allocations: 18.56 MB / 0.6573 GB, free: 24.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.859e-05/1.546, allocations: 52.94 kB / 0.6574 GB, free: 24.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04795/1.594, allocations: 11.97 MB / 0.6691 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05228/1.647, allocations: 10.3 MB / 0.6791 GB, free: 1.824 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005057/1.652, allocations: 1.244 MB / 0.6804 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03586/1.688, allocations: 15.87 MB / 0.6959 GB, free: 460 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005691/1.693, allocations: 437.3 kB / 0.6963 GB, free: 24 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.365/2.058, allocations: 314.4 kB / 0.6966 GB, free: 112.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 474 * Number of states: 0 () * Number of discrete variables: 21 (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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (649): * Single equations (assignments): 638 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.001197/2.06, allocations: 498.4 kB / 0.697 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006131/2.06, allocations: 276.9 kB / 0.6973 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/2.073, allocations: 5.065 MB / 0.7023 GB, free: 112.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01144/2.084, allocations: 4.355 MB / 0.7065 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.719e-05/2.084, allocations: 10.86 kB / 0.7065 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.992e-05/2.084, allocations: 8.344 kB / 0.7065 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02907/2.113, allocations: 12.92 MB / 0.7191 GB, free: 111.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.666e-05/2.113, allocations: 14.08 kB / 0.7192 GB, free: 111.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002475/2.116, allocations: 407.1 kB / 0.7195 GB, free: 111.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003804/2.12, allocations: 0.9359 MB / 0.7205 GB, free: 111.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004396/2.12, allocations: 50.19 kB / 0.7205 GB, free: 111.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00746/2.128, allocations: 5.424 MB / 0.7258 GB, free: 108.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009798/2.129, allocations: 1.455 MB / 0.7272 GB, free: 107.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01485/2.143, allocations: 8.288 MB / 0.7353 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008678/2.144, allocations: 328.4 kB / 0.7356 GB, free: 103.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006925/2.145, allocations: 45.17 kB / 0.7357 GB, free: 103.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002261/2.147, allocations: 206.5 kB / 0.7359 GB, free: 103.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007118/2.148, allocations: 144 kB / 0.736 GB, free: 103.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004486/2.149, allocations: 70.94 kB / 0.7361 GB, free: 103.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005453/2.154, allocations: 1.67 MB / 0.7377 GB, free: 102.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.568e-06/2.154, allocations: 0 / 0.7377 GB, free: 102.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00963/2.164, allocations: 1.106 MB / 0.7388 GB, free: 102.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007062/2.165, allocations: 183.6 kB / 0.739 GB, free: 102.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01266/2.177, allocations: 6.301 MB / 0.7451 GB, free: 100.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/2.177, allocations: 0 / 0.7451 GB, free: 100.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004847/2.182, allocations: 2.478 MB / 0.7475 GB, free: 99.73 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/2.184, allocations: 336.9 kB / 0.7479 GB, free: 99.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/2.203, allocations: 8.525 MB / 0.7562 GB, free: 96.56 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004507/2.207, allocations: 3.248 MB / 0.7594 GB, free: 95.32 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0061/2.213, allocations: 2.052 MB / 0.7614 GB, free: 95.29 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/2.214, allocations: 213 kB / 0.7616 GB, free: 95.28 MB / 474.7 MB Notification: Performance of SimCode: time 2.012e-06/2.215, allocations: 0 / 0.7616 GB, free: 95.28 MB / 474.7 MB Notification: Performance of Templates: time 0.09417/2.309, allocations: 42.48 MB / 0.803 GB, free: 61.54 MB / 474.7 MB