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_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadModel(ModelicaTest): time 2.432/2.432, allocations: 270 MB / 283.6 MB, free: 1.805 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.781e-05/4.808e-05, allocations: 4 kB / 348.4 MB, free: 2.691 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3752, allocations: 61.88 MB / 410.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1862/0.5614, allocations: 110.3 MB / 0.5083 GB, free: 12.32 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/0.5618, allocations: 75.97 kB / 0.5084 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6716/1.233, allocations: 97.88 MB / 0.604 GB, free: 37.37 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.041e-06/1.234, allocations: 0 / 0.604 GB, free: 37.37 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000184/1.234, allocations: 84 kB / 0.6041 GB, free: 37.29 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1840 * Number of variables: 1840 Notification: Performance of Generate backend data structure: time 0.01502/1.249, allocations: 4.604 MB / 0.6086 GB, free: 32.61 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/1.249, allocations: 8.031 kB / 0.6086 GB, free: 32.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01818/1.267, allocations: 3.604 MB / 0.6121 GB, free: 28.99 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01368/1.281, allocations: 4.729 MB / 0.6167 GB, free: 24.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002966/1.281, allocations: 369.7 kB / 0.6171 GB, free: 23.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001564/1.283, allocations: 487.9 kB / 0.6175 GB, free: 23.37 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03114/1.314, allocations: 11.89 MB / 0.6291 GB, free: 10.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001736/1.314, allocations: 23.81 kB / 0.6292 GB, free: 10.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001289/1.315, allocations: 219.9 kB / 0.6294 GB, free: 10.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001873/1.317, allocations: 1.295 MB / 0.6306 GB, free: 9.414 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02513/1.342, allocations: 11.04 MB / 0.6414 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07765/1.42, allocations: 41.36 MB / 0.6818 GB, free: 3.984 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01341/1.433, allocations: 4.914 MB / 0.6866 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004587/1.438, allocations: 2.335 MB / 0.6889 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01412/1.452, allocations: 6.808 MB / 0.6955 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/1.452, allocations: 52.5 kB / 0.6956 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=226): time 6.642e-06/1.452, allocations: 0 / 0.6956 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of matching and sorting (n=235): time 0.05235/1.505, allocations: 13.53 MB / 0.7088 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/1.505, allocations: 73.39 kB / 0.7089 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005706/1.511, allocations: 2.772 MB / 0.7116 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003972/1.511, allocations: 61.62 kB / 0.7116 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003294/1.514, allocations: 3.216 MB / 0.7148 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001348/1.516, allocations: 0.8827 MB / 0.7156 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004766/1.516, allocations: 123.9 kB / 0.7158 GB, free: 424 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.3815/1.898, allocations: 0.5608 MB / 0.7163 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005451/1.903, allocations: 2.293 MB / 0.7186 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006088/1.909, allocations: 5.564 MB / 0.724 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006546/1.916, allocations: 3.616 MB / 0.7275 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.38e-05/1.916, allocations: 32.53 kB / 0.7275 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.01918/1.935, allocations: 8.344 MB / 0.7357 GB, free: 126 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.138e-05/1.935, allocations: 54.59 kB / 0.7357 GB, free: 126 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/1.935, allocations: 114.7 kB / 0.7359 GB, free: 126 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004269/1.94, allocations: 1.133 MB / 0.737 GB, free: 126 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005924/1.946, allocations: 1.345 MB / 0.7383 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008657/1.954, allocations: 4.589 MB / 0.7428 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006954/1.961, allocations: 319.4 kB / 0.7431 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/1.962, allocations: 345.5 kB / 0.7434 GB, free: 124.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 528 * Number of states: 0 () * Number of discrete variables: 32 (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.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (729): * Single equations (assignments): 721 * 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 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.001082/1.964, allocations: 0.5333 MB / 0.7439 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005507/1.964, allocations: 294.4 kB / 0.7442 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008776/1.973, allocations: 4.334 MB / 0.7484 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.466e-05/1.973, allocations: 46.02 kB / 0.7485 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/1.973, allocations: 0 / 0.7485 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.949e-05/1.973, allocations: 14.73 kB / 0.7485 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02167/1.995, allocations: 10.32 MB / 0.7586 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/1.995, allocations: 6.344 kB / 0.7586 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002326/1.997, allocations: 379.5 kB / 0.7589 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002397/2, allocations: 0.6725 MB / 0.7596 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002783/2, allocations: 47.3 kB / 0.7596 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003042/2.003, allocations: 2.411 MB / 0.762 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.234e-06/2.003, allocations: 13.69 kB / 0.762 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01205/2.015, allocations: 7.11 MB / 0.7689 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008093/2.016, allocations: 350 kB / 0.7693 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005917/2.016, allocations: 43.86 kB / 0.7693 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/2.018, allocations: 142.2 kB / 0.7695 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003338/2.019, allocations: 128.7 kB / 0.7696 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002324/2.019, allocations: 71.05 kB / 0.7696 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003345/2.022, allocations: 1.863 MB / 0.7715 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.018e-06/2.022, allocations: 0 / 0.7715 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005878/2.028, allocations: 1.066 MB / 0.7725 GB, free: 115.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (187): * Single equations (assignments): 178 * 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.0005892/2.029, allocations: 194.6 kB / 0.7727 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009832/2.039, allocations: 5.487 MB / 0.778 GB, free: 111 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/2.039, allocations: 3.719 kB / 0.778 GB, free: 111 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004318/2.043, allocations: 2.347 MB / 0.7803 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/2.045, allocations: 429.5 kB / 0.7808 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/2.063, allocations: 9.272 MB / 0.7898 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00489/2.068, allocations: 3.774 MB / 0.7935 GB, free: 97.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005762/2.074, allocations: 2.021 MB / 0.7955 GB, free: 96.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009397/2.075, allocations: 234.9 kB / 0.7957 GB, free: 95.94 MB / 0.5105 GB Notification: Performance of SimCode: time 1.77e-06/2.075, allocations: 0 / 0.7957 GB, free: 95.94 MB / 0.5105 GB Notification: Performance of Templates: time 0.0879/2.163, allocations: 33.32 MB / 0.8282 GB, free: 70.74 MB / 0.5105 GB