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.37/2.37, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.746e-05/4.761e-05, allocations: 4 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4238, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.044/0.4679, allocations: 27.33 MB / 390.2 MB, free: 2.445 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01991/0.4879, allocations: 6.798 MB / 397 MB, free: 11.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006196/0.4941, allocations: 143.6 kB / 397.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005042/0.4992, allocations: 1.384 MB / 398.5 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01521/0.5145, allocations: 3.946 MB / 402.5 MB, free: 6.137 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002876/0.5174, allocations: 483.1 kB / 402.9 MB, free: 5.664 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004402/0.5218, allocations: 1.369 MB / 404.3 MB, free: 4.293 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005633/0.5275, allocations: 2.588 MB / 406.9 MB, free: 1.676 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.5292, allocations: 0.6779 MB / 407.6 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002191/0.5314, allocations: 1.036 MB / 408.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.5339, allocations: 0.7996 MB / 409.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008156/0.5348, allocations: 104 kB / 409.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001978/0.5368, allocations: 1.219 MB / 410.7 MB, free: 13.83 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.5378, allocations: 216 kB / 410.9 MB, free: 13.62 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007751/0.5456, allocations: 4.436 MB / 415.4 MB, free: 9.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5457, allocations: 0 / 415.4 MB, free: 9.176 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.5457, allocations: 4 kB / 415.4 MB, free: 9.172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000193/0.5459, allocations: 3.938 kB / 415.4 MB, free: 9.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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01089/0.5568, allocations: 3.302 MB / 418.7 MB, free: 5.801 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.5569, allocations: 8.031 kB / 418.7 MB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01322/0.5701, allocations: 2.109 MB / 420.8 MB, free: 3.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006356/0.5765, allocations: 2.127 MB / 422.9 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002744/0.5769, allocations: 188.7 kB / 423.1 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001263/0.5781, allocations: 251.8 kB / 423.4 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02283/0.601, allocations: 8.382 MB / 431.7 MB, free: 8.008 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001617/0.6012, allocations: 43.53 kB / 431.8 MB, free: 7.965 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008042/0.602, allocations: 123.9 kB / 431.9 MB, free: 7.844 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004561/0.6066, allocations: 1.621 MB / 433.5 MB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02359/0.6302, allocations: 7.039 MB / 440.6 MB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06394/0.6942, allocations: 33.88 MB / 474.4 MB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01277/0.7071, allocations: 3.153 MB / 477.6 MB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01104/0.7182, allocations: 4.05 MB / 481.6 MB, free: 4.781 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.297e-05/0.7183, allocations: 55.06 kB / 481.7 MB, free: 4.719 MB / 410.7 MB Notification: Performance of pre-optimization done (n=114): time 5.901e-06/0.7183, allocations: 0 / 481.7 MB, free: 4.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.05464/0.773, allocations: 11.59 MB / 493.3 MB, free: 8.922 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.7732, allocations: 170.8 kB / 493.5 MB, free: 8.719 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009586/0.7828, allocations: 3.427 MB / 496.9 MB, free: 5.301 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003844/0.7832, allocations: 45.69 kB / 496.9 MB, free: 5.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003556/0.7868, allocations: 2.678 MB / 499.6 MB, free: 2.535 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001102/0.7879, allocations: 0.4939 MB / 0.4884 GB, free: 2.035 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007068/0.7887, allocations: 100 kB / 0.4885 GB, free: 1.938 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006812/0.7894, allocations: 0.5337 MB / 0.489 GB, free: 1.395 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3283/1.118, allocations: 1.665 MB / 0.4906 GB, free: 121 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007647/1.125, allocations: 5.05 MB / 0.4956 GB, free: 116.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007067/1.133, allocations: 2.844 MB / 0.4983 GB, free: 115.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002503/1.133, allocations: 31.41 kB / 0.4984 GB, free: 115.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.0178/1.151, allocations: 6.516 MB / 0.5047 GB, free: 112.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/1.151, allocations: 56.5 kB / 0.5048 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002044/1.151, allocations: 121.8 kB / 0.5049 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/1.152, allocations: 340.7 kB / 0.5052 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007147/1.159, allocations: 1.228 MB / 0.5064 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003602/1.163, allocations: 2.36 MB / 0.5087 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00599/1.169, allocations: 287.3 kB / 0.509 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001131/1.17, allocations: 329.8 kB / 0.5093 GB, free: 110.7 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.004785/1.175, allocations: 1.746 MB / 0.511 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007832/1.176, allocations: 311.3 kB / 0.5113 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00769/1.184, allocations: 2.333 MB / 0.5136 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.207e-05/1.184, allocations: 16 kB / 0.5136 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/1.184, allocations: 4 kB / 0.5136 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.178e-05/1.184, allocations: 3.984 kB / 0.5136 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01796/1.202, allocations: 5.856 MB / 0.5193 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-05/1.202, allocations: 0 / 0.5193 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/1.203, allocations: 171.8 kB / 0.5195 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003878/1.207, allocations: 0.703 MB / 0.5202 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002781/1.208, allocations: 24.62 kB / 0.5202 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008797/1.216, allocations: 4.574 MB / 0.5247 GB, free: 96.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.216, allocations: 0 / 0.5247 GB, free: 96.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/1.228, allocations: 4.408 MB / 0.529 GB, free: 92.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001855/1.229, allocations: 0.536 MB / 0.5295 GB, free: 91.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001001/1.23, allocations: 16.7 kB / 0.5295 GB, free: 91.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002463/1.233, allocations: 76.67 kB / 0.5296 GB, free: 91.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004264/1.233, allocations: 68.41 kB / 0.5297 GB, free: 91.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/1.234, allocations: 33.02 kB / 0.5297 GB, free: 91.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005475/1.239, allocations: 2.397 MB / 0.532 GB, free: 89.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.239, allocations: 0 / 0.532 GB, free: 89.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00678/1.246, allocations: 0.8268 MB / 0.5328 GB, free: 88.44 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.0007595/1.247, allocations: 158.8 kB / 0.533 GB, free: 88.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009113/1.256, allocations: 3.96 MB / 0.5369 GB, free: 84.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/1.256, allocations: 4 kB / 0.5369 GB, free: 84.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002357/1.258, allocations: 1.097 MB / 0.5379 GB, free: 83.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002894/1.261, allocations: 360.2 kB / 0.5383 GB, free: 82.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01865/1.28, allocations: 8.869 MB / 0.5469 GB, free: 73.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005045/1.285, allocations: 2.836 MB / 0.5497 GB, free: 71.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/1.286, allocations: 247.4 kB / 0.5499 GB, free: 70.87 MB / 426.7 MB Notification: Performance of SimCode: time 1.843e-06/1.286, allocations: 0 / 0.5499 GB, free: 70.87 MB / 426.7 MB Notification: Performance of Templates: time 0.1351/1.421, allocations: 61.33 MB / 0.6098 GB, free: 9.484 MB / 426.7 MB