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.2_cpp_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadModel(ModelicaTest): time 2.605/2.605, allocations: 234.9 MB / 250.1 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.54e-05/3.576e-05, allocations: 4 kB / 308 MB, free: 15.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4692/0.4692, allocations: 54.86 MB / 362.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.04948/0.5188, allocations: 30.34 MB / 393.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02163/0.5405, allocations: 7.198 MB / 400.4 MB, free: 6.121 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006982/0.5475, allocations: 147.7 kB / 400.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005994/0.5536, allocations: 1.618 MB / 402.2 MB, free: 4.352 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01789/0.5715, allocations: 4.468 MB / 406.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002909/0.5745, allocations: 455.2 kB / 407.1 MB, free: 15.43 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004832/0.5794, allocations: 1.512 MB / 408.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006017/0.5855, allocations: 2.624 MB / 411.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.5875, allocations: 0.7636 MB / 412 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002972/0.5905, allocations: 1.27 MB / 413.2 MB, free: 9.215 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.5933, allocations: 0.788 MB / 414 MB, free: 8.426 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001146/0.5946, allocations: 128 kB / 414.2 MB, free: 8.301 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002691/0.5973, allocations: 1.445 MB / 415.6 MB, free: 6.852 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00134/0.5987, allocations: 244 kB / 415.8 MB, free: 6.613 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009471/0.6082, allocations: 5.43 MB / 421.3 MB, free: 1.172 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6083, allocations: 0 / 421.3 MB, free: 1.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.6083, allocations: 4 kB / 421.3 MB, free: 1.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002565/0.6085, allocations: 0 / 421.3 MB, free: 1.168 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1681 * Number of variables: 1681 Notification: Performance of Generate backend data structure: time 0.0135/0.6221, allocations: 3.968 MB / 425.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/0.6221, allocations: 11.97 kB / 425.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02881/0.651, allocations: 3.757 MB / 429 MB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007442/0.6584, allocations: 2.358 MB / 431.4 MB, free: 6.945 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.6589, allocations: 233.4 kB / 431.6 MB, free: 6.715 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001912/0.6608, allocations: 291.8 kB / 431.9 MB, free: 6.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03233/0.6932, allocations: 11.41 MB / 443.3 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001779/0.6934, allocations: 23.81 kB / 443.3 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001457/0.6949, allocations: 139.8 kB / 443.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00819/0.7031, allocations: 2.652 MB / 446.1 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03433/0.7375, allocations: 10.54 MB / 456.6 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4205/1.158, allocations: 37.48 MB / 494.1 MB, free: 84.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01429/1.172, allocations: 4.563 MB / 498.7 MB, free: 83.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001568/1.174, allocations: 1.317 MB / 500 MB, free: 82.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/1.174, allocations: 60.7 kB / 0.4883 GB, free: 82.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 7.675e-06/1.174, allocations: 0 / 0.4883 GB, free: 82.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.06919/1.243, allocations: 18.15 MB / 0.5061 GB, free: 75.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/1.243, allocations: 76.88 kB / 0.5061 GB, free: 75.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005323/1.249, allocations: 2.57 MB / 0.5086 GB, free: 72.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005332/1.249, allocations: 62.88 kB / 0.5087 GB, free: 72.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002032/1.251, allocations: 2.83 MB / 0.5115 GB, free: 70.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001368/1.253, allocations: 0.9179 MB / 0.5124 GB, free: 69.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005873/1.253, allocations: 110.2 kB / 0.5125 GB, free: 68.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003998/1.254, allocations: 0.5447 MB / 0.513 GB, free: 68.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005874/1.26, allocations: 2.306 MB / 0.5152 GB, free: 66.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007457/1.267, allocations: 5.234 MB / 0.5204 GB, free: 59.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007801/1.275, allocations: 3.467 MB / 0.5237 GB, free: 56.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001222/1.275, allocations: 32.66 kB / 0.5238 GB, free: 56.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=723) (initialization): time 0.02299/1.298, allocations: 8.224 MB / 0.5318 GB, free: 47.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.007e-05/1.298, allocations: 48 kB / 0.5318 GB, free: 47.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001535/1.299, allocations: 104 kB / 0.5319 GB, free: 47.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004796/1.303, allocations: 0.9445 MB / 0.5329 GB, free: 46.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007655/1.311, allocations: 1.248 MB / 0.5341 GB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/1.321, allocations: 4.922 MB / 0.5389 GB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00525/1.327, allocations: 312.3 kB / 0.5392 GB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/1.328, allocations: 312 kB / 0.5395 GB, free: 39.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 468 * 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 (662): * Single equations (assignments): 655 * 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.005621/1.334, allocations: 2.149 MB / 0.5416 GB, free: 37.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000714/1.334, allocations: 284.3 kB / 0.5419 GB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01504/1.349, allocations: 5.115 MB / 0.5469 GB, free: 32.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001089/1.35, allocations: 47.98 kB / 0.5469 GB, free: 32.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/1.35, allocations: 4 kB / 0.5469 GB, free: 32.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-05/1.35, allocations: 11.97 kB / 0.5469 GB, free: 32.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03313/1.383, allocations: 11.95 MB / 0.5586 GB, free: 20.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.854e-05/1.383, allocations: 11.98 kB / 0.5586 GB, free: 20.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003442/1.386, allocations: 395.3 kB / 0.559 GB, free: 19.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004272/1.391, allocations: 0.7821 MB / 0.5597 GB, free: 18.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005329/1.391, allocations: 60.58 kB / 0.5598 GB, free: 18.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008479/1.4, allocations: 4.195 MB / 0.5639 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.255e-05/1.4, allocations: 15.94 kB / 0.5639 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01899/1.419, allocations: 8.454 MB / 0.5722 GB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002359/1.421, allocations: 0.6848 MB / 0.5728 GB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001071/1.422, allocations: 49.25 kB / 0.5729 GB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002838/1.425, allocations: 147.8 kB / 0.573 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006879/1.426, allocations: 158.1 kB / 0.5732 GB, free: 4.684 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002644/1.426, allocations: 72.84 kB / 0.5732 GB, free: 4.613 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003915/1.43, allocations: 1.768 MB / 0.575 GB, free: 2.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.43, allocations: 0 / 0.575 GB, free: 2.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006034/1.436, allocations: 1.026 MB / 0.576 GB, free: 1.82 MB / 410.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.001011/1.437, allocations: 195.5 kB / 0.5762 GB, free: 1.625 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01422/1.451, allocations: 5.603 MB / 0.5816 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/1.452, allocations: 4.25 kB / 0.5816 GB, free: 12.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00585/1.457, allocations: 2.141 MB / 0.5837 GB, free: 9.883 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003034/1.46, allocations: 348.1 kB / 0.5841 GB, free: 9.547 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03304/1.494, allocations: 12.7 MB / 0.5965 GB, free: 12.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008374/1.502, allocations: 3.522 MB / 0.5999 GB, free: 9.125 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/1.504, allocations: 267.4 kB / 0.6002 GB, free: 8.863 MB / 442.7 MB Notification: Performance of SimCode: time 1.432e-06/1.504, allocations: 0 / 0.6002 GB, free: 8.863 MB / 442.7 MB Notification: Performance of Templates: time 0.4835/1.988, allocations: 73.77 MB / 0.6722 GB, free: 163.8 MB / 490.7 MB