Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.311/2.311, allocations: 270 MB / 283.6 MB, free: 3.031 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.709e-05/3.725e-05, allocations: 4 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1101, allocations: 61.88 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4443/0.5545, allocations: 109.4 MB / 0.5075 GB, free: 10.68 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.5548, allocations: 75.95 kB / 0.5076 GB, free: 10.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3298/0.8846, allocations: 74.19 MB / 0.58 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.381e-06/0.8847, allocations: 0 / 0.58 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004091/0.8852, allocations: 71.98 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.01667/0.9019, allocations: 3.393 MB / 0.5834 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.9019, allocations: 12.03 kB / 0.5834 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01302/0.915, allocations: 2.089 MB / 0.5855 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0129/0.9279, allocations: 3.932 MB / 0.5893 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003194/0.9282, allocations: 262.9 kB / 0.5895 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001182/0.9294, allocations: 351.8 kB / 0.5899 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0217/0.9512, allocations: 8.892 MB / 0.5986 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000178/0.9514, allocations: 55.41 kB / 0.5986 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00076/0.9522, allocations: 175.9 kB / 0.5988 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001706/0.9539, allocations: 0.8878 MB / 0.5997 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01843/0.9723, allocations: 6.998 MB / 0.6065 GB, free: 3.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.429/1.401, allocations: 42.94 MB / 0.6484 GB, free: 96.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01773/1.419, allocations: 3.26 MB / 0.6516 GB, free: 95.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004741/1.424, allocations: 1.436 MB / 0.653 GB, free: 95.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01333/1.437, allocations: 4.431 MB / 0.6573 GB, free: 93.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/1.437, allocations: 45.09 kB / 0.6574 GB, free: 93.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=121): time 9.243e-06/1.437, allocations: 0 / 0.6574 GB, free: 93.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=129): time 0.04405/1.482, allocations: 9.596 MB / 0.6668 GB, free: 91.42 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/1.482, allocations: 165.6 kB / 0.6669 GB, free: 91.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006411/1.488, allocations: 3.29 MB / 0.6701 GB, free: 90.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002523/1.488, allocations: 44.69 kB / 0.6702 GB, free: 90.24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001883/1.49, allocations: 2.763 MB / 0.6729 GB, free: 88.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005925/1.491, allocations: 0.5187 MB / 0.6734 GB, free: 87.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004031/1.491, allocations: 106.7 kB / 0.6735 GB, free: 87.87 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003185/1.492, allocations: 0.5265 MB / 0.674 GB, free: 87.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003223/1.495, allocations: 1.644 MB / 0.6756 GB, free: 86.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004919/1.5, allocations: 5.033 MB / 0.6805 GB, free: 81.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005107/1.505, allocations: 2.873 MB / 0.6833 GB, free: 80.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.45e-05/1.505, allocations: 33.66 kB / 0.6833 GB, free: 80.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01286/1.518, allocations: 6.265 MB / 0.6895 GB, free: 78.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.661e-05/1.518, allocations: 59.91 kB / 0.6895 GB, free: 78.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001313/1.518, allocations: 123.1 kB / 0.6896 GB, free: 78.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007039/1.519, allocations: 336.5 kB / 0.69 GB, free: 78.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004733/1.524, allocations: 1.292 MB / 0.6912 GB, free: 78.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/1.526, allocations: 2.291 MB / 0.6935 GB, free: 77.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004945/1.531, allocations: 291.9 kB / 0.6937 GB, free: 77.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007233/1.532, allocations: 340 kB / 0.6941 GB, free: 76.96 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.0008676/1.533, allocations: 0.5148 MB / 0.6946 GB, free: 76.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006019/1.534, allocations: 309.3 kB / 0.6949 GB, free: 76.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005526/1.539, allocations: 2.356 MB / 0.6972 GB, free: 75.58 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.752e-05/1.539, allocations: 18.92 kB / 0.6972 GB, free: 75.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/1.539, allocations: 3.062 kB / 0.6972 GB, free: 75.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/1.539, allocations: 7.875 kB / 0.6972 GB, free: 75.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/1.553, allocations: 5.933 MB / 0.703 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/1.553, allocations: 0 / 0.703 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/1.554, allocations: 173.7 kB / 0.7031 GB, free: 73.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00284/1.557, allocations: 0.7146 MB / 0.7038 GB, free: 73.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002023/1.558, allocations: 27.7 kB / 0.7039 GB, free: 73.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006831/1.564, allocations: 4.435 MB / 0.7082 GB, free: 70.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/1.564, allocations: 3.938 kB / 0.7082 GB, free: 70.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008352/1.573, allocations: 4.426 MB / 0.7125 GB, free: 68.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/1.574, allocations: 365.7 kB / 0.7129 GB, free: 68.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007013/1.575, allocations: 29.06 kB / 0.7129 GB, free: 68.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001742/1.576, allocations: 75.19 kB / 0.713 GB, free: 68.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/1.577, allocations: 66.67 kB / 0.713 GB, free: 68.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/1.577, allocations: 34.17 kB / 0.7131 GB, free: 68.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005395/1.582, allocations: 2.283 MB / 0.7153 GB, free: 67.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.187e-06/1.582, allocations: 3.844 kB / 0.7153 GB, free: 67.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006003/1.588, allocations: 0.8263 MB / 0.7161 GB, free: 67.68 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.0005468/1.589, allocations: 160.8 kB / 0.7163 GB, free: 67.56 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007156/1.596, allocations: 3.788 MB / 0.72 GB, free: 66.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.106e-06/1.596, allocations: 0 / 0.72 GB, free: 66.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/1.598, allocations: 1.075 MB / 0.721 GB, free: 65.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/1.6, allocations: 354.7 kB / 0.7214 GB, free: 64.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/1.612, allocations: 5.902 MB / 0.7271 GB, free: 59.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004028/1.616, allocations: 2.854 MB / 0.7299 GB, free: 57.35 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005385/1.622, allocations: 1.662 MB / 0.7315 GB, free: 56.31 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009101/1.623, allocations: 215 kB / 0.7317 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of SimCode: time 1.698e-06/1.623, allocations: 0 / 0.7317 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of Templates: time 0.07703/1.7, allocations: 28.62 MB / 0.7597 GB, free: 32.84 MB / 0.5105 GB