Running command: translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadModel(ModelicaTest): time 2.081/2.081, allocations: 209.3 MB / 221.9 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.992e-05/3.012e-05, allocations: 4 kB / 273.1 MB, free: 3.672 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08845/0.0885, allocations: 48.69 MB / 321.7 MB, free: 2.887 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3641/0.4526, allocations: 90.11 MB / 411.9 MB, free: 3.785 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.4529, allocations: 70.91 kB / 411.9 MB, free: 3.777 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3724/0.8253, allocations: 94.28 MB / 0.4943 GB, free: 14.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.326e-06/0.8254, allocations: 4 kB / 0.4943 GB, free: 14.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002167/0.8256, allocations: 83.94 kB / 0.4944 GB, free: 14.13 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1761 * Number of variables: 1761 Notification: Performance of Generate backend data structure: time 0.015/0.8406, allocations: 4.235 MB / 0.4986 GB, free: 9.828 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.8407, allocations: 8.031 kB / 0.4986 GB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02101/0.8617, allocations: 3.609 MB / 0.5021 GB, free: 6.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01518/0.8769, allocations: 4.467 MB / 0.5065 GB, free: 1.684 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005483/0.8775, allocations: 332.8 kB / 0.5068 GB, free: 1.355 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002492/0.88, allocations: 443.9 kB / 0.5072 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03366/0.9137, allocations: 11.59 MB / 0.5185 GB, free: 4.797 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002534/0.914, allocations: 27.8 kB / 0.5185 GB, free: 4.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002282/0.9163, allocations: 199.9 kB / 0.5187 GB, free: 4.574 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002857/0.9192, allocations: 1.337 MB / 0.52 GB, free: 3.234 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2714/1.191, allocations: 11.08 MB / 0.5309 GB, free: 90.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0687/1.259, allocations: 41.34 MB / 0.5712 GB, free: 73.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01464/1.274, allocations: 5.9 MB / 0.577 GB, free: 71.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004758/1.279, allocations: 2.977 MB / 0.5799 GB, free: 70.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001797/1.281, allocations: 1.887 MB / 0.5817 GB, free: 68.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/1.281, allocations: 56.41 kB / 0.5818 GB, free: 68.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 7.464e-06/1.281, allocations: 0 / 0.5818 GB, free: 68.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.05474/1.336, allocations: 16.62 MB / 0.598 GB, free: 63.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/1.336, allocations: 79.53 kB / 0.5981 GB, free: 63.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004856/1.341, allocations: 2.657 MB / 0.6007 GB, free: 62.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005305/1.341, allocations: 61.2 kB / 0.6008 GB, free: 62.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001684/1.343, allocations: 2.978 MB / 0.6037 GB, free: 60.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001189/1.344, allocations: 1.017 MB / 0.6047 GB, free: 59.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004993/1.344, allocations: 115.3 kB / 0.6048 GB, free: 59.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003693/1.345, allocations: 0.5687 MB / 0.6053 GB, free: 58.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005448/1.35, allocations: 2.759 MB / 0.608 GB, free: 57.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007172/1.358, allocations: 5.882 MB / 0.6138 GB, free: 52.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006994/1.365, allocations: 4.069 MB / 0.6177 GB, free: 49.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.131e-05/1.365, allocations: 32 kB / 0.6178 GB, free: 49.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.02096/1.386, allocations: 9.487 MB / 0.627 GB, free: 41.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.536e-05/1.386, allocations: 52 kB / 0.6271 GB, free: 41.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001163/1.386, allocations: 108 kB / 0.6272 GB, free: 41.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004525/1.39, allocations: 1.398 MB / 0.6285 GB, free: 40.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006239/1.397, allocations: 1.38 MB / 0.6299 GB, free: 39.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/1.408, allocations: 7.189 MB / 0.6369 GB, free: 32.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005985/1.414, allocations: 404.4 kB / 0.6373 GB, free: 32.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001324/1.416, allocations: 343.8 kB / 0.6376 GB, free: 32.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 27 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (717): * Single equations (assignments): 710 * Array equations: 6 * 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 {(3,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001647/1.417, allocations: 0.5364 MB / 0.6382 GB, free: 31.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006844/1.418, allocations: 300.1 kB / 0.6384 GB, free: 31.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03095/1.449, allocations: 6.574 MB / 0.6449 GB, free: 25.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001827/1.449, allocations: 52.5 kB / 0.6449 GB, free: 25.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.182e-05/1.449, allocations: 4 kB / 0.6449 GB, free: 25.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.829e-05/1.449, allocations: 10.78 kB / 0.6449 GB, free: 25.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05876/1.508, allocations: 13.98 MB / 0.6586 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.248e-05/1.508, allocations: 8 kB / 0.6586 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002845/1.511, allocations: 464.2 kB / 0.659 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004199/1.515, allocations: 1.215 MB / 0.6602 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006021/1.516, allocations: 49.08 kB / 0.6603 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/1.526, allocations: 6.526 MB / 0.6666 GB, free: 5.762 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.9e-06/1.526, allocations: 8 kB / 0.6666 GB, free: 5.754 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02069/1.547, allocations: 10.38 MB / 0.6768 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002731/1.55, allocations: 0.8212 MB / 0.6776 GB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/1.551, allocations: 44.94 kB / 0.6776 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002792/1.554, allocations: 212.4 kB / 0.6778 GB, free: 9.883 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000818/1.555, allocations: 161.6 kB / 0.678 GB, free: 9.727 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003716/1.555, allocations: 73.41 kB / 0.678 GB, free: 9.656 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004664/1.56, allocations: 1.82 MB / 0.6798 GB, free: 7.832 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.092e-06/1.56, allocations: 0 / 0.6798 GB, free: 7.832 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007209/1.567, allocations: 1.132 MB / 0.6809 GB, free: 6.707 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 211 * Array equations: 6 * 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 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000923/1.568, allocations: 196 kB / 0.6811 GB, free: 6.512 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2513/1.819, allocations: 6.634 MB / 0.6876 GB, free: 103.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.819, allocations: 1.375 kB / 0.6876 GB, free: 103.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005565/1.825, allocations: 2.704 MB / 0.6902 GB, free: 103.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/1.827, allocations: 361 kB / 0.6906 GB, free: 103.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02423/1.852, allocations: 10.15 MB / 0.7005 GB, free: 102 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007773/1.859, allocations: 3.687 MB / 0.7041 GB, free: 101.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001896/1.861, allocations: 288.4 kB / 0.7044 GB, free: 101.1 MB / 442.7 MB Notification: Performance of SimCode: time 2.296e-06/1.861, allocations: 0 / 0.7044 GB, free: 101.1 MB / 442.7 MB Notification: Performance of Templates: time 0.1136/1.975, allocations: 79.37 MB / 0.7819 GB, free: 65.89 MB / 442.7 MB