Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadModel(ModelicaTest): time 1.97/1.97, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.412e-05, allocations: 7.984 kB / 273.1 MB, free: 248 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1246, allocations: 48.7 MB / 321.8 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4358/0.5604, allocations: 93.37 MB / 415.1 MB, free: 12.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.5607, allocations: 71.95 kB / 415.2 MB, free: 12.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2823/0.843, allocations: 71.81 MB / 487 MB, free: 3.926 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.108e-06/0.8431, allocations: 0 / 487 MB, free: 3.926 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001939/0.8433, allocations: 68 kB / 487.1 MB, free: 3.859 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.0104/0.8537, allocations: 3.353 MB / 490.5 MB, free: 456 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.8538, allocations: 8.031 kB / 490.5 MB, free: 448 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.8658, allocations: 2.085 MB / 492.5 MB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/0.8792, allocations: 4.045 MB / 496.6 MB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003198/0.8796, allocations: 262.7 kB / 496.8 MB, free: 9.977 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001162/0.8807, allocations: 343.8 kB / 497.2 MB, free: 9.641 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2529/1.134, allocations: 8.759 MB / 0.4941 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002275/1.134, allocations: 57.03 kB / 0.4941 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001199/1.135, allocations: 174.4 kB / 0.4943 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001893/1.137, allocations: 0.8666 MB / 0.4952 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01764/1.155, allocations: 6.888 MB / 0.5019 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05402/1.209, allocations: 42.62 MB / 0.5435 GB, free: 72.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01563/1.225, allocations: 3.142 MB / 0.5466 GB, free: 71.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003924/1.228, allocations: 1.416 MB / 0.5479 GB, free: 70.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01223/1.241, allocations: 4.083 MB / 0.5519 GB, free: 68.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.829e-05/1.241, allocations: 46.62 kB / 0.552 GB, free: 68.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=114): time 8.65e-06/1.241, allocations: 3.031 kB / 0.552 GB, free: 68.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=122): time 0.04979/1.291, allocations: 9.386 MB / 0.5611 GB, free: 64.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/1.291, allocations: 169.7 kB / 0.5613 GB, free: 64.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006018/1.297, allocations: 3.278 MB / 0.5645 GB, free: 63.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002541/1.297, allocations: 43.42 kB / 0.5646 GB, free: 63.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001623/1.299, allocations: 2.731 MB / 0.5672 GB, free: 61.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006424/1.299, allocations: 0.499 MB / 0.5677 GB, free: 60.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003118/1.3, allocations: 101.6 kB / 0.5678 GB, free: 60.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002897/1.3, allocations: 0.5283 MB / 0.5683 GB, free: 60.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002875/1.303, allocations: 1.628 MB / 0.5699 GB, free: 59.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005443/1.308, allocations: 4.997 MB / 0.5748 GB, free: 54.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005132/1.314, allocations: 2.849 MB / 0.5776 GB, free: 53.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.943e-05/1.314, allocations: 34.47 kB / 0.5776 GB, free: 53.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01352/1.327, allocations: 6.216 MB / 0.5837 GB, free: 51.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.316e-05/1.327, allocations: 61.12 kB / 0.5837 GB, free: 51.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001409/1.328, allocations: 121.6 kB / 0.5838 GB, free: 51.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008044/1.328, allocations: 337.7 kB / 0.5842 GB, free: 51.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005491/1.334, allocations: 1.274 MB / 0.5854 GB, free: 51.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/1.336, allocations: 2.344 MB / 0.5877 GB, free: 49.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005036/1.342, allocations: 286 kB / 0.588 GB, free: 49.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007393/1.342, allocations: 328.3 kB / 0.5883 GB, free: 49.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (656): * Single equations (assignments): 652 * 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.0008119/1.343, allocations: 0.5202 MB / 0.5888 GB, free: 48.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005683/1.344, allocations: 307.2 kB / 0.5891 GB, free: 48.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005461/1.349, allocations: 2.318 MB / 0.5914 GB, free: 47.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-05/1.349, allocations: 16.77 kB / 0.5914 GB, free: 47.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.349, allocations: 7.875 kB / 0.5914 GB, free: 47.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/1.349, allocations: 3.844 kB / 0.5914 GB, free: 47.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02072/1.37, allocations: 5.818 MB / 0.5971 GB, free: 43.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.532e-05/1.37, allocations: 7.047 kB / 0.5971 GB, free: 43.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/1.371, allocations: 164.2 kB / 0.5972 GB, free: 43.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002687/1.374, allocations: 0.7157 MB / 0.5979 GB, free: 43.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002148/1.374, allocations: 24 kB / 0.5979 GB, free: 43.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006541/1.381, allocations: 4.442 MB / 0.6023 GB, free: 39.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.766e-06/1.381, allocations: 7.641 kB / 0.6023 GB, free: 39.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007633/1.388, allocations: 4.358 MB / 0.6065 GB, free: 35.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/1.39, allocations: 0.529 MB / 0.6071 GB, free: 34.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004267/1.39, allocations: 20 kB / 0.6071 GB, free: 34.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/1.392, allocations: 72.77 kB / 0.6072 GB, free: 34.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/1.392, allocations: 66.06 kB / 0.6072 GB, free: 34.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/1.392, allocations: 36.77 kB / 0.6073 GB, free: 34.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00402/1.396, allocations: 2.273 MB / 0.6095 GB, free: 32.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.011e-06/1.396, allocations: 0 / 0.6095 GB, free: 32.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005684/1.402, allocations: 0.8162 MB / 0.6103 GB, free: 31.89 MB / 426.7 MB 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 (90): * Single equations (assignments): 86 * 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.0004207/1.402, allocations: 151.8 kB / 0.6104 GB, free: 31.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007035/1.41, allocations: 3.734 MB / 0.6141 GB, free: 28.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.646e-06/1.41, allocations: 0 / 0.6141 GB, free: 28.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001714/1.411, allocations: 1.058 MB / 0.6151 GB, free: 27.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/1.413, allocations: 358.2 kB / 0.6154 GB, free: 27.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/1.425, allocations: 5.816 MB / 0.6211 GB, free: 21.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003461/1.429, allocations: 2.83 MB / 0.6239 GB, free: 19.69 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005117/1.434, allocations: 1.638 MB / 0.6255 GB, free: 18.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008833/1.435, allocations: 205.7 kB / 0.6257 GB, free: 18.47 MB / 426.7 MB Notification: Performance of SimCode: time 1.704e-06/1.435, allocations: 0 / 0.6257 GB, free: 18.47 MB / 426.7 MB Notification: Performance of Templates: time 0.07752/1.513, allocations: 28.24 MB / 0.6533 GB, free: 7.773 MB / 442.7 MB