Running command: translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadModel(ModelicaTest): time 2.402/2.402, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.557e-05/3.568e-05, allocations: 4 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3615, allocations: 58.83 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1629/0.5244, allocations: 105.3 MB / 487.5 MB, free: 3.18 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.5247, allocations: 79.95 kB / 487.6 MB, free: 3.102 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.68/1.205, allocations: 91.63 MB / 0.5657 GB, free: 108.6 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.665e-06/1.205, allocations: 0 / 0.5657 GB, free: 108.6 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.000165/1.205, allocations: 75.81 kB / 0.5657 GB, free: 108.6 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: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.01133/1.216, allocations: 3.979 MB / 0.5696 GB, free: 105.9 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/1.216, allocations: 8.031 kB / 0.5696 GB, free: 105.9 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01788/1.234, allocations: 3.549 MB / 0.5731 GB, free: 102.4 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01229/1.247, allocations: 4.437 MB / 0.5774 GB, free: 97.94 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003397/1.247, allocations: 329.2 kB / 0.5777 GB, free: 97.65 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002084/1.249, allocations: 427.7 kB / 0.5781 GB, free: 97.27 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02449/1.274, allocations: 10.79 MB / 0.5887 GB, free: 86.1 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001525/1.274, allocations: 27.81 kB / 0.5887 GB, free: 86.07 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001041/1.275, allocations: 198.4 kB / 0.5889 GB, free: 85.92 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001874/1.277, allocations: 1.265 MB / 0.5901 GB, free: 84.65 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0235/1.3, allocations: 10.21 MB / 0.6001 GB, free: 74.44 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06042/1.361, allocations: 37.84 MB / 0.637 GB, free: 35.88 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/1.371, allocations: 4.545 MB / 0.6415 GB, free: 31.11 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003732/1.375, allocations: 2.381 MB / 0.6438 GB, free: 28.73 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/1.376, allocations: 1.317 MB / 0.6451 GB, free: 27.2 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/1.376, allocations: 56.55 kB / 0.6452 GB, free: 27.13 MB / 458.8 MB Notification: Performance of pre-optimization done (n=242): time 7.492e-06/1.376, allocations: 4 kB / 0.6452 GB, free: 27.13 MB / 458.8 MB Notification: Performance of matching and sorting (n=254): time 0.04363/1.42, allocations: 14.59 MB / 0.6594 GB, free: 12.49 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/1.42, allocations: 77.41 kB / 0.6595 GB, free: 12.4 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004675/1.425, allocations: 2.467 MB / 0.6619 GB, free: 9.918 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004202/1.425, allocations: 57.14 kB / 0.6619 GB, free: 9.859 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001801/1.427, allocations: 2.846 MB / 0.6647 GB, free: 7.008 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001072/1.428, allocations: 0.9195 MB / 0.6656 GB, free: 6.094 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004892/1.429, allocations: 111.4 kB / 0.6657 GB, free: 5.988 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0003647/1.429, allocations: 0.5376 MB / 0.6663 GB, free: 5.445 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004203/1.433, allocations: 2.256 MB / 0.6685 GB, free: 3.184 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007086/1.44, allocations: 5.185 MB / 0.6735 GB, free: 12.55 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007403/1.448, allocations: 3.464 MB / 0.6769 GB, free: 9.082 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.725e-05/1.448, allocations: 32 kB / 0.6769 GB, free: 9.051 MB / 474.8 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.02105/1.469, allocations: 7.931 MB / 0.6847 GB, free: 1.102 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/1.469, allocations: 48 kB / 0.6847 GB, free: 1.055 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000148/1.469, allocations: 104 kB / 0.6848 GB, free: 0.9531 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003716/1.473, allocations: 0.9453 MB / 0.6857 GB, free: 4 kB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0058/1.479, allocations: 1.24 MB / 0.687 GB, free: 14.76 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009359/1.488, allocations: 4.754 MB / 0.6916 GB, free: 9.875 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005153/1.493, allocations: 295.8 kB / 0.6919 GB, free: 9.586 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001244/1.495, allocations: 323.2 kB / 0.6922 GB, free: 9.273 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 472 * Number of states: 0 () * Number of discrete variables: 33 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (664): * Single equations (assignments): 657 * Array equations: 6 * 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 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001344/1.496, allocations: 0.4944 MB / 0.6927 GB, free: 8.77 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006848/1.497, allocations: 284.4 kB / 0.6929 GB, free: 8.488 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01278/1.51, allocations: 5.074 MB / 0.6979 GB, free: 3.391 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001047/1.51, allocations: 44 kB / 0.6979 GB, free: 3.348 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/1.51, allocations: 7.984 kB / 0.6979 GB, free: 3.34 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.61e-05/1.51, allocations: 7.969 kB / 0.698 GB, free: 3.332 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03126/1.541, allocations: 11.92 MB / 0.7096 GB, free: 7.246 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.001e-05/1.541, allocations: 12 kB / 0.7096 GB, free: 7.234 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002433/1.544, allocations: 395.4 kB / 0.71 GB, free: 6.848 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003321/1.547, allocations: 0.7778 MB / 0.7107 GB, free: 6.066 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005796/1.548, allocations: 55.95 kB / 0.7108 GB, free: 6.012 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007918/1.556, allocations: 4.021 MB / 0.7147 GB, free: 1.852 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.785e-05/1.556, allocations: 15.94 kB / 0.7147 GB, free: 1.836 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3065/1.862, allocations: 8.391 MB / 0.7229 GB, free: 138 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001961/1.864, allocations: 0.6826 MB / 0.7236 GB, free: 137.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008704/1.865, allocations: 43.92 kB / 0.7236 GB, free: 137.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002289/1.867, allocations: 150.1 kB / 0.7238 GB, free: 137.9 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005432/1.868, allocations: 156.1 kB / 0.7239 GB, free: 137.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002581/1.868, allocations: 70.17 kB / 0.724 GB, free: 137.9 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.003168/1.871, allocations: 1.683 MB / 0.7256 GB, free: 137.7 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.074e-06/1.871, allocations: 1.75 kB / 0.7256 GB, free: 137.7 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.005896/1.877, allocations: 1.003 MB / 0.7266 GB, free: 137.7 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 189 * Array equations: 6 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006627/1.878, allocations: 204.4 kB / 0.7268 GB, free: 137.7 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.009963/1.888, allocations: 5.38 MB / 0.7321 GB, free: 137.5 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/1.888, allocations: 0 / 0.7321 GB, free: 137.5 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003871/1.892, allocations: 2.098 MB / 0.7341 GB, free: 137.4 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/1.894, allocations: 336.7 kB / 0.7344 GB, free: 137.4 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01831/1.912, allocations: 8.64 MB / 0.7429 GB, free: 134.8 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005885/1.918, allocations: 3.535 MB / 0.7463 GB, free: 133.5 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.006335/1.925, allocations: 1.998 MB / 0.7483 GB, free: 133.5 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/1.926, allocations: 212.3 kB / 0.7485 GB, free: 133.5 MB / 0.4949 GB Notification: Performance of SimCode: time 2.045e-06/1.926, allocations: 0 / 0.7485 GB, free: 133.5 MB / 0.4949 GB Notification: Performance of Templates: time 0.08263/2.009, allocations: 31.23 MB / 0.779 GB, free: 119.8 MB / 0.4949 GB