Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.532/2.532, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.225e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3915, allocations: 54.86 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.04483/0.4364, allocations: 27.33 MB / 390.2 MB, free: 2.371 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02154/0.458, allocations: 6.793 MB / 397 MB, free: 11.55 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006547/0.4646, allocations: 143.6 kB / 397.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005095/0.4697, allocations: 1.388 MB / 398.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01553/0.4853, allocations: 3.942 MB / 402.5 MB, free: 6.066 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.4881, allocations: 487.1 kB / 403 MB, free: 5.59 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004223/0.4924, allocations: 1.373 MB / 404.3 MB, free: 4.215 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005833/0.4983, allocations: 2.58 MB / 406.9 MB, free: 1.605 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001989/0.5003, allocations: 0.6818 MB / 407.6 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002666/0.5031, allocations: 1.029 MB / 408.6 MB, free: 15.89 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002592/0.5057, allocations: 0.8114 MB / 409.4 MB, free: 15.08 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008611/0.5066, allocations: 100 kB / 409.5 MB, free: 14.98 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002035/0.5087, allocations: 1.223 MB / 410.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009563/0.5097, allocations: 219.9 kB / 411 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007673/0.5174, allocations: 4.431 MB / 415.4 MB, free: 9.098 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5174, allocations: 0 / 415.4 MB, free: 9.098 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.5174, allocations: 0 / 415.4 MB, free: 9.098 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001951/0.5176, allocations: 0 / 415.4 MB, free: 9.098 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01118/0.5288, allocations: 3.303 MB / 418.7 MB, free: 5.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.5289, allocations: 8.031 kB / 418.7 MB, free: 5.723 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01368/0.5426, allocations: 2.101 MB / 420.8 MB, free: 3.613 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006322/0.549, allocations: 2.135 MB / 422.9 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000253/0.5493, allocations: 184.7 kB / 423.1 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/0.5506, allocations: 255.7 kB / 423.4 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03024/0.5808, allocations: 8.386 MB / 431.8 MB, free: 7.934 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002047/0.5811, allocations: 43.53 kB / 431.8 MB, free: 7.891 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009153/0.582, allocations: 123.9 kB / 431.9 MB, free: 7.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006367/0.5884, allocations: 1.625 MB / 433.5 MB, free: 6.137 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03239/0.6209, allocations: 7.036 MB / 440.6 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08926/0.7102, allocations: 33.88 MB / 474.5 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01709/0.7273, allocations: 3.153 MB / 477.6 MB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01381/0.7412, allocations: 4.05 MB / 481.7 MB, free: 4.707 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.435e-05/0.7414, allocations: 51.12 kB / 481.7 MB, free: 4.648 MB / 410.7 MB Notification: Performance of pre-optimization done (n=114): time 9.348e-06/0.7414, allocations: 0 / 481.7 MB, free: 4.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.05577/0.7972, allocations: 11.6 MB / 493.3 MB, free: 8.844 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.7973, allocations: 170.7 kB / 493.5 MB, free: 8.641 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007989/0.8053, allocations: 3.427 MB / 496.9 MB, free: 5.223 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000381/0.8058, allocations: 45.64 kB / 497 MB, free: 5.172 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003191/0.809, allocations: 2.74 MB / 499.7 MB, free: 2.391 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000898/0.8099, allocations: 0.4939 MB / 0.4885 GB, free: 1.891 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004384/0.8104, allocations: 100 kB / 0.4886 GB, free: 1.793 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000426/0.8108, allocations: 0.5251 MB / 0.4891 GB, free: 1.262 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3217/1.132, allocations: 1.662 MB / 0.4907 GB, free: 121.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007558/1.14, allocations: 5.049 MB / 0.4956 GB, free: 116.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007086/1.147, allocations: 2.853 MB / 0.4984 GB, free: 115.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001853/1.148, allocations: 31.38 kB / 0.4984 GB, free: 115.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01755/1.165, allocations: 6.618 MB / 0.5049 GB, free: 112.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-05/1.165, allocations: 58.47 kB / 0.505 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001607/1.165, allocations: 126.4 kB / 0.5051 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009626/1.166, allocations: 348.5 kB / 0.5054 GB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007316/1.174, allocations: 1.224 MB / 0.5066 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003529/1.177, allocations: 2.354 MB / 0.5089 GB, free: 111 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005666/1.183, allocations: 288.5 kB / 0.5092 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001074/1.184, allocations: 340.8 kB / 0.5095 GB, free: 110.8 MB / 426.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.004082/1.188, allocations: 1.728 MB / 0.5112 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000733/1.189, allocations: 308.2 kB / 0.5115 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007299/1.196, allocations: 2.343 MB / 0.5138 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.225e-05/1.196, allocations: 14.11 kB / 0.5138 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/1.196, allocations: 7.328 kB / 0.5138 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.94e-05/1.196, allocations: 7.375 kB / 0.5138 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01747/1.214, allocations: 5.851 MB / 0.5195 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-05/1.214, allocations: 7.688 kB / 0.5195 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/1.216, allocations: 159.8 kB / 0.5197 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003787/1.219, allocations: 0.7185 MB / 0.5204 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002732/1.22, allocations: 21.33 kB / 0.5204 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008772/1.229, allocations: 4.566 MB / 0.5249 GB, free: 96.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.229, allocations: 4.062 kB / 0.5249 GB, free: 96.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/1.239, allocations: 4.404 MB / 0.5292 GB, free: 92.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001699/1.241, allocations: 0.5359 MB / 0.5297 GB, free: 91.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008765/1.242, allocations: 20.23 kB / 0.5297 GB, free: 91.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002265/1.244, allocations: 71.97 kB / 0.5298 GB, free: 91.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003059/1.244, allocations: 68.19 kB / 0.5298 GB, free: 91.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/1.245, allocations: 35.98 kB / 0.5299 GB, free: 91.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005065/1.25, allocations: 2.397 MB / 0.5322 GB, free: 89.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.162e-06/1.25, allocations: 0 / 0.5322 GB, free: 89.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006105/1.256, allocations: 0.832 MB / 0.533 GB, free: 88.23 MB / 426.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.0007181/1.257, allocations: 155.7 kB / 0.5332 GB, free: 88.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009516/1.266, allocations: 3.962 MB / 0.537 GB, free: 84.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.266, allocations: 0 / 0.537 GB, free: 84.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00224/1.268, allocations: 1.101 MB / 0.5381 GB, free: 83.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/1.271, allocations: 350.9 kB / 0.5385 GB, free: 82.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/1.289, allocations: 8.486 MB / 0.5467 GB, free: 74.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003987/1.293, allocations: 2.832 MB / 0.5495 GB, free: 71.31 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006791/1.299, allocations: 1.643 MB / 0.5511 GB, free: 69.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/1.301, allocations: 211.4 kB / 0.5513 GB, free: 69.46 MB / 426.7 MB Notification: Performance of SimCode: time 1.323e-06/1.301, allocations: 0 / 0.5513 GB, free: 69.46 MB / 426.7 MB Notification: Performance of Templates: time 0.08395/1.385, allocations: 29.11 MB / 0.5797 GB, free: 40.46 MB / 426.7 MB