Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.005/2.005, allocations: 209.3 MB / 223.8 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.478e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3671, allocations: 48.7 MB / 324.9 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.04489/0.4121, allocations: 27.31 MB / 352.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02855/0.4407, allocations: 6.768 MB / 359 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009275/0.45, allocations: 144.1 kB / 359.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006582/0.4567, allocations: 1.386 MB / 360.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01766/0.4744, allocations: 3.952 MB / 364.4 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003537/0.478, allocations: 495.1 kB / 364.9 MB, free: 7.336 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004652/0.4827, allocations: 1.373 MB / 366.3 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005664/0.4884, allocations: 2.594 MB / 368.9 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.49, allocations: 0.674 MB / 369.6 MB, free: 2.668 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002128/0.4922, allocations: 1.029 MB / 370.6 MB, free: 1.637 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002677/0.4949, allocations: 0.8075 MB / 371.4 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009587/0.4959, allocations: 104 kB / 371.5 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002368/0.4983, allocations: 1.219 MB / 372.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.4995, allocations: 216 kB / 372.9 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009599/0.5091, allocations: 4.438 MB / 377.4 MB, free: 10.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5092, allocations: 0 / 377.4 MB, free: 10.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.5092, allocations: 0 / 377.4 MB, free: 10.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002003/0.5094, allocations: 0 / 377.4 MB, free: 10.84 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01407/0.5235, allocations: 3.299 MB / 380.7 MB, free: 7.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.779e-05/0.5236, allocations: 12.03 kB / 380.7 MB, free: 7.469 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01812/0.5418, allocations: 2.101 MB / 382.8 MB, free: 5.355 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008205/0.55, allocations: 2.135 MB / 384.9 MB, free: 3.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003478/0.5504, allocations: 184.7 kB / 385.1 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001685/0.5521, allocations: 247.8 kB / 385.3 MB, free: 2.734 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02833/0.5805, allocations: 8.39 MB / 393.7 MB, free: 9.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001843/0.5808, allocations: 43.59 kB / 393.8 MB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001117/0.5819, allocations: 115.9 kB / 393.9 MB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004635/0.5866, allocations: 1.625 MB / 395.5 MB, free: 7.898 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02292/0.6095, allocations: 7.047 MB / 402.6 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0612/0.6708, allocations: 33.88 MB / 436.4 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/0.6832, allocations: 3.142 MB / 439.6 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01001/0.6933, allocations: 4.065 MB / 443.6 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/0.6934, allocations: 51.06 kB / 443.7 MB, free: 6.395 MB / 378.7 MB Notification: Performance of pre-optimization done (n=114): time 5.069e-06/0.6934, allocations: 0 / 443.7 MB, free: 6.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=122): time 0.04911/0.7426, allocations: 11.6 MB / 455.3 MB, free: 10.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.7427, allocations: 166.8 kB / 455.5 MB, free: 10.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007059/0.7498, allocations: 3.419 MB / 458.9 MB, free: 6.977 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003049/0.7501, allocations: 45.7 kB / 458.9 MB, free: 6.926 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002795/0.753, allocations: 2.732 MB / 461.7 MB, free: 4.156 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007975/0.7538, allocations: 0.4939 MB / 462.1 MB, free: 3.656 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003517/0.7541, allocations: 108 kB / 462.3 MB, free: 3.551 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004268/0.7546, allocations: 0.5328 MB / 462.8 MB, free: 3.012 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004135/0.7587, allocations: 1.669 MB / 464.5 MB, free: 1.336 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007016/0.7658, allocations: 5.042 MB / 469.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006947/0.7728, allocations: 2.851 MB / 472.4 MB, free: 7.719 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.012e-05/0.7729, allocations: 32 kB / 472.4 MB, free: 7.688 MB / 410.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01737/0.7902, allocations: 6.62 MB / 479 MB, free: 1.059 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.7904, allocations: 56 kB / 479.1 MB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001741/0.7906, allocations: 124 kB / 479.2 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.7916, allocations: 341.1 kB / 479.5 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2876/1.079, allocations: 1.225 MB / 480.7 MB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003814/1.083, allocations: 2.353 MB / 483.1 MB, free: 121.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005379/1.088, allocations: 290 kB / 483.4 MB, free: 121.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/1.09, allocations: 331.5 kB / 483.7 MB, free: 121.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (654): * Single equations (assignments): 650 * Array equations: 3 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004824/1.094, allocations: 1.737 MB / 485.4 MB, free: 121.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009188/1.095, allocations: 310.9 kB / 485.7 MB, free: 121.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009613/1.105, allocations: 2.338 MB / 488.1 MB, free: 120.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.606e-05/1.105, allocations: 14.47 kB / 488.1 MB, free: 120.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.49e-05/1.105, allocations: 4.859 kB / 488.1 MB, free: 120.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.079e-05/1.105, allocations: 5.953 kB / 488.1 MB, free: 120.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02508/1.13, allocations: 5.851 MB / 493.9 MB, free: 118.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.309e-05/1.13, allocations: 5.141 kB / 494 MB, free: 118.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002009/1.132, allocations: 165 kB / 494.1 MB, free: 118.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005074/1.138, allocations: 0.7125 MB / 494.8 MB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002316/1.138, allocations: 22.25 kB / 494.8 MB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01268/1.15, allocations: 4.573 MB / 499.4 MB, free: 115.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.151, allocations: 6.75 kB / 499.4 MB, free: 115.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01532/1.166, allocations: 4.403 MB / 0.492 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00259/1.169, allocations: 0.5375 MB / 0.4925 GB, free: 113.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001283/1.17, allocations: 19.69 kB / 0.4926 GB, free: 113.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003218/1.173, allocations: 71.89 kB / 0.4926 GB, free: 113.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003912/1.174, allocations: 62.2 kB / 0.4927 GB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/1.174, allocations: 38.45 kB / 0.4927 GB, free: 113.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.007195/1.181, allocations: 2.392 MB / 0.4951 GB, free: 112.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.31e-07/1.181, allocations: 0 / 0.4951 GB, free: 112.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007633/1.189, allocations: 0.8287 MB / 0.4959 GB, free: 112.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 86 * Array equations: 3 * 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 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007643/1.189, allocations: 161 kB / 0.496 GB, free: 112.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008925/1.198, allocations: 3.961 MB / 0.4999 GB, free: 111.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.198, allocations: 7.938 kB / 0.4999 GB, free: 111.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002328/1.201, allocations: 1.096 MB / 0.501 GB, free: 110.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002738/1.204, allocations: 345.5 kB / 0.5013 GB, free: 110.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/1.22, allocations: 8.492 MB / 0.5096 GB, free: 103 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003891/1.224, allocations: 2.832 MB / 0.5124 GB, free: 100.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006676/1.231, allocations: 1.644 MB / 0.514 GB, free: 98.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/1.232, allocations: 203.4 kB / 0.5142 GB, free: 98.26 MB / 410.7 MB Notification: Performance of SimCode: time 1.282e-06/1.232, allocations: 0 / 0.5142 GB, free: 98.26 MB / 410.7 MB Notification: Performance of Templates: time 0.08063/1.313, allocations: 29.1 MB / 0.5426 GB, free: 69.28 MB / 410.7 MB