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_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadModel(ModelicaTest): time 2.604/2.604, allocations: 270 MB / 283.6 MB, free: 1.797 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.579e-05/3.595e-05, allocations: 4 kB / 348.4 MB, free: 2.676 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.401, allocations: 61.88 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.5632, allocations: 106.8 MB / 0.505 GB, free: 15.75 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.5635, allocations: 79.97 kB / 0.505 GB, free: 15.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7397/1.303, allocations: 91.09 MB / 0.594 GB, free: 47.13 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.971e-06/1.303, allocations: 0 / 0.594 GB, free: 47.13 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000256/1.304, allocations: 79.94 kB / 0.5941 GB, free: 47.05 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.01388/1.317, allocations: 3.891 MB / 0.5979 GB, free: 43.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/1.317, allocations: 11.97 kB / 0.5979 GB, free: 43.08 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01764/1.335, allocations: 3.531 MB / 0.6013 GB, free: 39.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01231/1.347, allocations: 4.265 MB / 0.6055 GB, free: 35.22 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000301/1.348, allocations: 320.3 kB / 0.6058 GB, free: 34.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001825/1.35, allocations: 419.8 kB / 0.6062 GB, free: 34.49 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02327/1.373, allocations: 10.61 MB / 0.6166 GB, free: 23.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001951/1.373, allocations: 27.81 kB / 0.6166 GB, free: 23.38 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001946/1.375, allocations: 187.9 kB / 0.6168 GB, free: 23.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001945/1.377, allocations: 1.223 MB / 0.618 GB, free: 21.97 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02194/1.399, allocations: 10.12 MB / 0.6278 GB, free: 11.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07001/1.469, allocations: 36.99 MB / 0.664 GB, free: 5.93 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02171/1.491, allocations: 4.546 MB / 0.6684 GB, free: 1.152 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008564/1.5, allocations: 2.381 MB / 0.6707 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003441/1.503, allocations: 1.315 MB / 0.672 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/1.503, allocations: 52.56 kB / 0.6721 GB, free: 13.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 1.234e-05/1.503, allocations: 0 / 0.6721 GB, free: 13.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.04925/1.553, allocations: 14.52 MB / 0.6862 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/1.553, allocations: 73.34 kB / 0.6863 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005239/1.558, allocations: 2.413 MB / 0.6887 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004371/1.558, allocations: 61.7 kB / 0.6887 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002864/1.561, allocations: 2.78 MB / 0.6914 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001453/1.563, allocations: 0.9172 MB / 0.6923 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000512/1.563, allocations: 104 kB / 0.6924 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005568/1.564, allocations: 0.5335 MB / 0.693 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005163/1.569, allocations: 2.24 MB / 0.6951 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008372/1.577, allocations: 5.099 MB / 0.7001 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007444/1.585, allocations: 3.422 MB / 0.7035 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001044/1.585, allocations: 32 kB / 0.7035 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.02126/1.606, allocations: 7.856 MB / 0.7112 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/1.607, allocations: 48 kB / 0.7112 GB, free: 3.492 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001601/1.607, allocations: 108.1 kB / 0.7113 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003897/1.611, allocations: 0.9372 MB / 0.7122 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005871/1.617, allocations: 1.217 MB / 0.7134 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.317/1.934, allocations: 4.729 MB / 0.718 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004752/1.938, allocations: 294.7 kB / 0.7183 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001145/1.94, allocations: 309.3 kB / 0.7186 GB, free: 131 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.001572/1.941, allocations: 0.5047 MB / 0.7191 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006083/1.942, allocations: 277.4 kB / 0.7194 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/1.954, allocations: 5.064 MB / 0.7243 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.625e-05/1.954, allocations: 47.47 kB / 0.7244 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/1.954, allocations: 0 / 0.7244 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.794e-05/1.954, allocations: 14.77 kB / 0.7244 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0265/1.98, allocations: 11.84 MB / 0.7359 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.164e-05/1.98, allocations: 10.78 kB / 0.7359 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002423/1.983, allocations: 405.8 kB / 0.7363 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002979/1.986, allocations: 0.7723 MB / 0.7371 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004389/1.986, allocations: 45.36 kB / 0.7371 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006661/1.993, allocations: 4.019 MB / 0.7411 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.54e-05/1.993, allocations: 15.59 kB / 0.7411 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0218/2.015, allocations: 8.367 MB / 0.7492 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/2.016, allocations: 332.5 kB / 0.7496 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001074/2.017, allocations: 52.48 kB / 0.7496 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003417/2.021, allocations: 138.5 kB / 0.7497 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007749/2.021, allocations: 157.3 kB / 0.7499 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004274/2.022, allocations: 74.23 kB / 0.75 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005239/2.027, allocations: 1.647 MB / 0.7516 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.415e-06/2.027, allocations: 6.266 kB / 0.7516 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009951/2.037, allocations: 0.9921 MB / 0.7525 GB, free: 124.1 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.0009453/2.038, allocations: 198.8 kB / 0.7527 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01776/2.056, allocations: 5.34 MB / 0.7579 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.31e-05/2.056, allocations: 3.75 kB / 0.7579 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007892/2.064, allocations: 2.105 MB / 0.76 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004947/2.069, allocations: 345.8 kB / 0.7603 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01952/2.089, allocations: 8.502 MB / 0.7686 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006127/2.095, allocations: 3.467 MB / 0.772 GB, free: 116 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006228/2.101, allocations: 1.983 MB / 0.774 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/2.102, allocations: 213 kB / 0.7742 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.705e-06/2.102, allocations: 0 / 0.7742 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.08204/2.184, allocations: 31.06 MB / 0.8045 GB, free: 92.18 MB / 0.5105 GB