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.2_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadModel(ModelicaTest): time 2.372/2.372, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.241e-05/3.241e-05, allocations: 4 kB / 308 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4168, allocations: 54.87 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.05261/0.4695, allocations: 27.07 MB / 389.9 MB, free: 2.711 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01894/0.4885, allocations: 6.677 MB / 396.6 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005846/0.4944, allocations: 139.7 kB / 396.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004959/0.4994, allocations: 1.443 MB / 398.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01479/0.5142, allocations: 4.055 MB / 402.2 MB, free: 6.359 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00252/0.5168, allocations: 407.2 kB / 402.6 MB, free: 5.961 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004434/0.5213, allocations: 1.485 MB / 404.1 MB, free: 4.477 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006147/0.5275, allocations: 2.921 MB / 407 MB, free: 1.523 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.529, allocations: 0.7324 MB / 407.8 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002413/0.5315, allocations: 1.212 MB / 409 MB, free: 15.57 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.534, allocations: 0.8348 MB / 409.8 MB, free: 14.74 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008639/0.5349, allocations: 120 kB / 409.9 MB, free: 14.62 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002208/0.5372, allocations: 1.461 MB / 411.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.5382, allocations: 236 kB / 411.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008871/0.5471, allocations: 5.623 MB / 417.3 MB, free: 7.289 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5471, allocations: 0 / 417.3 MB, free: 7.289 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5472, allocations: 0 / 417.3 MB, free: 7.289 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000258/0.5474, allocations: 0 / 417.3 MB, free: 7.289 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.01458/0.562, allocations: 4.148 MB / 421.4 MB, free: 3.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.5621, allocations: 15.97 kB / 421.4 MB, free: 3.059 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02387/0.586, allocations: 3.792 MB / 425.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006975/0.593, allocations: 2.321 MB / 427.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003135/0.5934, allocations: 233.5 kB / 427.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001719/0.5951, allocations: 299.7 kB / 428 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02938/0.6245, allocations: 11.47 MB / 439.5 MB, free: 464 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000139/0.6247, allocations: 27.72 kB / 439.5 MB, free: 436 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001069/0.6258, allocations: 135.8 kB / 439.7 MB, free: 300 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007578/0.6334, allocations: 2.636 MB / 442.3 MB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0403/0.6737, allocations: 10.72 MB / 453 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09778/0.7716, allocations: 36.43 MB / 489.5 MB, free: 13.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01393/0.7856, allocations: 4.4 MB / 493.9 MB, free: 9.004 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001979/0.7876, allocations: 1.319 MB / 495.2 MB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.309e-05/0.7877, allocations: 52.56 kB / 495.2 MB, free: 7.406 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 6.452e-06/0.7877, allocations: 0 / 495.2 MB, free: 7.406 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.3809/1.169, allocations: 14.48 MB / 0.4978 GB, free: 117.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/1.169, allocations: 76.78 kB / 0.4979 GB, free: 117.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004715/1.173, allocations: 2.61 MB / 0.5004 GB, free: 116.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005055/1.174, allocations: 60.73 kB / 0.5005 GB, free: 116.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002021/1.176, allocations: 2.931 MB / 0.5033 GB, free: 114.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001263/1.177, allocations: 0.9708 MB / 0.5043 GB, free: 113.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004486/1.178, allocations: 116.4 kB / 0.5044 GB, free: 113.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003396/1.178, allocations: 0.565 MB / 0.5049 GB, free: 113.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005032/1.183, allocations: 2.332 MB / 0.5072 GB, free: 112.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007053/1.19, allocations: 5.468 MB / 0.5125 GB, free: 107.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007642/1.198, allocations: 3.573 MB / 0.516 GB, free: 106 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.071e-05/1.198, allocations: 36 kB / 0.5161 GB, free: 106 MB / 426.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.02335/1.221, allocations: 8.477 MB / 0.5243 GB, free: 97.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.823e-05/1.222, allocations: 57.66 kB / 0.5244 GB, free: 97.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/1.222, allocations: 108 kB / 0.5245 GB, free: 97.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006215/1.228, allocations: 1.044 MB / 0.5255 GB, free: 96.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007934/1.236, allocations: 1.337 MB / 0.5268 GB, free: 95.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003737/1.24, allocations: 2.504 MB / 0.5293 GB, free: 92.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005444/1.245, allocations: 321.8 kB / 0.5296 GB, free: 92.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001033/1.246, allocations: 332 kB / 0.5299 GB, free: 91.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 499 * 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],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 (720): * Single equations (assignments): 711 * 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.00503/1.251, allocations: 2.232 MB / 0.5321 GB, free: 89.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009558/1.252, allocations: 284.2 kB / 0.5324 GB, free: 89.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01517/1.267, allocations: 5.065 MB / 0.5373 GB, free: 84.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001087/1.268, allocations: 49.84 kB / 0.5373 GB, free: 84.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/1.268, allocations: 8 kB / 0.5374 GB, free: 84.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.32e-05/1.268, allocations: 13.92 kB / 0.5374 GB, free: 84.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03206/1.3, allocations: 11.56 MB / 0.5487 GB, free: 72.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.711e-05/1.3, allocations: 8 kB / 0.5487 GB, free: 72.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003827/1.304, allocations: 435.3 kB / 0.5491 GB, free: 72.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005971/1.31, allocations: 0.908 MB / 0.55 GB, free: 71.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005652/1.31, allocations: 61.53 kB / 0.55 GB, free: 71.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003671/1.314, allocations: 2.299 MB / 0.5523 GB, free: 68.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.51e-05/1.314, allocations: 12.06 kB / 0.5523 GB, free: 68.72 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02007/1.334, allocations: 8.152 MB / 0.5602 GB, free: 60.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.335, allocations: 337.3 kB / 0.5606 GB, free: 59.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001283/1.337, allocations: 53.97 kB / 0.5606 GB, free: 59.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002925/1.34, allocations: 143.8 kB / 0.5608 GB, free: 59.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007301/1.34, allocations: 157.6 kB / 0.5609 GB, free: 59.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002729/1.341, allocations: 77.86 kB / 0.561 GB, free: 59.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00396/1.345, allocations: 1.788 MB / 0.5627 GB, free: 57.67 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.345, allocations: 0 / 0.5627 GB, free: 57.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006554/1.351, allocations: 1.023 MB / 0.5637 GB, free: 56.65 MB / 426.7 MB 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.001073/1.352, allocations: 200.5 kB / 0.5639 GB, free: 56.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01554/1.368, allocations: 6.145 MB / 0.5699 GB, free: 50.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/1.368, allocations: 0 / 0.5699 GB, free: 50.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007591/1.376, allocations: 2.598 MB / 0.5725 GB, free: 47.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003362/1.379, allocations: 395.4 kB / 0.5728 GB, free: 47.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02824/1.407, allocations: 13.45 MB / 0.586 GB, free: 33.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006629/1.414, allocations: 3.596 MB / 0.5895 GB, free: 30.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001917/1.416, allocations: 283.4 kB / 0.5897 GB, free: 29.75 MB / 426.7 MB Notification: Performance of SimCode: time 3.317e-06/1.416, allocations: 0 / 0.5897 GB, free: 29.75 MB / 426.7 MB Notification: Performance of Templates: time 0.5247/1.941, allocations: 114.7 MB / 0.7018 GB, free: 128.6 MB / 474.7 MB