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_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.149/2.149, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.597e-05/3.616e-05, allocations: 4 kB / 304.9 MB, free: 5.672 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3707, allocations: 54.86 MB / 359.8 MB, free: 2.676 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1537/0.5244, allocations: 100.2 MB / 459.9 MB, free: 12.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.5247, allocations: 76.72 kB / 460 MB, free: 12.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3236/0.8484, allocations: 71.81 MB / 0.5194 GB, free: 4.414 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.389e-06/0.8484, allocations: 0 / 0.5194 GB, free: 4.414 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001985/0.8486, allocations: 68 kB / 0.5194 GB, free: 4.348 MB / 458.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.0101/0.8587, allocations: 3.348 MB / 0.5227 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.8588, allocations: 12.03 kB / 0.5227 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2804/1.139, allocations: 2.082 MB / 0.5247 GB, free: 72.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01276/1.152, allocations: 4.057 MB / 0.5287 GB, free: 72.21 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003385/1.152, allocations: 260.1 kB / 0.529 GB, free: 72.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001571/1.154, allocations: 342.1 kB / 0.5293 GB, free: 72.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0195/1.173, allocations: 8.761 MB / 0.5378 GB, free: 69.59 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001863/1.174, allocations: 59.2 kB / 0.5379 GB, free: 69.59 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007375/1.174, allocations: 176.8 kB / 0.5381 GB, free: 69.59 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00149/1.176, allocations: 0.8645 MB / 0.5389 GB, free: 69.58 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01615/1.192, allocations: 6.897 MB / 0.5456 GB, free: 69.54 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04554/1.238, allocations: 42.6 MB / 0.5872 GB, free: 41.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00911/1.247, allocations: 3.149 MB / 0.5903 GB, free: 41.23 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002295/1.249, allocations: 1.411 MB / 0.5917 GB, free: 41.18 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00741/1.257, allocations: 4.087 MB / 0.5957 GB, free: 39.68 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/1.257, allocations: 50.36 kB / 0.5957 GB, free: 39.63 MB / 458.7 MB Notification: Performance of pre-optimization done (n=114): time 5.615e-06/1.257, allocations: 2.062 kB / 0.5957 GB, free: 39.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=122): time 0.02905/1.286, allocations: 9.385 MB / 0.6049 GB, free: 37 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/1.286, allocations: 169.4 kB / 0.6051 GB, free: 36.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006015/1.292, allocations: 3.282 MB / 0.6083 GB, free: 36.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002578/1.292, allocations: 42.77 kB / 0.6083 GB, free: 36.37 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001731/1.294, allocations: 2.672 MB / 0.6109 GB, free: 34.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006029/1.295, allocations: 0.4997 MB / 0.6114 GB, free: 34.44 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003933/1.295, allocations: 101.4 kB / 0.6115 GB, free: 34.41 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003199/1.295, allocations: 0.5346 MB / 0.612 GB, free: 34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/1.298, allocations: 1.63 MB / 0.6136 GB, free: 33.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004901/1.303, allocations: 4.99 MB / 0.6185 GB, free: 28.19 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004902/1.308, allocations: 2.862 MB / 0.6213 GB, free: 27.12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.753e-05/1.308, allocations: 37.53 kB / 0.6213 GB, free: 27.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01397/1.322, allocations: 6.109 MB / 0.6273 GB, free: 24.99 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.685e-05/1.323, allocations: 56.31 kB / 0.6273 GB, free: 24.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001268/1.323, allocations: 122.2 kB / 0.6275 GB, free: 24.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007747/1.323, allocations: 340.7 kB / 0.6278 GB, free: 24.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005704/1.329, allocations: 1.273 MB / 0.629 GB, free: 24.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002667/1.332, allocations: 2.334 MB / 0.6313 GB, free: 23.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005334/1.337, allocations: 284.5 kB / 0.6316 GB, free: 22.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/1.338, allocations: 331.9 kB / 0.6319 GB, free: 22.95 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * 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 (656): * Single equations (assignments): 652 * 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.0009962/1.339, allocations: 0.5122 MB / 0.6324 GB, free: 22.52 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00068/1.34, allocations: 308.9 kB / 0.6327 GB, free: 22.35 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005937/1.346, allocations: 2.322 MB / 0.635 GB, free: 21.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.11e-05/1.346, allocations: 15.83 kB / 0.635 GB, free: 21.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/1.346, allocations: 1.812 kB / 0.635 GB, free: 21.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/1.346, allocations: 5.312 kB / 0.635 GB, free: 21.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/1.361, allocations: 5.819 MB / 0.6407 GB, free: 19.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.948e-05/1.361, allocations: 6.875 kB / 0.6407 GB, free: 19.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/1.362, allocations: 158.9 kB / 0.6408 GB, free: 19.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002941/1.365, allocations: 0.7132 MB / 0.6415 GB, free: 18.99 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001951/1.365, allocations: 21.64 kB / 0.6415 GB, free: 18.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006886/1.372, allocations: 4.442 MB / 0.6459 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.123e-06/1.372, allocations: 0 / 0.6459 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00787/1.38, allocations: 4.361 MB / 0.6501 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/1.381, allocations: 0.5332 MB / 0.6506 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005543/1.382, allocations: 20.06 kB / 0.6507 GB, free: 10.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/1.384, allocations: 74.16 kB / 0.6507 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/1.384, allocations: 62.06 kB / 0.6508 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/1.384, allocations: 36.94 kB / 0.6508 GB, free: 10.53 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004164/1.388, allocations: 2.275 MB / 0.6531 GB, free: 8.531 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.014e-06/1.388, allocations: 0 / 0.6531 GB, free: 8.531 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005477/1.394, allocations: 0.815 MB / 0.6538 GB, free: 7.723 MB / 458.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.0004392/1.394, allocations: 155.3 kB / 0.654 GB, free: 7.57 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006919/1.401, allocations: 3.737 MB / 0.6576 GB, free: 4.168 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.304e-06/1.401, allocations: 0 / 0.6576 GB, free: 4.168 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001727/1.403, allocations: 1.048 MB / 0.6587 GB, free: 3.203 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/1.405, allocations: 354 kB / 0.659 GB, free: 2.902 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02004/1.425, allocations: 6.545 MB / 0.6654 GB, free: 14.03 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005255/1.43, allocations: 2.836 MB / 0.6682 GB, free: 11.36 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/1.432, allocations: 251.4 kB / 0.6684 GB, free: 11.11 MB / 474.7 MB Notification: Performance of SimCode: time 1.895e-06/1.432, allocations: 0 / 0.6684 GB, free: 11.11 MB / 474.7 MB Notification: Performance of Templates: time 0.4083/1.84, allocations: 60.04 MB / 0.727 GB, free: 139.6 MB / 0.4948 GB