Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadModel(ModelicaTest): time 2.322/2.322, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 2.981e-05/2.993e-05, allocations: 4 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3498, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1897/0.5396, allocations: 104.3 MB / 486.5 MB, free: 4.172 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.5399, allocations: 67.97 kB / 486.6 MB, free: 4.105 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6317/1.172, allocations: 91.57 MB / 0.5646 GB, free: 108.3 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.587e-06/1.172, allocations: 4 kB / 0.5646 GB, free: 108.3 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001685/1.172, allocations: 83.7 kB / 0.5647 GB, free: 108.3 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: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.01661/1.188, allocations: 4.268 MB / 0.5689 GB, free: 106.1 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.189, allocations: 7.031 kB / 0.5689 GB, free: 106.1 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01892/1.207, allocations: 3.57 MB / 0.5724 GB, free: 103 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01354/1.221, allocations: 4.686 MB / 0.5769 GB, free: 98.3 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003142/1.221, allocations: 334.7 kB / 0.5773 GB, free: 98 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001924/1.223, allocations: 431.5 kB / 0.5777 GB, free: 97.62 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02376/1.247, allocations: 10.92 MB / 0.5883 GB, free: 86.32 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001584/1.247, allocations: 31.72 kB / 0.5884 GB, free: 86.29 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001249/1.249, allocations: 194.9 kB / 0.5885 GB, free: 86.13 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001928/1.251, allocations: 1.231 MB / 0.5898 GB, free: 84.9 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02366/1.274, allocations: 10.4 MB / 0.5999 GB, free: 74.48 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05798/1.332, allocations: 37.43 MB / 0.6365 GB, free: 36.4 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009014/1.341, allocations: 4.34 MB / 0.6407 GB, free: 31.84 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003263/1.345, allocations: 2.131 MB / 0.6428 GB, free: 29.7 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/1.346, allocations: 1.325 MB / 0.6441 GB, free: 28.17 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/1.346, allocations: 52.52 kB / 0.6441 GB, free: 28.11 MB / 458.8 MB Notification: Performance of pre-optimization done (n=244): time 6.902e-06/1.346, allocations: 4 kB / 0.6441 GB, free: 28.1 MB / 458.8 MB Notification: Performance of matching and sorting (n=265): time 0.04193/1.388, allocations: 11.17 MB / 0.655 GB, free: 16.94 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/1.388, allocations: 73.41 kB / 0.6551 GB, free: 16.86 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00413/1.392, allocations: 2.503 MB / 0.6576 GB, free: 14.33 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003935/1.392, allocations: 61.7 kB / 0.6576 GB, free: 14.27 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001642/1.394, allocations: 2.94 MB / 0.6605 GB, free: 11.32 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009905/1.395, allocations: 0.9783 MB / 0.6614 GB, free: 10.35 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003877/1.396, allocations: 112 kB / 0.6615 GB, free: 10.24 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0003419/1.396, allocations: 0.5541 MB / 0.6621 GB, free: 9.68 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004004/1.4, allocations: 2.288 MB / 0.6643 GB, free: 7.387 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005756/1.406, allocations: 5.414 MB / 0.6696 GB, free: 440 kB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007572/1.413, allocations: 3.582 MB / 0.6731 GB, free: 12.84 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-05/1.413, allocations: 32 kB / 0.6731 GB, free: 12.81 MB / 474.8 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02204/1.435, allocations: 8.159 MB / 0.6811 GB, free: 4.637 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/1.436, allocations: 52.62 kB / 0.6812 GB, free: 4.586 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001562/1.436, allocations: 108 kB / 0.6813 GB, free: 4.48 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004831/1.441, allocations: 1.056 MB / 0.6823 GB, free: 3.414 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006844/1.448, allocations: 1.337 MB / 0.6836 GB, free: 2.074 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006687/1.454, allocations: 2.462 MB / 0.686 GB, free: 15.48 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009047/1.463, allocations: 315.8 kB / 0.6863 GB, free: 15.17 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001956/1.465, allocations: 339.9 kB / 0.6866 GB, free: 14.84 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 503 * 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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 (722): * Single equations (assignments): 713 * 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): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002253/1.468, allocations: 0.5248 MB / 0.6871 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001234/1.469, allocations: 288.2 kB / 0.6874 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02387/1.493, allocations: 5.02 MB / 0.6923 GB, free: 8.934 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001701/1.493, allocations: 48 kB / 0.6924 GB, free: 8.887 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-05/1.493, allocations: 0 / 0.6924 GB, free: 8.887 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.593e-05/1.493, allocations: 15.89 kB / 0.6924 GB, free: 8.871 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05105/1.544, allocations: 11.54 MB / 0.7036 GB, free: 13.21 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.052e-05/1.544, allocations: 4 kB / 0.7037 GB, free: 13.2 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005064/1.549, allocations: 431.3 kB / 0.7041 GB, free: 12.78 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0066/1.556, allocations: 0.9073 MB / 0.705 GB, free: 11.86 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005426/1.557, allocations: 58.95 kB / 0.705 GB, free: 11.81 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003721/1.56, allocations: 2.291 MB / 0.7072 GB, free: 9.383 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/1.56, allocations: 8 kB / 0.7073 GB, free: 9.375 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0269/1.587, allocations: 8.089 MB / 0.7152 GB, free: 0.8203 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009246/1.588, allocations: 337.3 kB / 0.7155 GB, free: 480 kB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007691/1.589, allocations: 54.89 kB / 0.7155 GB, free: 428 kB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/1.591, allocations: 139.8 kB / 0.7157 GB, free: 288 kB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004978/1.592, allocations: 161.6 kB / 0.7158 GB, free: 124 kB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002834/1.592, allocations: 75.97 kB / 0.7159 GB, free: 48 kB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.3521/1.944, allocations: 1.697 MB / 0.7175 GB, free: 138 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.379e-06/1.944, allocations: 0.625 kB / 0.7175 GB, free: 138 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.006344/1.95, allocations: 1.011 MB / 0.7185 GB, free: 138 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 207 * 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): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00069/1.951, allocations: 206.3 kB / 0.7187 GB, free: 137.9 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01289/1.964, allocations: 5.907 MB / 0.7245 GB, free: 137.6 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.038e-06/1.964, allocations: 0 / 0.7245 GB, free: 137.6 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005628/1.97, allocations: 2.537 MB / 0.727 GB, free: 137.2 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/1.972, allocations: 393.4 kB / 0.7273 GB, free: 137.2 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/1.991, allocations: 9.31 MB / 0.7364 GB, free: 135.4 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005165/1.996, allocations: 3.612 MB / 0.74 GB, free: 134.6 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01347/2.01, allocations: 2.095 MB / 0.742 GB, free: 134.4 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002562/2.012, allocations: 234.5 kB / 0.7422 GB, free: 134.4 MB / 0.4949 GB Notification: Performance of SimCode: time 3.12e-06/2.012, allocations: 0 / 0.7422 GB, free: 134.4 MB / 0.4949 GB Notification: Performance of Templates: time 0.1466/2.159, allocations: 31.28 MB / 0.7728 GB, free: 124.6 MB / 0.4949 GB