Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadModel(ModelicaTest): time 1.874/1.874, allocations: 209.3 MB / 221.9 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.191e-05/3.205e-05, allocations: 4 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08721/0.08727, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3874/0.4747, allocations: 89.12 MB / 410.9 MB, free: 3.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003825/0.4751, allocations: 75.33 kB / 410.9 MB, free: 3.898 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3423/0.8175, allocations: 85.57 MB / 496.5 MB, free: 7.898 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.986e-06/0.8176, allocations: 0 / 496.5 MB, free: 7.898 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001736/0.8177, allocations: 75.92 kB / 496.6 MB, free: 7.824 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1567 * Number of variables: 1567 Notification: Performance of Generate backend data structure: time 0.01106/0.8288, allocations: 3.651 MB / 0.4885 GB, free: 4.109 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.8289, allocations: 8.031 kB / 0.4885 GB, free: 4.102 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01929/0.8482, allocations: 3.512 MB / 0.492 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01345/0.8617, allocations: 4.143 MB / 0.496 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004201/0.8622, allocations: 295.7 kB / 0.4963 GB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001882/0.864, allocations: 387.8 kB / 0.4966 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02551/0.8896, allocations: 10.17 MB / 0.5066 GB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001361/0.8898, allocations: 19.81 kB / 0.5066 GB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009264/0.8907, allocations: 183.8 kB / 0.5068 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00232/0.893, allocations: 1.207 MB / 0.508 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02474/0.9178, allocations: 9.751 MB / 0.5175 GB, free: 5.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2933/1.211, allocations: 35.47 MB / 0.5521 GB, free: 80.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/1.223, allocations: 4.908 MB / 0.5569 GB, free: 79.47 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00398/1.227, allocations: 2.266 MB / 0.5591 GB, free: 79.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001742/1.229, allocations: 1.888 MB / 0.561 GB, free: 77.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/1.229, allocations: 54.12 kB / 0.561 GB, free: 77.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=229): time 7.644e-06/1.229, allocations: 0 / 0.561 GB, free: 77.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=235): time 0.03608/1.265, allocations: 11.24 MB / 0.572 GB, free: 76.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/1.265, allocations: 77.25 kB / 0.5721 GB, free: 76.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004569/1.27, allocations: 2.334 MB / 0.5743 GB, free: 76.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004137/1.27, allocations: 53.3 kB / 0.5744 GB, free: 76.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001684/1.272, allocations: 2.696 MB / 0.577 GB, free: 74.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001021/1.273, allocations: 0.8542 MB / 0.5779 GB, free: 73.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003726/1.273, allocations: 102 kB / 0.578 GB, free: 73.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003267/1.274, allocations: 0.5374 MB / 0.5785 GB, free: 73.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004104/1.278, allocations: 2.136 MB / 0.5806 GB, free: 72.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005645/1.283, allocations: 5 MB / 0.5855 GB, free: 68.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005912/1.289, allocations: 3.308 MB / 0.5887 GB, free: 67.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.321e-05/1.29, allocations: 29.62 kB / 0.5887 GB, free: 67.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01643/1.306, allocations: 7.432 MB / 0.596 GB, free: 64.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.68e-05/1.306, allocations: 52.16 kB / 0.596 GB, free: 64.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/1.306, allocations: 100.8 kB / 0.5961 GB, free: 64.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00278/1.309, allocations: 0.8069 MB / 0.5969 GB, free: 64.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005498/1.315, allocations: 1.19 MB / 0.5981 GB, free: 64.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006543/1.321, allocations: 4.137 MB / 0.6021 GB, free: 62.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004516/1.326, allocations: 288.7 kB / 0.6024 GB, free: 62.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007534/1.327, allocations: 310.2 kB / 0.6027 GB, free: 62.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * Number of states: 0 () * Number of discrete variables: 24 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (636): * Single equations (assignments): 629 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009193/1.327, allocations: 494.9 kB / 0.6031 GB, free: 62.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005358/1.328, allocations: 268.7 kB / 0.6034 GB, free: 61.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009621/1.338, allocations: 4.66 MB / 0.608 GB, free: 60.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.233e-05/1.338, allocations: 51.42 kB / 0.608 GB, free: 60.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/1.338, allocations: 3.75 kB / 0.608 GB, free: 60.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.444e-05/1.338, allocations: 10.41 kB / 0.608 GB, free: 60.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02139/1.359, allocations: 10.56 MB / 0.6183 GB, free: 52.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-05/1.359, allocations: 4.906 kB / 0.6183 GB, free: 52.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002081/1.361, allocations: 368.8 kB / 0.6187 GB, free: 51.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002415/1.364, allocations: 0.6517 MB / 0.6193 GB, free: 51.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003482/1.364, allocations: 46.97 kB / 0.6194 GB, free: 51.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00517/1.369, allocations: 3.59 MB / 0.6229 GB, free: 48.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.1e-06/1.369, allocations: 12.06 kB / 0.6229 GB, free: 48.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/1.381, allocations: 7.616 MB / 0.6303 GB, free: 41.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001643/1.383, allocations: 0.6412 MB / 0.6309 GB, free: 40.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004605/1.383, allocations: 43.7 kB / 0.631 GB, free: 40.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/1.385, allocations: 132.2 kB / 0.6311 GB, free: 40.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003499/1.385, allocations: 133.8 kB / 0.6312 GB, free: 40.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002228/1.385, allocations: 69.47 kB / 0.6313 GB, free: 40.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002581/1.388, allocations: 1.588 MB / 0.6329 GB, free: 38.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.36e-07/1.388, allocations: 0 / 0.6329 GB, free: 38.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004887/1.393, allocations: 0.9478 MB / 0.6338 GB, free: 38.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 171 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004507/1.393, allocations: 185.7 kB / 0.634 GB, free: 37.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00824/1.402, allocations: 5.106 MB / 0.639 GB, free: 33.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.075e-06/1.402, allocations: 0 / 0.639 GB, free: 33.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003054/1.405, allocations: 1.978 MB / 0.6409 GB, free: 31.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/1.407, allocations: 315.3 kB / 0.6412 GB, free: 31.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0162/1.423, allocations: 8.428 MB / 0.6494 GB, free: 23.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004551/1.427, allocations: 3.311 MB / 0.6526 GB, free: 21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001354/1.429, allocations: 245.8 kB / 0.6529 GB, free: 20.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.805e-06/1.429, allocations: 0 / 0.6529 GB, free: 20.77 MB / 426.7 MB Notification: Performance of Templates: time 0.341/1.77, allocations: 67.57 MB / 0.7189 GB, free: 96.95 MB / 442.7 MB