Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_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.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadModel(ModelicaTest): time 2.393/2.393, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.586e-05/5.573e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3927, allocations: 54.85 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.05874/0.4515, allocations: 33.57 MB / 396.4 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02421/0.4758, allocations: 7.957 MB / 404.4 MB, free: 4.117 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007703/0.4836, allocations: 179.6 kB / 404.6 MB, free: 3.941 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006854/0.4905, allocations: 1.793 MB / 406.4 MB, free: 2.141 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02062/0.5111, allocations: 4.92 MB / 411.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003324/0.5145, allocations: 475.2 kB / 411.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005665/0.5202, allocations: 1.658 MB / 413.4 MB, free: 11.08 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01208/0.5324, allocations: 3.786 MB / 417.2 MB, free: 7.262 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.5345, allocations: 0.8064 MB / 418 MB, free: 6.453 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00297/0.5375, allocations: 1.317 MB / 419.3 MB, free: 5.133 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00284/0.5404, allocations: 0.87 MB / 420.2 MB, free: 4.262 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009591/0.5414, allocations: 132 kB / 420.3 MB, free: 4.133 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002592/0.544, allocations: 1.617 MB / 421.9 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.5453, allocations: 279.9 kB / 422.2 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.5567, allocations: 6.309 MB / 428.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.5567, allocations: 0 / 428.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.748e-06/0.5568, allocations: 0 / 428.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003223/0.5571, allocations: 4 kB / 428.5 MB, free: 11.91 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.01633/0.5734, allocations: 4.53 MB / 433.1 MB, free: 7.312 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.5735, allocations: 8.031 kB / 433.1 MB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02373/0.5973, allocations: 3.854 MB / 436.9 MB, free: 3.438 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0079/0.6052, allocations: 2.515 MB / 439.4 MB, free: 0.875 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003913/0.6057, allocations: 270.7 kB / 439.7 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002117/0.6078, allocations: 355.7 kB / 440 MB, free: 268 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0425/0.6503, allocations: 12.6 MB / 452.6 MB, free: 3.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003101/0.6507, allocations: 27.72 kB / 452.7 MB, free: 3.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002742/0.6535, allocations: 163.8 kB / 452.8 MB, free: 3.004 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.02378/0.6773, allocations: 2.739 MB / 455.6 MB, free: 268 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0717/0.7491, allocations: 11.57 MB / 467.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4334/1.183, allocations: 40.12 MB / 0.4954 GB, free: 97.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01607/1.199, allocations: 4.962 MB / 0.5002 GB, free: 95.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01551/1.214, allocations: 6.528 MB / 0.5066 GB, free: 93.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/1.214, allocations: 59 kB / 0.5067 GB, free: 93.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=228): time 6.483e-06/1.214, allocations: 0 / 0.5067 GB, free: 93.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.06532/1.28, allocations: 16.8 MB / 0.5231 GB, free: 85.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/1.28, allocations: 73.41 kB / 0.5231 GB, free: 85.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006025/1.286, allocations: 2.937 MB / 0.526 GB, free: 82.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005108/1.286, allocations: 59.58 kB / 0.5261 GB, free: 82.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002501/1.289, allocations: 3.284 MB / 0.5293 GB, free: 79.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001344/1.29, allocations: 0.8929 MB / 0.5301 GB, free: 78.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006679/1.291, allocations: 121.2 kB / 0.5303 GB, free: 78.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004753/1.292, allocations: 0.5624 MB / 0.5308 GB, free: 77.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005775/1.297, allocations: 2.382 MB / 0.5331 GB, free: 75.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007741/1.305, allocations: 5.739 MB / 0.5387 GB, free: 68.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008563/1.314, allocations: 3.685 MB / 0.5423 GB, free: 64.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001488/1.314, allocations: 36 kB / 0.5424 GB, free: 64.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.02569/1.34, allocations: 8.93 MB / 0.5511 GB, free: 55.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.847e-05/1.34, allocations: 56 kB / 0.5511 GB, free: 55.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001449/1.34, allocations: 120 kB / 0.5513 GB, free: 55.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00604/1.346, allocations: 1.163 MB / 0.5524 GB, free: 54.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008132/1.354, allocations: 1.369 MB / 0.5537 GB, free: 53.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009782/1.364, allocations: 4.67 MB / 0.5583 GB, free: 48.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00845/1.372, allocations: 321.2 kB / 0.5586 GB, free: 47.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001483/1.374, allocations: 359.9 kB / 0.5589 GB, free: 47.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],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.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 (743): * Single equations (assignments): 735 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.03091/1.405, allocations: 2.378 MB / 0.5613 GB, free: 45.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009628/1.406, allocations: 300.1 kB / 0.5615 GB, free: 44.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02427/1.43, allocations: 4.447 MB / 0.5659 GB, free: 40.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001464/1.43, allocations: 49.47 kB / 0.5659 GB, free: 40.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.756e-05/1.43, allocations: 7.938 kB / 0.5659 GB, free: 40.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.837e-05/1.431, allocations: 11.92 kB / 0.566 GB, free: 40.38 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04209/1.473, allocations: 10.6 MB / 0.5763 GB, free: 29.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-05/1.473, allocations: 12.52 kB / 0.5763 GB, free: 29.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005013/1.478, allocations: 387.4 kB / 0.5767 GB, free: 29.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005133/1.483, allocations: 0.6774 MB / 0.5773 GB, free: 28.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000696/1.484, allocations: 48.61 kB / 0.5774 GB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005713/1.49, allocations: 2.44 MB / 0.5798 GB, free: 25.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.139e-05/1.49, allocations: 7.938 kB / 0.5798 GB, free: 25.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02298/1.513, allocations: 7.203 MB / 0.5868 GB, free: 18.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/1.514, allocations: 353.1 kB / 0.5872 GB, free: 18.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0018/1.516, allocations: 47.94 kB / 0.5872 GB, free: 18.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004308/1.52, allocations: 133.1 kB / 0.5873 GB, free: 17.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009242/1.521, allocations: 139 kB / 0.5875 GB, free: 17.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000486/1.522, allocations: 63.98 kB / 0.5875 GB, free: 17.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006676/1.528, allocations: 2.01 MB / 0.5895 GB, free: 15.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.633e-06/1.528, allocations: 0 / 0.5895 GB, free: 15.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0105/1.539, allocations: 1.083 MB / 0.5905 GB, free: 14.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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,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 (191): * Single equations (assignments): 182 * 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.001447/1.541, allocations: 200.2 kB / 0.5907 GB, free: 14.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02027/1.561, allocations: 5.827 MB / 0.5964 GB, free: 8.684 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.791e-05/1.561, allocations: 0 / 0.5964 GB, free: 8.684 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01077/1.572, allocations: 2.41 MB / 0.5988 GB, free: 6.215 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004748/1.576, allocations: 418.2 kB / 0.5992 GB, free: 5.809 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03923/1.616, allocations: 13.38 MB / 0.6122 GB, free: 8.348 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008757/1.625, allocations: 3.832 MB / 0.616 GB, free: 4.473 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00945/1.634, allocations: 2.052 MB / 0.618 GB, free: 2.418 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001721/1.636, allocations: 243.4 kB / 0.6182 GB, free: 2.18 MB / 442.7 MB Notification: Performance of SimCode: time 1.894e-06/1.636, allocations: 0 / 0.6182 GB, free: 2.18 MB / 442.7 MB Notification: Performance of Templates: time 0.1123/1.748, allocations: 34.62 MB / 0.652 GB, free: 15.7 MB / 490.7 MB