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.131/2.131, allocations: 209.3 MB / 224.4 MB, free: 0.5039 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.1e-05/3.115e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3576, allocations: 48.7 MB / 324.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.07061/0.4282, allocations: 33.3 MB / 358.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02397/0.4523, allocations: 7.748 MB / 365.9 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008641/0.461, allocations: 167.6 kB / 366.1 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006878/0.4679, allocations: 1.777 MB / 367.8 MB, free: 4.504 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01918/0.4871, allocations: 4.901 MB / 372.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003128/0.4903, allocations: 467.2 kB / 373.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00505/0.4954, allocations: 1.541 MB / 374.7 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00606/0.5015, allocations: 2.755 MB / 377.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.5035, allocations: 0.7831 MB / 378.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002946/0.5065, allocations: 1.274 MB / 379.5 MB, free: 8.742 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002708/0.5093, allocations: 0.7802 MB / 380.3 MB, free: 7.961 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001032/0.5104, allocations: 128 kB / 380.5 MB, free: 7.836 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002497/0.5129, allocations: 1.504 MB / 382 MB, free: 6.324 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.5141, allocations: 256 kB / 382.2 MB, free: 6.074 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009065/0.5232, allocations: 5.648 MB / 387.9 MB, free: 424 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.5233, allocations: 4 kB / 387.9 MB, free: 420 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.5233, allocations: 3.938 kB / 387.9 MB, free: 416 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002441/0.5235, allocations: 0 / 387.9 MB, free: 416 kB / 314.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.01581/0.5394, allocations: 4.262 MB / 392.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/0.5394, allocations: 12.03 kB / 392.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03387/0.5733, allocations: 3.788 MB / 395.9 MB, free: 8.266 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009733/0.5831, allocations: 2.41 MB / 398.3 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004682/0.5836, allocations: 233.9 kB / 398.6 MB, free: 5.578 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002276/0.5859, allocations: 311.8 kB / 398.9 MB, free: 5.273 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04566/0.6316, allocations: 12.22 MB / 411.1 MB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002501/0.632, allocations: 31.72 kB / 411.1 MB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002155/0.6341, allocations: 151.8 kB / 411.3 MB, free: 8.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0117/0.6459, allocations: 2.718 MB / 414 MB, free: 5.613 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05592/0.7019, allocations: 11.45 MB / 425.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1387/0.8407, allocations: 41.14 MB / 466.6 MB, free: 8 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03409/0.8748, allocations: 6.165 MB / 472.7 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004396/0.8793, allocations: 1.884 MB / 474.6 MB, free: 7.402 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/0.8795, allocations: 57.23 kB / 474.7 MB, free: 7.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=262): time 1.055e-05/0.8795, allocations: 3.938 kB / 474.7 MB, free: 7.336 MB / 410.7 MB Notification: Performance of matching and sorting (n=283): time 0.3955/1.275, allocations: 21.06 MB / 495.7 MB, free: 122.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/1.275, allocations: 80.34 kB / 495.8 MB, free: 122.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006662/1.282, allocations: 2.802 MB / 498.6 MB, free: 121.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007612/1.283, allocations: 65.92 kB / 498.7 MB, free: 121.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002389/1.285, allocations: 2.977 MB / 0.4899 GB, free: 119.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001747/1.287, allocations: 1.02 MB / 0.4909 GB, free: 118.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006672/1.288, allocations: 119.7 kB / 0.491 GB, free: 118.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005014/1.288, allocations: 0.567 MB / 0.4916 GB, free: 118.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007461/1.296, allocations: 2.823 MB / 0.4943 GB, free: 117.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009005/1.305, allocations: 5.993 MB / 0.5002 GB, free: 112 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009238/1.314, allocations: 4.095 MB / 0.5042 GB, free: 110.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/1.314, allocations: 30.81 kB / 0.5042 GB, free: 110.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.0283/1.342, allocations: 9.916 MB / 0.5139 GB, free: 103.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.151e-05/1.342, allocations: 52 kB / 0.5139 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001578/1.343, allocations: 112.9 kB / 0.5141 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006356/1.349, allocations: 1.367 MB / 0.5154 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009035/1.358, allocations: 1.372 MB / 0.5167 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01554/1.374, allocations: 7.691 MB / 0.5242 GB, free: 92.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006858/1.381, allocations: 371.7 kB / 0.5246 GB, free: 92.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001407/1.382, allocations: 341.2 kB / 0.5249 GB, free: 92.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 504 * 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 (721): * Single equations (assignments): 714 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006012/1.388, allocations: 2.268 MB / 0.5271 GB, free: 89.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/1.389, allocations: 304 kB / 0.5274 GB, free: 89.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01934/1.409, allocations: 6.609 MB / 0.5339 GB, free: 82.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001121/1.409, allocations: 49.23 kB / 0.5339 GB, free: 82.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/1.409, allocations: 9.219 kB / 0.5339 GB, free: 82.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.197e-05/1.409, allocations: 11.95 kB / 0.5339 GB, free: 82.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03948/1.448, allocations: 14 MB / 0.5476 GB, free: 68.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-05/1.448, allocations: 6.438 kB / 0.5476 GB, free: 68.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004266/1.453, allocations: 459.3 kB / 0.5481 GB, free: 68.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006076/1.459, allocations: 1.21 MB / 0.5492 GB, free: 67.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007638/1.46, allocations: 52.69 kB / 0.5493 GB, free: 66.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0137/1.473, allocations: 6.718 MB / 0.5559 GB, free: 60.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/1.473, allocations: 11.94 kB / 0.5559 GB, free: 60.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02498/1.498, allocations: 10.44 MB / 0.5661 GB, free: 49.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00298/1.501, allocations: 0.8289 MB / 0.5669 GB, free: 48.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001363/1.503, allocations: 47.95 kB / 0.5669 GB, free: 48.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003725/1.507, allocations: 197 kB / 0.5671 GB, free: 48.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001015/1.508, allocations: 166.6 kB / 0.5673 GB, free: 48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004499/1.508, allocations: 84.77 kB / 0.5673 GB, free: 47.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004579/1.513, allocations: 1.933 MB / 0.5692 GB, free: 45.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.062e-06/1.513, allocations: 0 / 0.5692 GB, free: 45.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007855/1.521, allocations: 1.151 MB / 0.5704 GB, free: 44.84 MB / 410.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 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001415/1.522, allocations: 200 kB / 0.5705 GB, free: 44.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01591/1.538, allocations: 6.855 MB / 0.5772 GB, free: 37.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/1.538, allocations: 128 / 0.5772 GB, free: 37.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007275/1.545, allocations: 2.851 MB / 0.58 GB, free: 34.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003348/1.549, allocations: 354.6 kB / 0.5804 GB, free: 34.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03045/1.579, allocations: 13.87 MB / 0.5939 GB, free: 20.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007293/1.587, allocations: 3.688 MB / 0.5975 GB, free: 16.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002406/1.589, allocations: 287.4 kB / 0.5978 GB, free: 16.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/1.589, allocations: 0 / 0.5978 GB, free: 16.6 MB / 410.7 MB Notification: Performance of Templates: time 0.4457/2.035, allocations: 80.74 MB / 0.6766 GB, free: 97.91 MB / 426.7 MB