Running command: translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadModel(ModelicaTest): time 2.364/2.364, allocations: 270 MB / 282.7 MB, free: 1.789 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.908e-05/3.925e-05, allocations: 7.938 kB / 347 MB, free: 3.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3229, allocations: 61.87 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/0.4812, allocations: 103.2 MB / 0.5 GB, free: 3.445 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.4815, allocations: 71.97 kB / 0.5001 GB, free: 3.375 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5703/1.052, allocations: 84.66 MB / 0.5828 GB, free: 57.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.928e-06/1.052, allocations: 0 / 0.5828 GB, free: 57.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001491/1.052, allocations: 72 kB / 0.5828 GB, free: 57.48 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.0143/1.066, allocations: 3.86 MB / 0.5866 GB, free: 53.56 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/1.066, allocations: 12.03 kB / 0.5866 GB, free: 53.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02755/1.094, allocations: 5.867 MB / 0.5923 GB, free: 47.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01489/1.109, allocations: 5.17 MB / 0.5974 GB, free: 42.44 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002555/1.109, allocations: 279.3 kB / 0.5977 GB, free: 42.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001583/1.111, allocations: 375.8 kB / 0.598 GB, free: 41.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02216/1.133, allocations: 10.31 MB / 0.6081 GB, free: 30.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001251/1.133, allocations: 27.75 kB / 0.6081 GB, free: 30.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007306/1.134, allocations: 167.9 kB / 0.6083 GB, free: 30.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001602/1.135, allocations: 1.152 MB / 0.6094 GB, free: 29.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02138/1.157, allocations: 9.855 MB / 0.619 GB, free: 19.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0665/1.223, allocations: 37.4 MB / 0.6556 GB, free: 13.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01549/1.239, allocations: 5.552 MB / 0.661 GB, free: 7.645 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004399/1.243, allocations: 2.307 MB / 0.6632 GB, free: 5.336 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00236/1.246, allocations: 1.88 MB / 0.6651 GB, free: 3.121 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.037e-05/1.246, allocations: 60.55 kB / 0.6651 GB, free: 3.055 MB / 474.7 MB Notification: Performance of pre-optimization done (n=224): time 6.654e-06/1.246, allocations: 0 / 0.6651 GB, free: 3.055 MB / 474.7 MB Notification: Performance of matching and sorting (n=231): time 0.04061/1.287, allocations: 12.36 MB / 0.6772 GB, free: 6.613 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001682/1.288, allocations: 1.515 MB / 0.6787 GB, free: 4.945 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005084/1.293, allocations: 2.477 MB / 0.6811 GB, free: 2.453 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000482/1.294, allocations: 57.69 kB / 0.6811 GB, free: 2.391 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002743/1.297, allocations: 2.668 MB / 0.6837 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001368/1.298, allocations: 0.8519 MB / 0.6846 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005499/1.299, allocations: 108 kB / 0.6847 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005616/1.299, allocations: 0.5462 MB / 0.6852 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005633/1.305, allocations: 2.564 MB / 0.6877 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008807/1.314, allocations: 5.517 MB / 0.6931 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007855/1.322, allocations: 3.788 MB / 0.6968 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.913e-05/1.322, allocations: 28 kB / 0.6968 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of matching and sorting (n=724) (initialization): time 0.3823/1.704, allocations: 18.52 MB / 0.7149 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/1.704, allocations: 49.56 kB / 0.715 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05127/1.755, allocations: 11.97 MB / 0.7267 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0555/1.811, allocations: 10.3 MB / 0.7367 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005254/1.816, allocations: 1.252 MB / 0.7379 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03054/1.847, allocations: 15.87 MB / 0.7534 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005394/1.852, allocations: 446.4 kB / 0.7539 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/1.853, allocations: 318.5 kB / 0.7542 GB, free: 131.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * Number of states: 0 () * Number of discrete variables: 24 (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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (652): * Single equations (assignments): 641 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.001061/1.854, allocations: 0.4899 MB / 0.7546 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005348/1.855, allocations: 274 kB / 0.7549 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/1.865, allocations: 5.072 MB / 0.7599 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008979/1.874, allocations: 4.358 MB / 0.7641 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/1.874, allocations: 3.375 kB / 0.7641 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.949e-05/1.874, allocations: 7.734 kB / 0.7641 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02595/1.9, allocations: 12.92 MB / 0.7767 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.798e-05/1.9, allocations: 8 kB / 0.7768 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002292/1.903, allocations: 405 kB / 0.7771 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003614/1.906, allocations: 0.933 MB / 0.778 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004577/1.907, allocations: 55.97 kB / 0.7781 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006991/1.914, allocations: 5.429 MB / 0.7834 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009135/1.915, allocations: 1.465 MB / 0.7848 GB, free: 110 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/1.928, allocations: 8.283 MB / 0.7929 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007626/1.929, allocations: 330.4 kB / 0.7932 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005929/1.93, allocations: 46.41 kB / 0.7933 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001911/1.932, allocations: 203.9 kB / 0.7935 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003991/1.932, allocations: 148.2 kB / 0.7936 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002417/1.932, allocations: 68.02 kB / 0.7937 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002789/1.935, allocations: 1.681 MB / 0.7953 GB, free: 99.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.047e-06/1.935, allocations: 0 / 0.7953 GB, free: 99.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005788/1.941, allocations: 1.112 MB / 0.7964 GB, free: 98.07 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],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 (170): * Single equations (assignments): 161 * 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): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005907/1.942, allocations: 192.1 kB / 0.7966 GB, free: 97.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01211/1.954, allocations: 6.306 MB / 0.8028 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/1.954, allocations: 4 kB / 0.8028 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004388/1.958, allocations: 2.477 MB / 0.8052 GB, free: 89.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/1.96, allocations: 336.8 kB / 0.8055 GB, free: 88.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/1.979, allocations: 8.984 MB / 0.8143 GB, free: 79.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005199/1.984, allocations: 3.257 MB / 0.8175 GB, free: 76.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/1.985, allocations: 254.6 kB / 0.8177 GB, free: 76.48 MB / 0.5105 GB Notification: Performance of SimCode: time 1.791e-06/1.985, allocations: 0 / 0.8177 GB, free: 76.48 MB / 0.5105 GB Notification: Performance of Templates: time 0.4339/2.419, allocations: 106.1 MB / 0.9213 GB, free: 150.4 MB / 0.5261 GB