Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadModel(ModelicaTest): time 2.409/2.409, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.38e-05/3.384e-05, allocations: 4 kB / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3711, allocations: 54.86 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.05705/0.4282, allocations: 36.66 MB / 399.5 MB, free: 9.094 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02443/0.4527, allocations: 8.565 MB / 408.1 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008265/0.4611, allocations: 203.5 kB / 408.3 MB, free: 312 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006783/0.4679, allocations: 1.976 MB / 410.2 MB, free: 14.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02013/0.4881, allocations: 5.38 MB / 415.6 MB, free: 8.926 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003335/0.4915, allocations: 475.2 kB / 416.1 MB, free: 8.461 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004955/0.4965, allocations: 1.595 MB / 417.7 MB, free: 6.863 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007951/0.5045, allocations: 3.672 MB / 421.4 MB, free: 3.148 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001988/0.5065, allocations: 0.7558 MB / 422.1 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002797/0.5094, allocations: 1.247 MB / 423.4 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002726/0.5121, allocations: 0.8387 MB / 424.2 MB, free: 308 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001136/0.5133, allocations: 120 kB / 424.3 MB, free: 188 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002663/0.516, allocations: 1.554 MB / 425.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.5174, allocations: 256 kB / 426.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009726/0.5271, allocations: 6.056 MB / 432.2 MB, free: 8.305 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5272, allocations: 0 / 432.2 MB, free: 8.305 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.042e-06/0.5272, allocations: 4 kB / 432.2 MB, free: 8.301 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002562/0.5275, allocations: 3.938 kB / 432.2 MB, free: 8.297 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01554/0.543, allocations: 4.384 MB / 436.6 MB, free: 3.848 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.5431, allocations: 8.031 kB / 436.6 MB, free: 3.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02385/0.567, allocations: 3.827 MB / 440.4 MB, free: 0 / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007621/0.5746, allocations: 2.473 MB / 442.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003921/0.5751, allocations: 258.2 kB / 443.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001962/0.5771, allocations: 331.7 kB / 443.5 MB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03251/0.6096, allocations: 11.91 MB / 455.4 MB, free: 0.543 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001746/0.6098, allocations: 27.72 kB / 455.4 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001566/0.6114, allocations: 151.8 kB / 455.5 MB, free: 376 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007761/0.6192, allocations: 2.649 MB / 458.2 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03456/0.6538, allocations: 11.01 MB / 469.2 MB, free: 2.688 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4628/1.117, allocations: 37.54 MB / 0.4949 GB, free: 99.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01969/1.136, allocations: 4.402 MB / 0.4992 GB, free: 98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002384/1.139, allocations: 1.315 MB / 0.5005 GB, free: 96.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.688e-05/1.139, allocations: 58.12 kB / 0.5005 GB, free: 96.83 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 1.005e-05/1.139, allocations: 0 / 0.5005 GB, free: 96.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.1025/1.242, allocations: 14.45 MB / 0.5146 GB, free: 93.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/1.242, allocations: 74.03 kB / 0.5147 GB, free: 93.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008471/1.25, allocations: 2.748 MB / 0.5174 GB, free: 92.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006675/1.251, allocations: 57.39 kB / 0.5174 GB, free: 92.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003349/1.254, allocations: 3.094 MB / 0.5204 GB, free: 89.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001947/1.256, allocations: 0.9698 MB / 0.5214 GB, free: 88.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008533/1.257, allocations: 118 kB / 0.5215 GB, free: 88.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006575/1.258, allocations: 0.5708 MB / 0.5221 GB, free: 88.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008515/1.266, allocations: 2.366 MB / 0.5244 GB, free: 85.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01177/1.278, allocations: 5.627 MB / 0.5299 GB, free: 78.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01268/1.291, allocations: 3.658 MB / 0.5334 GB, free: 75.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001423/1.291, allocations: 36 kB / 0.5335 GB, free: 75.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03871/1.33, allocations: 8.646 MB / 0.5419 GB, free: 66.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001509/1.33, allocations: 53.41 kB / 0.542 GB, free: 66.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002147/1.33, allocations: 116 kB / 0.5421 GB, free: 66.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009637/1.34, allocations: 1.064 MB / 0.5431 GB, free: 65.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0122/1.352, allocations: 1.361 MB / 0.5444 GB, free: 64.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005902/1.358, allocations: 2.51 MB / 0.5469 GB, free: 61.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008953/1.367, allocations: 329.3 kB / 0.5472 GB, free: 61.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001578/1.369, allocations: 340 kB / 0.5475 GB, free: 60.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 520 * Number of states: 0 () * Number of discrete variables: 24 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (741): * Single equations (assignments): 732 * 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.008298/1.377, allocations: 2.331 MB / 0.5498 GB, free: 58.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/1.379, allocations: 300.1 kB / 0.5501 GB, free: 58.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02482/1.404, allocations: 5.078 MB / 0.5551 GB, free: 52.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001484/1.404, allocations: 53.11 kB / 0.5551 GB, free: 52.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.002e-05/1.404, allocations: 0 / 0.5551 GB, free: 52.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-05/1.404, allocations: 11.95 kB / 0.5551 GB, free: 52.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05432/1.458, allocations: 11.77 MB / 0.5666 GB, free: 41.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.945e-05/1.458, allocations: 12.19 kB / 0.5666 GB, free: 41.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00552/1.464, allocations: 425.6 kB / 0.567 GB, free: 40.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009038/1.473, allocations: 0.915 MB / 0.5679 GB, free: 39.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007352/1.474, allocations: 61.45 kB / 0.568 GB, free: 39.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005484/1.479, allocations: 2.291 MB / 0.5702 GB, free: 37.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.537e-05/1.479, allocations: 11.94 kB / 0.5702 GB, free: 37.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03261/1.512, allocations: 8.198 MB / 0.5782 GB, free: 28.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.513, allocations: 349.1 kB / 0.5786 GB, free: 28.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001936/1.515, allocations: 49.2 kB / 0.5786 GB, free: 28.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004338/1.52, allocations: 144.5 kB / 0.5788 GB, free: 28.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009849/1.521, allocations: 158.2 kB / 0.5789 GB, free: 27.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004985/1.521, allocations: 81.38 kB / 0.579 GB, free: 27.78 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007653/1.529, allocations: 1.882 MB / 0.5808 GB, free: 25.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.313e-06/1.529, allocations: 0 / 0.5808 GB, free: 25.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01218/1.541, allocations: 1.048 MB / 0.5819 GB, free: 24.85 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.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.001434/1.543, allocations: 221.1 kB / 0.5821 GB, free: 24.63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02373/1.567, allocations: 6.212 MB / 0.5881 GB, free: 18.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.697e-05/1.567, allocations: 8.125 kB / 0.5881 GB, free: 18.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01094/1.578, allocations: 2.597 MB / 0.5907 GB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005526/1.583, allocations: 465.8 kB / 0.5911 GB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04657/1.63, allocations: 13.99 MB / 0.6048 GB, free: 1.164 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0123/1.642, allocations: 3.747 MB / 0.6084 GB, free: 13.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002993/1.645, allocations: 303.4 kB / 0.6087 GB, free: 13.09 MB / 442.7 MB Notification: Performance of SimCode: time 2.575e-06/1.645, allocations: 3.938 kB / 0.6087 GB, free: 13.09 MB / 442.7 MB Notification: Performance of Templates: time 0.6088/2.254, allocations: 120.5 MB / 0.7264 GB, free: 156.1 MB / 0.4948 GB