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.9/1.9, allocations: 209.3 MB / 221.9 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.314e-05, allocations: 8 kB / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08449/0.08454, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3606/0.4452, allocations: 93.37 MB / 415.1 MB, free: 2.273 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.4455, allocations: 73.92 kB / 415.2 MB, free: 2.262 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2798/0.7253, allocations: 71.81 MB / 487 MB, free: 1.617 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.7253, allocations: 3.938 kB / 487 MB, free: 1.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001834/0.7255, allocations: 68 kB / 487.1 MB, free: 1.547 MB / 378.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.01013/0.7357, allocations: 3.349 MB / 490.4 MB, free: 14.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.7357, allocations: 8.031 kB / 490.4 MB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.7475, allocations: 2.089 MB / 492.5 MB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01323/0.7608, allocations: 4.041 MB / 496.6 MB, free: 7.926 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003511/0.7612, allocations: 258.8 kB / 496.8 MB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00146/0.7627, allocations: 347.8 kB / 497.2 MB, free: 7.332 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02127/0.7839, allocations: 8.765 MB / 0.4941 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001859/0.7842, allocations: 59.75 kB / 0.4941 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008397/0.785, allocations: 175.9 kB / 0.4943 GB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001623/0.7867, allocations: 0.8643 MB / 0.4951 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01784/0.8045, allocations: 6.896 MB / 0.5019 GB, free: 5.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2996/1.104, allocations: 42.59 MB / 0.5435 GB, free: 70.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009194/1.113, allocations: 3.14 MB / 0.5465 GB, free: 69.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002501/1.116, allocations: 1.415 MB / 0.5479 GB, free: 69.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00774/1.124, allocations: 4.093 MB / 0.5519 GB, free: 67.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/1.124, allocations: 46.34 kB / 0.552 GB, free: 67.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=114): time 5.85e-06/1.124, allocations: 0 / 0.552 GB, free: 67.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=122): time 0.02761/1.151, allocations: 9.392 MB / 0.5611 GB, free: 65.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/1.152, allocations: 169.7 kB / 0.5613 GB, free: 65.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005603/1.157, allocations: 3.276 MB / 0.5645 GB, free: 64.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002174/1.157, allocations: 42.23 kB / 0.5645 GB, free: 64.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00157/1.159, allocations: 2.676 MB / 0.5671 GB, free: 63.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005303/1.16, allocations: 0.5003 MB / 0.5676 GB, free: 63.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/1.16, allocations: 101.1 kB / 0.5677 GB, free: 63.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003136/1.16, allocations: 0.5343 MB / 0.5682 GB, free: 62.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003009/1.163, allocations: 1.625 MB / 0.5698 GB, free: 62.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004495/1.168, allocations: 4.992 MB / 0.5747 GB, free: 58.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004864/1.173, allocations: 2.852 MB / 0.5775 GB, free: 58.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-05/1.173, allocations: 36.84 kB / 0.5775 GB, free: 58.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01339/1.186, allocations: 6.111 MB / 0.5835 GB, free: 56.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.831e-05/1.186, allocations: 59.25 kB / 0.5836 GB, free: 56.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001274/1.186, allocations: 118.9 kB / 0.5837 GB, free: 56.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008132/1.187, allocations: 349.5 kB / 0.584 GB, free: 56.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004945/1.192, allocations: 1.271 MB / 0.5852 GB, free: 56.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/1.195, allocations: 2.328 MB / 0.5875 GB, free: 55.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005123/1.2, allocations: 294.9 kB / 0.5878 GB, free: 54.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008999/1.201, allocations: 331.9 kB / 0.5881 GB, free: 54.89 MB / 426.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.0008803/1.202, allocations: 0.5087 MB / 0.5886 GB, free: 54.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006157/1.203, allocations: 305.2 kB / 0.5889 GB, free: 54.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00555/1.208, allocations: 2.32 MB / 0.5912 GB, free: 53.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.055e-05/1.208, allocations: 13.34 kB / 0.5912 GB, free: 53.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/1.208, allocations: 3.562 kB / 0.5912 GB, free: 53.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.213e-05/1.208, allocations: 7.828 kB / 0.5912 GB, free: 53.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01369/1.222, allocations: 5.825 MB / 0.5969 GB, free: 51.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/1.222, allocations: 6.25 kB / 0.5969 GB, free: 51.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009849/1.223, allocations: 162.3 kB / 0.597 GB, free: 51.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002537/1.226, allocations: 0.7088 MB / 0.5977 GB, free: 51.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/1.226, allocations: 25.88 kB / 0.5978 GB, free: 51.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006913/1.233, allocations: 4.438 MB / 0.6021 GB, free: 48.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.031e-06/1.233, allocations: 3.938 kB / 0.6021 GB, free: 48.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00817/1.241, allocations: 4.358 MB / 0.6063 GB, free: 46.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/1.242, allocations: 0.5328 MB / 0.6069 GB, free: 46.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004669/1.243, allocations: 18.59 kB / 0.6069 GB, free: 46.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/1.244, allocations: 68.45 kB / 0.607 GB, free: 46.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/1.245, allocations: 72.97 kB / 0.607 GB, free: 46.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/1.245, allocations: 40.62 kB / 0.6071 GB, free: 46.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004469/1.249, allocations: 2.27 MB / 0.6093 GB, free: 45.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-06/1.249, allocations: 4.062 kB / 0.6093 GB, free: 45.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005566/1.255, allocations: 0.8172 MB / 0.6101 GB, free: 45.62 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.000408/1.255, allocations: 151.9 kB / 0.6102 GB, free: 45.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007021/1.262, allocations: 3.733 MB / 0.6139 GB, free: 43.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.868e-06/1.262, allocations: 0 / 0.6139 GB, free: 43.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/1.264, allocations: 1.063 MB / 0.6149 GB, free: 42.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/1.266, allocations: 352.6 kB / 0.6152 GB, free: 41.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/1.278, allocations: 6.219 MB / 0.6213 GB, free: 36.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003576/1.282, allocations: 2.828 MB / 0.6241 GB, free: 34.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/1.283, allocations: 245.9 kB / 0.6243 GB, free: 33.88 MB / 426.7 MB Notification: Performance of SimCode: time 2.136e-06/1.283, allocations: 0 / 0.6243 GB, free: 33.88 MB / 426.7 MB Notification: Performance of Templates: time 0.09039/1.373, allocations: 60.05 MB / 0.683 GB, free: 11.34 MB / 458.7 MB