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_cpp_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadModel(ModelicaTest): time 2.33/2.33, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.089e-05/3.097e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1301, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.3734/0.5036, allocations: 31.27 MB / 442.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02296/0.5266, allocations: 7.419 MB / 449.6 MB, free: 7.883 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008792/0.5354, allocations: 157.8 kB / 449.8 MB, free: 7.859 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006712/0.5422, allocations: 1.647 MB / 451.4 MB, free: 7.332 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02072/0.563, allocations: 4.64 MB / 456.1 MB, free: 4.977 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00307/0.5661, allocations: 446 kB / 456.5 MB, free: 4.691 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004861/0.571, allocations: 1.469 MB / 458 MB, free: 3.707 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005794/0.5768, allocations: 2.615 MB / 460.6 MB, free: 2.152 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.5791, allocations: 0.7459 MB / 461.3 MB, free: 1.816 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00302/0.5821, allocations: 1.245 MB / 462.6 MB, free: 1.188 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002957/0.5851, allocations: 0.7414 MB / 463.3 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001157/0.5863, allocations: 125 kB / 463.4 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002278/0.5886, allocations: 1.415 MB / 464.8 MB, free: 176 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.5898, allocations: 238.9 kB / 465.1 MB, free: 176 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008679/0.5985, allocations: 5.315 MB / 470.4 MB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.5985, allocations: 0 / 470.4 MB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.085e-06/0.5986, allocations: 0 / 470.4 MB, free: 12.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002726/0.5988, allocations: 0 / 470.4 MB, free: 12.09 MB / 378.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.01218/0.611, allocations: 3.862 MB / 474.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.6111, allocations: 8.031 kB / 474.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02329/0.6344, allocations: 3.785 MB / 478 MB, free: 4.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006862/0.6413, allocations: 2.194 MB / 480.2 MB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002921/0.6417, allocations: 221.4 kB / 480.5 MB, free: 1.887 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0017/0.6434, allocations: 283.8 kB / 480.7 MB, free: 1.609 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02949/0.6729, allocations: 11.18 MB / 491.9 MB, free: 5.961 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001577/0.6731, allocations: 27.72 kB / 491.9 MB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001001/0.6741, allocations: 131.8 kB / 492.1 MB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008185/0.6823, allocations: 2.624 MB / 494.7 MB, free: 3.176 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03338/0.7158, allocations: 10.44 MB / 0.4933 GB, free: 8.715 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08322/0.799, allocations: 36.78 MB / 0.5292 GB, free: 3.012 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01551/0.8146, allocations: 4.559 MB / 0.5337 GB, free: 14.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001973/0.8166, allocations: 1.327 MB / 0.535 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.029e-05/0.8167, allocations: 52.56 kB / 0.535 GB, free: 12.62 MB / 458.7 MB Notification: Performance of pre-optimization done (n=242): time 6.291e-06/0.8167, allocations: 4 kB / 0.535 GB, free: 12.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.07386/0.8906, allocations: 18.07 MB / 0.5527 GB, free: 10.37 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.8907, allocations: 77.41 kB / 0.5527 GB, free: 10.28 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0061/0.8968, allocations: 2.543 MB / 0.5552 GB, free: 7.727 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005517/0.8975, allocations: 53.7 kB / 0.5553 GB, free: 7.668 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002872/0.9003, allocations: 2.766 MB / 0.558 GB, free: 4.863 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001643/0.902, allocations: 0.9133 MB / 0.5589 GB, free: 3.938 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006877/0.9028, allocations: 108 kB / 0.559 GB, free: 3.832 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000617/0.9034, allocations: 0.5382 MB / 0.5595 GB, free: 3.285 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006436/0.9099, allocations: 2.287 MB / 0.5617 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009372/0.9193, allocations: 5.175 MB / 0.5668 GB, free: 10.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008876/0.9282, allocations: 3.443 MB / 0.5701 GB, free: 6.953 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.816e-05/0.9284, allocations: 28 kB / 0.5702 GB, free: 6.926 MB / 490.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.0251/0.9535, allocations: 8.162 MB / 0.5781 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.9536, allocations: 51.95 kB / 0.5782 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001694/0.9538, allocations: 100 kB / 0.5783 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005029/0.9589, allocations: 0.9411 MB / 0.5792 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008108/0.967, allocations: 1.22 MB / 0.5804 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/0.9785, allocations: 4.914 MB / 0.5852 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005302/0.9839, allocations: 303.8 kB / 0.5855 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001227/0.9851, allocations: 300 kB / 0.5858 GB, free: 6.797 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (653): * Single equations (assignments): 646 * 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.006278/0.9914, allocations: 2.127 MB / 0.5878 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007619/0.9922, allocations: 288.3 kB / 0.5881 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01676/1.009, allocations: 5.114 MB / 0.5931 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000124/1.009, allocations: 47.97 kB / 0.5932 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/1.009, allocations: 4 kB / 0.5932 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.672e-05/1.009, allocations: 15.91 kB / 0.5932 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03581/1.045, allocations: 11.89 MB / 0.6048 GB, free: 3.066 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.555e-05/1.045, allocations: 12 kB / 0.6048 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003617/1.049, allocations: 395.4 kB / 0.6052 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004546/1.053, allocations: 0.7694 MB / 0.6059 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005737/1.054, allocations: 51.98 kB / 0.606 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3496/1.404, allocations: 4.197 MB / 0.6101 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.748e-05/1.404, allocations: 18.91 kB / 0.6101 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02108/1.425, allocations: 8.444 MB / 0.6183 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008863/1.426, allocations: 330.8 kB / 0.6186 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001214/1.427, allocations: 47.61 kB / 0.6187 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002858/1.43, allocations: 149.9 kB / 0.6188 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007845/1.431, allocations: 156.8 kB / 0.619 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002906/1.431, allocations: 74.73 kB / 0.6191 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004646/1.436, allocations: 1.749 MB / 0.6208 GB, free: 157.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.61e-07/1.436, allocations: 0 / 0.6208 GB, free: 157.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00693/1.443, allocations: 1.001 MB / 0.6217 GB, free: 157.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.001282/1.444, allocations: 213.9 kB / 0.6219 GB, free: 157 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0144/1.458, allocations: 5.57 MB / 0.6274 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/1.458, allocations: 3.359 kB / 0.6274 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005449/1.464, allocations: 2.143 MB / 0.6295 GB, free: 154.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003171/1.467, allocations: 351.5 kB / 0.6298 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02605/1.493, allocations: 12.51 MB / 0.642 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005996/1.499, allocations: 3.467 MB / 0.6454 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001776/1.501, allocations: 261.7 kB / 0.6457 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.082e-06/1.501, allocations: 0 / 0.6457 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.1233/1.624, allocations: 72.78 MB / 0.7168 GB, free: 79.18 MB / 0.5105 GB