Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadModel(ModelicaTest): time 2.385/2.385, allocations: 270 MB / 282.6 MB, free: 1.82 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.395e-05/3.407e-05, allocations: 4 kB / 347 MB, free: 3.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3403, allocations: 61.87 MB / 408.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1576/0.498, allocations: 103.4 MB / 0.5002 GB, free: 3.246 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.4983, allocations: 79.89 kB / 0.5003 GB, free: 3.168 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5792/1.077, allocations: 86.4 MB / 0.5847 GB, free: 55.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.482e-06/1.078, allocations: 0 / 0.5847 GB, free: 55.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.00014/1.078, allocations: 68 kB / 0.5848 GB, free: 55.59 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: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.009313/1.087, allocations: 3.611 MB / 0.5883 GB, free: 51.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/1.087, allocations: 12.03 kB / 0.5883 GB, free: 51.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01962/1.107, allocations: 3.625 MB / 0.5918 GB, free: 48.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01306/1.12, allocations: 4.76 MB / 0.5965 GB, free: 43.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002879/1.12, allocations: 287.4 kB / 0.5968 GB, free: 43.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001857/1.122, allocations: 375.8 kB / 0.5971 GB, free: 42.81 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02118/1.143, allocations: 9.955 MB / 0.6068 GB, free: 32.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/1.143, allocations: 27.75 kB / 0.6069 GB, free: 32.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000811/1.144, allocations: 175.9 kB / 0.607 GB, free: 32.19 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001672/1.146, allocations: 1.16 MB / 0.6082 GB, free: 31.03 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02046/1.166, allocations: 9.645 MB / 0.6176 GB, free: 21.37 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.058/1.224, allocations: 35.69 MB / 0.6524 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/1.235, allocations: 4.244 MB / 0.6566 GB, free: 12.3 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004332/1.24, allocations: 2.133 MB / 0.6587 GB, free: 10.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001748/1.241, allocations: 1.315 MB / 0.66 GB, free: 8.625 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.976e-05/1.242, allocations: 48.56 kB / 0.66 GB, free: 8.57 MB / 474.7 MB Notification: Performance of pre-optimization done (n=236): time 1.025e-05/1.242, allocations: 0 / 0.66 GB, free: 8.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=252): time 0.04667/1.288, allocations: 14.03 MB / 0.6737 GB, free: 10.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001706/1.29, allocations: 1.527 MB / 0.6752 GB, free: 8.781 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00518/1.295, allocations: 2.392 MB / 0.6775 GB, free: 6.371 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004582/1.296, allocations: 61.69 kB / 0.6776 GB, free: 6.305 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002728/1.298, allocations: 2.657 MB / 0.6802 GB, free: 3.609 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001423/1.3, allocations: 0.9328 MB / 0.6811 GB, free: 2.664 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000473/1.3, allocations: 108 kB / 0.6812 GB, free: 2.559 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005434/1.301, allocations: 0.5502 MB / 0.6817 GB, free: 1.996 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004938/1.306, allocations: 2.33 MB / 0.684 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008279/1.314, allocations: 5.241 MB / 0.6891 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007495/1.322, allocations: 3.546 MB / 0.6926 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.269e-05/1.322, allocations: 28 kB / 0.6926 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of matching and sorting (n=731) (initialization): time 0.02786/1.35, allocations: 8.858 MB / 0.7013 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/1.35, allocations: 52.19 kB / 0.7013 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01554/1.365, allocations: 4.472 MB / 0.7057 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0123/1.378, allocations: 2.051 MB / 0.7077 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005812/1.384, allocations: 1.252 MB / 0.7089 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3626/1.746, allocations: 4.925 MB / 0.7137 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005386/1.752, allocations: 387 kB / 0.7141 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001062/1.753, allocations: 318 kB / 0.7144 GB, free: 134.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 26 (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],freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.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 (669): * Single equations (assignments): 657 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.001068/1.754, allocations: 0.4938 MB / 0.7149 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005851/1.754, allocations: 275.5 kB / 0.7151 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/1.767, allocations: 5.226 MB / 0.7202 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01109/1.778, allocations: 4.511 MB / 0.7246 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/1.778, allocations: 3.938 kB / 0.7247 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.409e-05/1.778, allocations: 11.58 kB / 0.7247 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03012/1.808, allocations: 14.29 MB / 0.7386 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.556e-05/1.808, allocations: 7.594 kB / 0.7386 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002513/1.811, allocations: 404.4 kB / 0.739 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005639/1.817, allocations: 1.189 MB / 0.7402 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004338/1.817, allocations: 66.95 kB / 0.7402 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005157/1.822, allocations: 4.431 MB / 0.7446 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009503/1.823, allocations: 1.465 MB / 0.746 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02007/1.843, allocations: 8.614 MB / 0.7544 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007784/1.844, allocations: 335.2 kB / 0.7547 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000525/1.845, allocations: 53.91 kB / 0.7548 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/1.846, allocations: 190.3 kB / 0.755 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000391/1.847, allocations: 163.3 kB / 0.7551 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002538/1.847, allocations: 78.97 kB / 0.7552 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002754/1.85, allocations: 1.633 MB / 0.7568 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.21e-07/1.85, allocations: 0 / 0.7568 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005217/1.855, allocations: 1.04 MB / 0.7578 GB, free: 123.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (192): * 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): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.0005296/1.856, allocations: 210.5 kB / 0.758 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01154/1.867, allocations: 6.094 MB / 0.764 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.55e-05/1.867, allocations: 3.75 kB / 0.764 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005665/1.873, allocations: 2.783 MB / 0.7667 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/1.875, allocations: 360.5 kB / 0.767 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/1.893, allocations: 9.367 MB / 0.7762 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004209/1.897, allocations: 3.332 MB / 0.7794 GB, free: 110 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001543/1.898, allocations: 256.8 kB / 0.7797 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.74e-06/1.898, allocations: 0 / 0.7797 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.1423/2.041, allocations: 122 MB / 0.8988 GB, free: 9.992 MB / 0.5261 GB