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_trunk_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadModel(ModelicaTest): time 2.639/2.639, allocations: 270 MB / 283.6 MB, free: 1.891 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.19e-05/3.207e-05, allocations: 4 kB / 348.4 MB, free: 2.758 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3692, allocations: 61.87 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1655/0.5348, allocations: 106.8 MB / 0.505 GB, free: 15.76 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.5351, allocations: 83.89 kB / 0.505 GB, free: 15.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6161/1.151, allocations: 91.12 MB / 0.594 GB, free: 47.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.505e-06/1.151, allocations: 0 / 0.594 GB, free: 47.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001622/1.151, allocations: 75.98 kB / 0.5941 GB, free: 47.03 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01129/1.163, allocations: 3.883 MB / 0.5979 GB, free: 43.08 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/1.163, allocations: 15.97 kB / 0.5979 GB, free: 43.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01858/1.181, allocations: 3.531 MB / 0.6014 GB, free: 39.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01243/1.194, allocations: 4.261 MB / 0.6055 GB, free: 35.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003509/1.194, allocations: 320.2 kB / 0.6058 GB, free: 34.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002075/1.196, allocations: 415.9 kB / 0.6062 GB, free: 34.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02601/1.222, allocations: 10.61 MB / 0.6166 GB, free: 23.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001712/1.223, allocations: 27.81 kB / 0.6166 GB, free: 23.38 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00141/1.224, allocations: 187.9 kB / 0.6168 GB, free: 23.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001795/1.226, allocations: 1.227 MB / 0.618 GB, free: 21.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03249/1.258, allocations: 10.11 MB / 0.6279 GB, free: 11.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1309/1.389, allocations: 37 MB / 0.664 GB, free: 5.922 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01265/1.402, allocations: 4.534 MB / 0.6684 GB, free: 1.164 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004895/1.407, allocations: 2.385 MB / 0.6707 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001794/1.409, allocations: 1.323 MB / 0.672 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.283e-05/1.409, allocations: 52.56 kB / 0.6721 GB, free: 13.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 8.121e-06/1.409, allocations: 0 / 0.6721 GB, free: 13.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.04896/1.458, allocations: 14.51 MB / 0.6863 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.704e-05/1.458, allocations: 73.41 kB / 0.6863 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005538/1.464, allocations: 2.405 MB / 0.6887 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004579/1.464, allocations: 65.69 kB / 0.6887 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002995/1.467, allocations: 2.776 MB / 0.6914 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001504/1.469, allocations: 0.9211 MB / 0.6923 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005347/1.469, allocations: 104 kB / 0.6924 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005764/1.47, allocations: 0.5413 MB / 0.693 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005344/1.475, allocations: 2.236 MB / 0.6952 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008484/1.484, allocations: 5.099 MB / 0.7001 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007679/1.491, allocations: 3.425 MB / 0.7035 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001041/1.492, allocations: 28 kB / 0.7035 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.02166/1.513, allocations: 7.86 MB / 0.7112 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.513, allocations: 48 kB / 0.7112 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001543/1.514, allocations: 103.9 kB / 0.7113 GB, free: 3.383 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003821/1.517, allocations: 0.9418 MB / 0.7123 GB, free: 2.438 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006233/1.524, allocations: 1.217 MB / 0.7134 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3189/1.843, allocations: 4.719 MB / 0.718 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004614/1.847, allocations: 294.7 kB / 0.7183 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000722/1.848, allocations: 308.2 kB / 0.7186 GB, free: 130.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * Number of states: 0 () * Number of discrete variables: 35 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (652): * Single equations (assignments): 645 * 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.0009949/1.849, allocations: 0.5027 MB / 0.7191 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005027/1.849, allocations: 277.3 kB / 0.7194 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/1.861, allocations: 5.063 MB / 0.7243 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.086e-05/1.861, allocations: 48.34 kB / 0.7244 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/1.861, allocations: 7.719 kB / 0.7244 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.324e-05/1.861, allocations: 14.84 kB / 0.7244 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02777/1.889, allocations: 11.83 MB / 0.7359 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.323e-05/1.889, allocations: 13.7 kB / 0.736 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004612/1.894, allocations: 399.5 kB / 0.7363 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00586/1.899, allocations: 0.7709 MB / 0.7371 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007158/1.9, allocations: 54.58 kB / 0.7371 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01267/1.913, allocations: 4.02 MB / 0.7411 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-05/1.913, allocations: 14.44 kB / 0.7411 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02668/1.94, allocations: 8.366 MB / 0.7493 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/1.941, allocations: 327.6 kB / 0.7496 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001115/1.942, allocations: 55.34 kB / 0.7496 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003473/1.946, allocations: 141.5 kB / 0.7498 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007407/1.947, allocations: 155.6 kB / 0.7499 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004816/1.947, allocations: 74.94 kB / 0.75 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005622/1.953, allocations: 1.641 MB / 0.7516 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.651e-06/1.953, allocations: 0 / 0.7516 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01116/1.964, allocations: 0.9948 MB / 0.7525 GB, free: 123.4 MB / 0.5105 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.001118/1.965, allocations: 204.6 kB / 0.7527 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01384/1.979, allocations: 5.339 MB / 0.758 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/1.979, allocations: 0 / 0.758 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003946/1.983, allocations: 2.101 MB / 0.76 GB, free: 121 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/1.985, allocations: 355 kB / 0.7603 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01844/2.004, allocations: 8.51 MB / 0.7687 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006297/2.01, allocations: 3.461 MB / 0.772 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005769/2.016, allocations: 1.983 MB / 0.774 GB, free: 114 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/2.017, allocations: 212.3 kB / 0.7742 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of SimCode: time 2.039e-06/2.017, allocations: 1.719 kB / 0.7742 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.08142/2.098, allocations: 31.05 MB / 0.8045 GB, free: 91.23 MB / 0.5105 GB