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_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadModel(ModelicaTest): time 1.907/1.907, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.175e-05/4.179e-05, allocations: 7.938 kB / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3573, allocations: 48.7 MB / 324.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.04406/0.4014, allocations: 27.32 MB / 352.2 MB, free: 276 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02158/0.423, allocations: 6.765 MB / 358.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007683/0.4308, allocations: 143.6 kB / 359.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005833/0.4366, allocations: 1.39 MB / 360.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01715/0.4539, allocations: 3.95 MB / 364.4 MB, free: 7.758 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.4571, allocations: 490.9 kB / 364.9 MB, free: 7.441 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00472/0.4618, allocations: 1.385 MB / 366.3 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005748/0.4676, allocations: 2.584 MB / 368.9 MB, free: 3.457 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.4696, allocations: 0.6779 MB / 369.5 MB, free: 2.777 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002621/0.4722, allocations: 1.036 MB / 370.6 MB, free: 1.738 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.4752, allocations: 0.7958 MB / 371.4 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.4763, allocations: 108 kB / 371.5 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002219/0.4785, allocations: 1.223 MB / 372.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009607/0.4796, allocations: 216 kB / 372.9 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007595/0.4872, allocations: 4.429 MB / 377.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4872, allocations: 4 kB / 377.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4872, allocations: 0 / 377.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001791/0.4874, allocations: 0 / 377.3 MB, free: 10.96 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.01357/0.501, allocations: 3.31 MB / 380.7 MB, free: 7.582 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.905e-05/0.5011, allocations: 8.031 kB / 380.7 MB, free: 7.574 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01459/0.5157, allocations: 2.109 MB / 382.8 MB, free: 5.457 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006132/0.5219, allocations: 2.123 MB / 384.9 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002304/0.5222, allocations: 188.7 kB / 385.1 MB, free: 3.082 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000994/0.5232, allocations: 247.8 kB / 385.3 MB, free: 2.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02206/0.5453, allocations: 8.382 MB / 393.7 MB, free: 9.793 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000147/0.5455, allocations: 47.47 kB / 393.7 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005713/0.5461, allocations: 127.9 kB / 393.9 MB, free: 9.621 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004706/0.5508, allocations: 1.621 MB / 395.5 MB, free: 8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02345/0.5743, allocations: 7.039 MB / 402.5 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06215/0.6365, allocations: 33.87 MB / 436.4 MB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01267/0.6492, allocations: 3.149 MB / 439.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01106/0.6604, allocations: 4.062 MB / 443.6 MB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/0.6605, allocations: 47.06 kB / 443.7 MB, free: 6.508 MB / 378.7 MB Notification: Performance of pre-optimization done (n=114): time 5.23e-06/0.6605, allocations: 4 kB / 443.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=122): time 0.05225/0.7128, allocations: 11.6 MB / 455.3 MB, free: 10.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.7129, allocations: 170.7 kB / 455.4 MB, free: 10.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008503/0.7214, allocations: 3.419 MB / 458.8 MB, free: 7.086 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003613/0.7219, allocations: 41.7 kB / 458.9 MB, free: 7.039 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003097/0.725, allocations: 2.67 MB / 461.6 MB, free: 4.336 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000978/0.726, allocations: 0.5017 MB / 462.1 MB, free: 3.828 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005243/0.7266, allocations: 108 kB / 462.2 MB, free: 3.723 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000475/0.727, allocations: 0.5376 MB / 462.7 MB, free: 3.176 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004453/0.7315, allocations: 1.662 MB / 464.4 MB, free: 1.508 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007918/0.7395, allocations: 5.05 MB / 469.4 MB, free: 10.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007272/0.7468, allocations: 2.848 MB / 472.3 MB, free: 7.887 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.516e-05/0.7469, allocations: 40 kB / 472.3 MB, free: 7.848 MB / 410.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01816/0.7651, allocations: 6.497 MB / 478.8 MB, free: 1.344 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.7653, allocations: 68.19 kB / 478.9 MB, free: 1.277 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002015/0.7655, allocations: 124 kB / 479 MB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.7665, allocations: 340.6 kB / 479.3 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3324/1.099, allocations: 1.219 MB / 480.5 MB, free: 122.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006163/1.105, allocations: 2.362 MB / 482.9 MB, free: 121.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009173/1.114, allocations: 292.8 kB / 483.2 MB, free: 121.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001708/1.116, allocations: 329.8 kB / 483.5 MB, free: 121.2 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.00688/1.123, allocations: 1.738 MB / 485.2 MB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/1.124, allocations: 305.6 kB / 485.5 MB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/1.136, allocations: 2.344 MB / 487.9 MB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.93e-05/1.136, allocations: 15.48 kB / 487.9 MB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-05/1.136, allocations: 6.266 kB / 487.9 MB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.156e-05/1.136, allocations: 6.203 kB / 487.9 MB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02836/1.165, allocations: 5.841 MB / 493.8 MB, free: 117.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.635e-05/1.165, allocations: 5.141 kB / 493.8 MB, free: 117.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002501/1.167, allocations: 164.6 kB / 493.9 MB, free: 117.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01107/1.179, allocations: 0.7125 MB / 494.6 MB, free: 117.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000272/1.179, allocations: 24 kB / 494.7 MB, free: 117.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009473/1.188, allocations: 4.573 MB / 499.2 MB, free: 115 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.188, allocations: 1.312 kB / 499.2 MB, free: 115 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/1.201, allocations: 4.405 MB / 0.4918 GB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001937/1.203, allocations: 0.5347 MB / 0.4924 GB, free: 113 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007993/1.204, allocations: 18.58 kB / 0.4924 GB, free: 113 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001931/1.206, allocations: 75.55 kB / 0.4924 GB, free: 113 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/1.206, allocations: 62.27 kB / 0.4925 GB, free: 113 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.206, allocations: 33.92 kB / 0.4925 GB, free: 113 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005285/1.212, allocations: 2.398 MB / 0.4949 GB, free: 112.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.326e-06/1.212, allocations: 0 / 0.4949 GB, free: 112.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005714/1.217, allocations: 0.8332 MB / 0.4957 GB, free: 112.1 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.0006666/1.218, allocations: 162.2 kB / 0.4958 GB, free: 112 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008863/1.227, allocations: 3.956 MB / 0.4997 GB, free: 110.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/1.227, allocations: 0.875 kB / 0.4997 GB, free: 110.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002258/1.229, allocations: 1.096 MB / 0.5008 GB, free: 110.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/1.232, allocations: 360 kB / 0.5011 GB, free: 110 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/1.249, allocations: 8.878 MB / 0.5098 GB, free: 102.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00373/1.252, allocations: 2.843 MB / 0.5126 GB, free: 100 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/1.254, allocations: 247.4 kB / 0.5128 GB, free: 99.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/1.254, allocations: 0 / 0.5128 GB, free: 99.79 MB / 410.7 MB Notification: Performance of Templates: time 0.1065/1.36, allocations: 61.29 MB / 0.5727 GB, free: 38.43 MB / 410.7 MB