Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,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.2_cpp_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadModel(ModelicaTest): time 2.102/2.102, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.624e-05/3.646e-05, allocations: 4.938 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3207, allocations: 54.85 MB / 359.8 MB, free: 2.664 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1571/0.4779, allocations: 102 MB / 461.8 MB, free: 10.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.4782, allocations: 71.97 kB / 461.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6249/1.103, allocations: 98.87 MB / 0.5476 GB, free: 104.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.071e-06/1.103, allocations: 1.562 kB / 0.5476 GB, free: 104.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002371/1.103, allocations: 89.69 kB / 0.5477 GB, free: 104.2 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1692 * Number of variables: 1692 Notification: Performance of Generate backend data structure: time 0.01583/1.119, allocations: 5.123 MB / 0.5527 GB, free: 102.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.119, allocations: 15.34 kB / 0.5527 GB, free: 102.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02399/1.143, allocations: 4.611 MB / 0.5572 GB, free: 101.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01716/1.16, allocations: 6.055 MB / 0.5631 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003597/1.161, allocations: 342 kB / 0.5634 GB, free: 101.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001828/1.163, allocations: 464.8 kB / 0.5639 GB, free: 101.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0301/1.193, allocations: 12.54 MB / 0.5761 GB, free: 96.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002643/1.193, allocations: 67.56 kB / 0.5762 GB, free: 96.26 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001432/1.195, allocations: 236.1 kB / 0.5764 GB, free: 96.14 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002144/1.197, allocations: 1.254 MB / 0.5776 GB, free: 95.91 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02718/1.224, allocations: 10.55 MB / 0.5879 GB, free: 92.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06614/1.29, allocations: 55.74 MB / 0.6424 GB, free: 41.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01908/1.309, allocations: 5.905 MB / 0.6481 GB, free: 35.62 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004591/1.314, allocations: 3.022 MB / 0.6511 GB, free: 32.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02323/1.337, allocations: 13.06 MB / 0.6638 GB, free: 19.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/1.337, allocations: 59.81 kB / 0.6639 GB, free: 19.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=193): time 6.542e-06/1.337, allocations: 3.938 kB / 0.6639 GB, free: 19.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.1139/1.451, allocations: 30.55 MB / 0.6937 GB, free: 4.551 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/1.451, allocations: 205.9 kB / 0.6939 GB, free: 4.309 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008054/1.459, allocations: 3.815 MB / 0.6976 GB, free: 484 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005686/1.46, allocations: 68.98 kB / 0.6977 GB, free: 412 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2668/1.727, allocations: 3.321 MB / 0.701 GB, free: 110.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001398/1.728, allocations: 0.9484 MB / 0.7019 GB, free: 109.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006908/1.729, allocations: 136.3 kB / 0.702 GB, free: 109.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005054/1.73, allocations: 0.595 MB / 0.7026 GB, free: 109.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006513/1.736, allocations: 2.989 MB / 0.7055 GB, free: 109.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009315/1.745, allocations: 6.841 MB / 0.7122 GB, free: 104.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00941/1.755, allocations: 4.474 MB / 0.7166 GB, free: 104.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001777/1.755, allocations: 39.38 kB / 0.7166 GB, free: 104.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.03155/1.787, allocations: 11.86 MB / 0.7282 GB, free: 102.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/1.787, allocations: 64.19 kB / 0.7282 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001615/1.787, allocations: 140.8 kB / 0.7284 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01183/1.799, allocations: 3.208 MB / 0.7315 GB, free: 102.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007322/1.806, allocations: 1.551 MB / 0.733 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02864/1.835, allocations: 14.95 MB / 0.7476 GB, free: 95.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007586/1.843, allocations: 468 kB / 0.7481 GB, free: 95.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001381/1.844, allocations: 408.2 kB / 0.7485 GB, free: 95.62 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 33 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (806): * Single equations (assignments): 802 * 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 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001352/1.845, allocations: 0.6103 MB / 0.7491 GB, free: 95.12 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008994/1.846, allocations: 409.8 kB / 0.7494 GB, free: 94.91 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01833/1.865, allocations: 7.359 MB / 0.7566 GB, free: 92.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-05/1.865, allocations: 30.69 kB / 0.7567 GB, free: 92.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.182e-05/1.865, allocations: 13.53 kB / 0.7567 GB, free: 92.52 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.654e-05/1.865, allocations: 17.55 kB / 0.7567 GB, free: 92.52 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03448/1.899, allocations: 14.97 MB / 0.7713 GB, free: 87.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.929e-05/1.899, allocations: 3.156 kB / 0.7713 GB, free: 87.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002604/1.902, allocations: 383.2 kB / 0.7717 GB, free: 87.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01112/1.913, allocations: 2.865 MB / 0.7745 GB, free: 86.67 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005855/1.914, allocations: 44.72 kB / 0.7745 GB, free: 86.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02334/1.937, allocations: 13.25 MB / 0.7875 GB, free: 76.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.466e-06/1.937, allocations: 4 kB / 0.7875 GB, free: 76.18 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02228/1.959, allocations: 11.32 MB / 0.7985 GB, free: 66.62 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002437/1.962, allocations: 0.9173 MB / 0.7994 GB, free: 65.76 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006826/1.963, allocations: 36 kB / 0.7994 GB, free: 65.72 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002628/1.965, allocations: 215.9 kB / 0.7997 GB, free: 65.59 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006627/1.966, allocations: 147.9 kB / 0.7998 GB, free: 65.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003147/1.966, allocations: 60.7 kB / 0.7999 GB, free: 65.45 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005833/1.972, allocations: 2.662 MB / 0.8025 GB, free: 63.08 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.077e-06/1.972, allocations: 0.9375 kB / 0.8025 GB, free: 63.08 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007436/1.98, allocations: 1.309 MB / 0.8037 GB, free: 61.78 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (189): * Single equations (assignments): 185 * 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 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006162/1.98, allocations: 187 kB / 0.8039 GB, free: 61.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01431/1.995, allocations: 7.419 MB / 0.8112 GB, free: 54.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.666e-06/1.995, allocations: 0 / 0.8112 GB, free: 54.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005628/2, allocations: 3.005 MB / 0.8141 GB, free: 51.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002876/2.003, allocations: 458.8 kB / 0.8145 GB, free: 51.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02091/2.024, allocations: 10.3 MB / 0.8246 GB, free: 41.13 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005545/2.03, allocations: 3.772 MB / 0.8283 GB, free: 37.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001747/2.031, allocations: 330.8 kB / 0.8286 GB, free: 37.03 MB / 474.7 MB Notification: Performance of SimCode: time 1.69e-06/2.031, allocations: 0 / 0.8286 GB, free: 37.03 MB / 474.7 MB Notification: Performance of Templates: time 0.4054/2.437, allocations: 86.75 MB / 0.9133 GB, free: 100.8 MB / 490.7 MB