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.1_cpp_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadModel(ModelicaTest): time 2.084/2.084, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.526e-05/3.547e-05, allocations: 4 kB / 273.1 MB, free: 3.668 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1252, allocations: 48.7 MB / 321.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.376/0.5013, allocations: 92.15 MB / 413.9 MB, free: 2.816 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001878/0.5015, allocations: 73.23 kB / 414 MB, free: 2.805 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4205/0.9221, allocations: 90.67 MB / 0.4928 GB, free: 15.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.021e-06/0.9221, allocations: 0 / 0.4928 GB, free: 15.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000203/0.9223, allocations: 80 kB / 0.4929 GB, free: 15.7 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: 1680 * Number of variables: 1680 Notification: Performance of Generate backend data structure: time 0.01348/0.9358, allocations: 3.961 MB / 0.4968 GB, free: 11.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.9359, allocations: 8.031 kB / 0.4968 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02106/0.957, allocations: 3.554 MB / 0.5002 GB, free: 8.094 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01499/0.972, allocations: 4.417 MB / 0.5046 GB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005372/0.9726, allocations: 324.5 kB / 0.5049 GB, free: 3.305 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002411/0.975, allocations: 431.8 kB / 0.5053 GB, free: 2.883 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03117/1.006, allocations: 10.77 MB / 0.5158 GB, free: 7.633 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002344/1.007, allocations: 31.7 kB / 0.5158 GB, free: 7.602 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002059/1.009, allocations: 203.8 kB / 0.516 GB, free: 7.402 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002837/1.011, allocations: 1.259 MB / 0.5173 GB, free: 6.141 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3033/1.315, allocations: 10.19 MB / 0.5272 GB, free: 91.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0659/1.381, allocations: 37.72 MB / 0.564 GB, free: 77.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/1.392, allocations: 4.536 MB / 0.5685 GB, free: 75.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004087/1.396, allocations: 2.382 MB / 0.5708 GB, free: 74.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001375/1.398, allocations: 1.316 MB / 0.5721 GB, free: 73.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/1.398, allocations: 57.69 kB / 0.5721 GB, free: 73.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=242): time 8.108e-06/1.398, allocations: 4.891 kB / 0.5721 GB, free: 73.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.04736/1.445, allocations: 14.59 MB / 0.5864 GB, free: 69.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/1.445, allocations: 70.38 kB / 0.5864 GB, free: 69.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005018/1.45, allocations: 2.441 MB / 0.5888 GB, free: 68.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004882/1.451, allocations: 61.61 kB / 0.5889 GB, free: 68.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001899/1.453, allocations: 2.829 MB / 0.5917 GB, free: 66.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001161/1.454, allocations: 0.9182 MB / 0.5926 GB, free: 65.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005394/1.455, allocations: 108.2 kB / 0.5927 GB, free: 65.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003948/1.455, allocations: 0.5505 MB / 0.5932 GB, free: 64.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004618/1.46, allocations: 2.248 MB / 0.5954 GB, free: 64.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00638/1.466, allocations: 5.161 MB / 0.6004 GB, free: 59.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006677/1.473, allocations: 3.455 MB / 0.6038 GB, free: 58.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000109/1.473, allocations: 30.12 kB / 0.6038 GB, free: 58.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.01882/1.492, allocations: 7.84 MB / 0.6115 GB, free: 56.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.108e-05/1.492, allocations: 51.62 kB / 0.6115 GB, free: 56.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001181/1.492, allocations: 101.7 kB / 0.6116 GB, free: 56.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003857/1.496, allocations: 0.9447 MB / 0.6126 GB, free: 55.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005925/1.502, allocations: 1.236 MB / 0.6138 GB, free: 54.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007632/1.509, allocations: 4.743 MB / 0.6184 GB, free: 50.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005048/1.515, allocations: 299.7 kB / 0.6187 GB, free: 50.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001127/1.516, allocations: 307.8 kB / 0.619 GB, free: 49.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 30 (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.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 (661): * Single equations (assignments): 654 * 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.001654/1.517, allocations: 0.4976 MB / 0.6195 GB, free: 49.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006019/1.518, allocations: 280.3 kB / 0.6197 GB, free: 48.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/1.529, allocations: 5.071 MB / 0.6247 GB, free: 44.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.7e-05/1.529, allocations: 47.66 kB / 0.6247 GB, free: 44.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/1.529, allocations: 5 kB / 0.6247 GB, free: 44.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.282e-05/1.529, allocations: 14.53 kB / 0.6247 GB, free: 44.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02579/1.555, allocations: 11.91 MB / 0.6364 GB, free: 34.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.513e-05/1.555, allocations: 8 kB / 0.6364 GB, free: 34.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002474/1.557, allocations: 402.6 kB / 0.6368 GB, free: 34.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003009/1.56, allocations: 0.77 MB / 0.6375 GB, free: 34.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004801/1.561, allocations: 48.53 kB / 0.6376 GB, free: 33.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006221/1.567, allocations: 4.02 MB / 0.6415 GB, free: 30.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.077e-05/1.567, allocations: 11.94 kB / 0.6415 GB, free: 30.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01399/1.581, allocations: 8.386 MB / 0.6497 GB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001883/1.583, allocations: 0.6809 MB / 0.6504 GB, free: 22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000712/1.584, allocations: 47.84 kB / 0.6504 GB, free: 21.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001896/1.586, allocations: 146.8 kB / 0.6505 GB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004393/1.586, allocations: 156.6 kB / 0.6507 GB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002456/1.587, allocations: 69.25 kB / 0.6508 GB, free: 21.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003215/1.59, allocations: 1.662 MB / 0.6524 GB, free: 20.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.137e-06/1.59, allocations: 0 / 0.6524 GB, free: 20.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006182/1.596, allocations: 1.017 MB / 0.6534 GB, free: 19.22 MB / 426.7 MB 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.0006978/1.597, allocations: 187.2 kB / 0.6535 GB, free: 19.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01001/1.607, allocations: 5.375 MB / 0.6588 GB, free: 14.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/1.607, allocations: 0 / 0.6588 GB, free: 14.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003781/1.611, allocations: 2.09 MB / 0.6608 GB, free: 12.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/1.613, allocations: 355.2 kB / 0.6612 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/1.632, allocations: 9.117 MB / 0.6701 GB, free: 2.621 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006774/1.639, allocations: 3.526 MB / 0.6735 GB, free: 15.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/1.64, allocations: 259.4 kB / 0.6738 GB, free: 14.82 MB / 442.7 MB Notification: Performance of SimCode: time 2.036e-06/1.64, allocations: 0 / 0.6738 GB, free: 14.82 MB / 442.7 MB Notification: Performance of Templates: time 0.3654/2.006, allocations: 72.41 MB / 0.7445 GB, free: 88.92 MB / 442.7 MB