Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.293/2.293, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.731e-05/4.744e-05, allocations: 4 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3736, allocations: 58.82 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.163/0.5366, allocations: 107.5 MB / 489.8 MB, free: 0.9141 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.5369, allocations: 75.97 kB / 489.8 MB, free: 0.8398 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.5799/1.117, allocations: 73.26 MB / 0.5499 GB, free: 112.7 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.557e-06/1.117, allocations: 0 / 0.5499 GB, free: 112.7 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002787/1.117, allocations: 70.12 kB / 0.55 GB, free: 112.7 MB / 458.8 MB 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.01516/1.132, allocations: 3.402 MB / 0.5533 GB, free: 111.2 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/1.132, allocations: 10.62 kB / 0.5533 GB, free: 111.2 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02233/1.155, allocations: 2.086 MB / 0.5553 GB, free: 110.9 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/1.166, allocations: 4.106 MB / 0.5593 GB, free: 110.3 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/1.167, allocations: 265.3 kB / 0.5596 GB, free: 110.3 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009054/1.167, allocations: 341.6 kB / 0.5599 GB, free: 110.3 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01774/1.185, allocations: 8.896 MB / 0.5686 GB, free: 105 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001489/1.185, allocations: 55.47 kB / 0.5687 GB, free: 104.9 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005932/1.186, allocations: 173.3 kB / 0.5688 GB, free: 104.8 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00123/1.187, allocations: 0.8872 MB / 0.5697 GB, free: 104 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01474/1.202, allocations: 7.001 MB / 0.5765 GB, free: 97.02 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04121/1.243, allocations: 42.97 MB / 0.6185 GB, free: 52.87 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008593/1.252, allocations: 3.273 MB / 0.6217 GB, free: 49.44 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002096/1.254, allocations: 1.435 MB / 0.6231 GB, free: 47.98 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006988/1.261, allocations: 4.428 MB / 0.6274 GB, free: 43.37 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/1.261, allocations: 51 kB / 0.6275 GB, free: 43.31 MB / 458.8 MB Notification: Performance of pre-optimization done (n=121): time 5.231e-06/1.261, allocations: 0 / 0.6275 GB, free: 43.31 MB / 458.8 MB Notification: Performance of matching and sorting (n=129): time 0.02718/1.288, allocations: 9.64 MB / 0.6369 GB, free: 33.54 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/1.288, allocations: 170.9 kB / 0.637 GB, free: 33.34 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005486/1.294, allocations: 3.303 MB / 0.6403 GB, free: 30.04 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002216/1.294, allocations: 49.7 kB / 0.6403 GB, free: 29.99 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001566/1.296, allocations: 2.756 MB / 0.643 GB, free: 27.23 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004754/1.296, allocations: 0.5255 MB / 0.6435 GB, free: 26.71 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/1.297, allocations: 104 kB / 0.6436 GB, free: 26.61 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0002978/1.297, allocations: 0.5331 MB / 0.6441 GB, free: 26.07 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/1.3, allocations: 1.646 MB / 0.6457 GB, free: 24.42 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00408/1.304, allocations: 5.026 MB / 0.6506 GB, free: 17.67 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004429/1.308, allocations: 2.872 MB / 0.6535 GB, free: 14.79 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.25e-05/1.308, allocations: 36 kB / 0.6535 GB, free: 14.76 MB / 458.8 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01245/1.321, allocations: 6.265 MB / 0.6596 GB, free: 8.484 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.368e-05/1.321, allocations: 56 kB / 0.6597 GB, free: 8.43 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/1.321, allocations: 124.9 kB / 0.6598 GB, free: 8.309 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007032/1.322, allocations: 340.6 kB / 0.6601 GB, free: 7.973 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004828/1.326, allocations: 1.287 MB / 0.6614 GB, free: 6.684 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/1.329, allocations: 2.297 MB / 0.6636 GB, free: 4.262 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004898/1.334, allocations: 291.6 kB / 0.6639 GB, free: 3.977 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000659/1.335, allocations: 332 kB / 0.6642 GB, free: 3.652 MB / 458.8 MB 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.0007796/1.335, allocations: 0.5177 MB / 0.6647 GB, free: 3.129 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004815/1.336, allocations: 315.9 kB / 0.665 GB, free: 2.816 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00525/1.341, allocations: 2.35 MB / 0.6673 GB, free: 460 kB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.811e-05/1.341, allocations: 16 kB / 0.6673 GB, free: 444 kB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.87e-06/1.341, allocations: 4 kB / 0.6673 GB, free: 440 kB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/1.341, allocations: 11.97 kB / 0.6673 GB, free: 428 kB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/1.356, allocations: 5.935 MB / 0.6731 GB, free: 10.45 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/1.356, allocations: 480 / 0.6731 GB, free: 10.45 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/1.357, allocations: 179.8 kB / 0.6733 GB, free: 10.27 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002926/1.36, allocations: 0.7107 MB / 0.674 GB, free: 9.555 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/1.361, allocations: 20 kB / 0.674 GB, free: 9.535 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00819/1.369, allocations: 4.454 MB / 0.6784 GB, free: 4.949 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.873e-06/1.369, allocations: 3.938 kB / 0.6784 GB, free: 4.945 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009359/1.378, allocations: 4.422 MB / 0.6827 GB, free: 484 kB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/1.38, allocations: 0.532 MB / 0.6832 GB, free: 15.92 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004388/1.38, allocations: 19.98 kB / 0.6832 GB, free: 15.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/1.382, allocations: 79.84 kB / 0.6833 GB, free: 15.82 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/1.382, allocations: 72.7 kB / 0.6834 GB, free: 15.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/1.382, allocations: 35.44 kB / 0.6834 GB, free: 15.72 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.004565/1.387, allocations: 2.292 MB / 0.6856 GB, free: 13.44 MB / 490.8 MB Notification: Performance of sort global known variables: time 9.4e-07/1.387, allocations: 0 / 0.6856 GB, free: 13.44 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.005671/1.392, allocations: 0.8281 MB / 0.6864 GB, free: 12.61 MB / 490.8 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 (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.0004412/1.393, allocations: 158.2 kB / 0.6866 GB, free: 12.45 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.008092/1.401, allocations: 3.783 MB / 0.6903 GB, free: 8.684 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 6.625e-06/1.401, allocations: 192 / 0.6903 GB, free: 8.684 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00212/1.403, allocations: 1.082 MB / 0.6913 GB, free: 7.594 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/1.406, allocations: 354.6 kB / 0.6917 GB, free: 7.25 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/1.42, allocations: 5.922 MB / 0.6975 GB, free: 1.301 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005068/1.425, allocations: 2.864 MB / 0.7003 GB, free: 14.42 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.008634/1.433, allocations: 1.652 MB / 0.7019 GB, free: 12.76 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001544/1.435, allocations: 215.4 kB / 0.7021 GB, free: 12.55 MB / 0.4949 GB Notification: Performance of SimCode: time 2.341e-06/1.435, allocations: 0 / 0.7021 GB, free: 12.55 MB / 0.4949 GB Notification: Performance of Templates: time 0.3885/1.824, allocations: 28.63 MB / 0.73 GB, free: 139.7 MB / 0.4949 GB