Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadModel(ModelicaTest): time 2.31/2.31, allocations: 270 MB / 282.7 MB, free: 1.922 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.908e-05/3.913e-05, allocations: 7.938 kB / 347 MB, free: 3.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.322, allocations: 61.87 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2212/0.5432, allocations: 110.2 MB / 0.5069 GB, free: 12.39 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.5435, allocations: 75.97 kB / 0.507 GB, free: 12.32 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6578/1.201, allocations: 97.89 MB / 0.6026 GB, free: 37.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.382e-06/1.201, allocations: 3.938 kB / 0.6026 GB, free: 37.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002952/1.202, allocations: 95.98 kB / 0.6027 GB, free: 37.34 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.0244/1.226, allocations: 4.596 MB / 0.6072 GB, free: 32.67 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.226, allocations: 8.031 kB / 0.6072 GB, free: 32.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01882/1.245, allocations: 3.604 MB / 0.6107 GB, free: 29.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01361/1.259, allocations: 4.718 MB / 0.6153 GB, free: 24.28 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003161/1.259, allocations: 377.7 kB / 0.6157 GB, free: 23.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001895/1.261, allocations: 483.8 kB / 0.6161 GB, free: 23.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02598/1.287, allocations: 11.89 MB / 0.6277 GB, free: 11.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002184/1.287, allocations: 31.66 kB / 0.6278 GB, free: 10.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001783/1.289, allocations: 219.9 kB / 0.628 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001914/1.291, allocations: 1.299 MB / 0.6292 GB, free: 9.473 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02474/1.316, allocations: 11.04 MB / 0.64 GB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07503/1.391, allocations: 41.37 MB / 0.6804 GB, free: 4.039 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01338/1.404, allocations: 4.898 MB / 0.6852 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004425/1.409, allocations: 2.346 MB / 0.6875 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01385/1.423, allocations: 6.811 MB / 0.6941 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.079e-05/1.423, allocations: 56.56 kB / 0.6942 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=226): time 6.148e-06/1.423, allocations: 0 / 0.6942 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of matching and sorting (n=235): time 0.04372/1.466, allocations: 13.53 MB / 0.7074 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/1.467, allocations: 77.41 kB / 0.7075 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005416/1.472, allocations: 2.772 MB / 0.7102 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003679/1.472, allocations: 53.7 kB / 0.7102 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002987/1.475, allocations: 3.215 MB / 0.7134 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001282/1.477, allocations: 0.8789 MB / 0.7142 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004341/1.477, allocations: 116 kB / 0.7143 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.2992/1.776, allocations: 0.5656 MB / 0.7149 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005918/1.782, allocations: 2.29 MB / 0.7171 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006442/1.789, allocations: 5.565 MB / 0.7226 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006799/1.796, allocations: 3.618 MB / 0.7261 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.711e-05/1.796, allocations: 32.34 kB / 0.7261 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.01986/1.816, allocations: 8.266 MB / 0.7342 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.547e-05/1.816, allocations: 60.81 kB / 0.7343 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001268/1.816, allocations: 114.2 kB / 0.7344 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00404/1.82, allocations: 1.137 MB / 0.7355 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005943/1.826, allocations: 1.346 MB / 0.7368 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006859/1.833, allocations: 4.584 MB / 0.7413 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005562/1.838, allocations: 320.9 kB / 0.7416 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001127/1.84, allocations: 345.5 kB / 0.7419 GB, free: 123.9 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.001142/1.841, allocations: 0.5314 MB / 0.7424 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005748/1.841, allocations: 302.9 kB / 0.7427 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008895/1.85, allocations: 4.333 MB / 0.7469 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.938e-05/1.85, allocations: 47.72 kB / 0.747 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/1.85, allocations: 0 / 0.747 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.492e-05/1.85, allocations: 13.8 kB / 0.747 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02293/1.873, allocations: 10.31 MB / 0.7571 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/1.873, allocations: 15.44 kB / 0.7571 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002469/1.876, allocations: 379.4 kB / 0.7574 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002658/1.879, allocations: 0.6747 MB / 0.7581 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003665/1.879, allocations: 46.55 kB / 0.7581 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003138/1.882, allocations: 2.41 MB / 0.7605 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.977e-06/1.882, allocations: 7.031 kB / 0.7605 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/1.894, allocations: 7.111 MB / 0.7675 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008216/1.895, allocations: 348.6 kB / 0.7678 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006563/1.896, allocations: 40.59 kB / 0.7678 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/1.898, allocations: 140.8 kB / 0.768 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003445/1.898, allocations: 136.1 kB / 0.7681 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002372/1.898, allocations: 62.89 kB / 0.7681 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003392/1.902, allocations: 1.87 MB / 0.77 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.57e-07/1.902, allocations: 0 / 0.77 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005703/1.908, allocations: 1.061 MB / 0.771 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.0005507/1.908, allocations: 196.9 kB / 0.7712 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01013/1.918, allocations: 5.478 MB / 0.7765 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.001e-06/1.918, allocations: 3.719 kB / 0.7766 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004343/1.923, allocations: 2.354 MB / 0.7789 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/1.925, allocations: 428.4 kB / 0.7793 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/1.945, allocations: 9.813 MB / 0.7888 GB, free: 99.97 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006128/1.951, allocations: 3.783 MB / 0.7925 GB, free: 97.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/1.953, allocations: 279.2 kB / 0.7928 GB, free: 96.83 MB / 0.5105 GB Notification: Performance of SimCode: time 2.022e-06/1.953, allocations: 0 / 0.7928 GB, free: 96.83 MB / 0.5105 GB Notification: Performance of Templates: time 0.1371/2.09, allocations: 109.2 MB / 0.8994 GB, free: 12.2 MB / 0.5261 GB