Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.428/2.428, allocations: 270.1 MB / 283.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.518e-05/3.52e-05, allocations: 4 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1145, allocations: 61.89 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4977/0.6122, allocations: 109.4 MB / 0.5075 GB, free: 10.69 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.6125, allocations: 79.95 kB / 0.5076 GB, free: 10.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3032/0.9157, allocations: 74.19 MB / 0.58 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.147e-06/0.9158, allocations: 0 / 0.58 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002049/0.916, allocations: 71.94 kB / 0.5801 GB, free: 15.86 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01047/0.9265, allocations: 3.392 MB / 0.5834 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.9266, allocations: 15.97 kB / 0.5834 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/0.9387, allocations: 2.085 MB / 0.5855 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01317/0.9519, allocations: 3.928 MB / 0.5893 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00035/0.9523, allocations: 266.9 kB / 0.5896 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001356/0.9537, allocations: 355.8 kB / 0.5899 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02119/0.9749, allocations: 8.885 MB / 0.5986 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001755/0.9751, allocations: 55.41 kB / 0.5986 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007961/0.9759, allocations: 179.9 kB / 0.5988 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001735/0.9776, allocations: 0.8878 MB / 0.5997 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0181/0.9958, allocations: 6.998 MB / 0.6065 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4732/1.469, allocations: 42.94 MB / 0.6484 GB, free: 96.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01951/1.489, allocations: 3.262 MB / 0.6516 GB, free: 95.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00546/1.494, allocations: 1.442 MB / 0.653 GB, free: 95.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01311/1.507, allocations: 4.429 MB / 0.6574 GB, free: 93.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/1.507, allocations: 47.47 kB / 0.6574 GB, free: 93.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=121): time 8.933e-06/1.507, allocations: 0 / 0.6574 GB, free: 93.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=129): time 0.04417/1.552, allocations: 9.588 MB / 0.6668 GB, free: 91.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/1.552, allocations: 170.1 kB / 0.6669 GB, free: 91.26 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005801/1.557, allocations: 3.295 MB / 0.6701 GB, free: 90.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002474/1.558, allocations: 43.97 kB / 0.6702 GB, free: 90.24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001744/1.56, allocations: 2.753 MB / 0.6729 GB, free: 88.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005693/1.56, allocations: 0.5218 MB / 0.6734 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003196/1.56, allocations: 109.7 kB / 0.6735 GB, free: 87.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003006/1.561, allocations: 0.5278 MB / 0.674 GB, free: 87.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002974/1.564, allocations: 1.644 MB / 0.6756 GB, free: 86.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004365/1.568, allocations: 5.027 MB / 0.6805 GB, free: 81.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004905/1.573, allocations: 2.876 MB / 0.6833 GB, free: 80.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.549e-05/1.573, allocations: 34.84 kB / 0.6834 GB, free: 80.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01394/1.587, allocations: 6.269 MB / 0.6895 GB, free: 78.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-05/1.587, allocations: 57.81 kB / 0.6895 GB, free: 78.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001193/1.587, allocations: 124.4 kB / 0.6897 GB, free: 78.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007231/1.588, allocations: 332.2 kB / 0.69 GB, free: 78.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005474/1.594, allocations: 1.29 MB / 0.6912 GB, free: 78.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002734/1.596, allocations: 2.281 MB / 0.6935 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005274/1.602, allocations: 293.4 kB / 0.6937 GB, free: 77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008789/1.603, allocations: 341.9 kB / 0.6941 GB, free: 76.95 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (666): * Single equations (assignments): 662 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008998/1.604, allocations: 0.5229 MB / 0.6946 GB, free: 76.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000669/1.604, allocations: 310.7 kB / 0.6949 GB, free: 76.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00573/1.61, allocations: 2.35 MB / 0.6972 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.283e-05/1.61, allocations: 15.36 kB / 0.6972 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/1.61, allocations: 3.219 kB / 0.6972 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/1.61, allocations: 9.812 kB / 0.6972 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01926/1.629, allocations: 5.933 MB / 0.703 GB, free: 73.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.392e-05/1.629, allocations: 0 / 0.703 GB, free: 73.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/1.631, allocations: 178 kB / 0.7032 GB, free: 73.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005148/1.637, allocations: 0.7086 MB / 0.7039 GB, free: 73.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002991/1.637, allocations: 27.31 kB / 0.7039 GB, free: 73.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01383/1.651, allocations: 4.444 MB / 0.7082 GB, free: 70.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.261e-06/1.651, allocations: 7.844 kB / 0.7082 GB, free: 70.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008399/1.659, allocations: 4.421 MB / 0.7125 GB, free: 68.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009763/1.66, allocations: 373.4 kB / 0.7129 GB, free: 68.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005009/1.661, allocations: 21.08 kB / 0.7129 GB, free: 68.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.662, allocations: 72.77 kB / 0.713 GB, free: 68.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/1.662, allocations: 64.2 kB / 0.713 GB, free: 68.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/1.663, allocations: 35.38 kB / 0.7131 GB, free: 68.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004012/1.667, allocations: 2.288 MB / 0.7153 GB, free: 67.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.96e-07/1.667, allocations: 0 / 0.7153 GB, free: 67.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006002/1.673, allocations: 0.828 MB / 0.7161 GB, free: 67.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004343/1.673, allocations: 158.2 kB / 0.7163 GB, free: 67.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006969/1.68, allocations: 3.791 MB / 0.72 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.199e-06/1.68, allocations: 4 kB / 0.72 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001728/1.682, allocations: 1.074 MB / 0.721 GB, free: 65.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/1.684, allocations: 356.6 kB / 0.7214 GB, free: 64.74 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01689/1.701, allocations: 5.899 MB / 0.7271 GB, free: 59.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00657/1.708, allocations: 2.848 MB / 0.7299 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009483/1.717, allocations: 1.669 MB / 0.7315 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001529/1.719, allocations: 207.3 kB / 0.7317 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of SimCode: time 2.715e-06/1.719, allocations: 0 / 0.7317 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of Templates: time 0.1011/1.82, allocations: 28.63 MB / 0.7597 GB, free: 32.84 MB / 0.5105 GB