Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadModel(ModelicaTest): time 2.146/2.146, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.814e-05/3.831e-05, allocations: 4 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3248, allocations: 54.85 MB / 359.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1689/0.4938, allocations: 108.3 MB / 468.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.4941, allocations: 80.53 kB / 468.2 MB, free: 4.535 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7359/1.23, allocations: 123.2 MB / 0.5775 GB, free: 106.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.115e-06/1.23, allocations: 0 / 0.5775 GB, free: 106.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003245/1.23, allocations: 106.4 kB / 0.5776 GB, free: 106.4 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: 1929 * Number of variables: 1929 Notification: Performance of Generate backend data structure: time 0.01788/1.248, allocations: 5.632 MB / 0.5831 GB, free: 103.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/1.248, allocations: 11.34 kB / 0.5832 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02643/1.275, allocations: 4.727 MB / 0.5878 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01871/1.294, allocations: 6.615 MB / 0.5942 GB, free: 96.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004951/1.294, allocations: 447.5 kB / 0.5947 GB, free: 95.99 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002288/1.296, allocations: 0.5506 MB / 0.5952 GB, free: 95.47 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03387/1.33, allocations: 13.99 MB / 0.6089 GB, free: 80.45 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002921/1.331, allocations: 75.33 kB / 0.6089 GB, free: 80.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00211/1.333, allocations: 260.2 kB / 0.6092 GB, free: 80.16 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002207/1.335, allocations: 1.293 MB / 0.6104 GB, free: 78.86 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02843/1.363, allocations: 11.45 MB / 0.6216 GB, free: 67.41 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07335/1.437, allocations: 59.23 MB / 0.6795 GB, free: 6.645 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01564/1.453, allocations: 4.617 MB / 0.684 GB, free: 1.867 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004596/1.457, allocations: 2.721 MB / 0.6866 GB, free: 15.13 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02677/1.484, allocations: 12.6 MB / 0.6989 GB, free: 2.039 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.301e-05/1.484, allocations: 55.83 kB / 0.699 GB, free: 1.977 MB / 474.7 MB Notification: Performance of pre-optimization done (n=191): time 9.144e-06/1.484, allocations: 0 / 0.699 GB, free: 1.977 MB / 474.7 MB Notification: Performance of matching and sorting (n=242): time 0.4151/1.899, allocations: 32.82 MB / 0.731 GB, free: 110.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.94e-05/1.899, allocations: 229.7 kB / 0.7313 GB, free: 110.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008379/1.908, allocations: 4.182 MB / 0.7353 GB, free: 109.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005464/1.908, allocations: 62.3 kB / 0.7354 GB, free: 109.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002576/1.911, allocations: 3.781 MB / 0.7391 GB, free: 107.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001158/1.912, allocations: 0.9115 MB / 0.74 GB, free: 106.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007414/1.913, allocations: 145.2 kB / 0.7401 GB, free: 106.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004342/1.913, allocations: 0.6183 MB / 0.7407 GB, free: 105.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006281/1.92, allocations: 3.149 MB / 0.7438 GB, free: 104.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008799/1.928, allocations: 7.372 MB / 0.751 GB, free: 97.86 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00883/1.937, allocations: 4.734 MB / 0.7556 GB, free: 96.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000127/1.937, allocations: 42.34 kB / 0.7557 GB, free: 96.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.03516/1.973, allocations: 13.08 MB / 0.7684 GB, free: 92.24 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/1.973, allocations: 71.44 kB / 0.7685 GB, free: 92.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001557/1.973, allocations: 151.8 kB / 0.7686 GB, free: 92.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01578/1.989, allocations: 3.797 MB / 0.7724 GB, free: 91.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0075/1.996, allocations: 1.609 MB / 0.7739 GB, free: 89.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03097/2.027, allocations: 18.02 MB / 0.7915 GB, free: 74.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007759/2.035, allocations: 489.5 kB / 0.792 GB, free: 73.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001423/2.037, allocations: 435.3 kB / 0.7924 GB, free: 73.46 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 34 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (856): * Single equations (assignments): 852 * 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 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001667/2.038, allocations: 0.6426 MB / 0.793 GB, free: 72.82 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/2.039, allocations: 430.4 kB / 0.7934 GB, free: 72.39 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02042/2.06, allocations: 8.075 MB / 0.8013 GB, free: 66.23 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.292e-05/2.06, allocations: 28.77 kB / 0.8014 GB, free: 66.21 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.251e-05/2.06, allocations: 15.95 kB / 0.8014 GB, free: 66.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.433e-05/2.06, allocations: 10.69 kB / 0.8014 GB, free: 66.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04381/2.104, allocations: 17.39 MB / 0.8184 GB, free: 49.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-05/2.104, allocations: 4.625 kB / 0.8184 GB, free: 49.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/2.106, allocations: 389.9 kB / 0.8187 GB, free: 49.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01407/2.12, allocations: 3.85 MB / 0.8225 GB, free: 45.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005151/2.121, allocations: 36.94 kB / 0.8225 GB, free: 45.47 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0277/2.149, allocations: 16.46 MB / 0.8386 GB, free: 28.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.445e-06/2.149, allocations: 2.859 kB / 0.8386 GB, free: 28.88 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02973/2.179, allocations: 12.55 MB / 0.8509 GB, free: 16.27 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005836/2.184, allocations: 0.9366 MB / 0.8518 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002333/2.187, allocations: 36 kB / 0.8518 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007546/2.194, allocations: 215.7 kB / 0.852 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001412/2.196, allocations: 150.2 kB / 0.8522 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007224/2.197, allocations: 56 kB / 0.8522 GB, free: 14.86 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01244/2.209, allocations: 2.909 MB / 0.8551 GB, free: 11.95 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.685e-06/2.209, allocations: 0 / 0.8551 GB, free: 11.95 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01943/2.229, allocations: 1.447 MB / 0.8565 GB, free: 10.52 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (167): * Single equations (assignments): 163 * 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 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001701/2.23, allocations: 222.1 kB / 0.8567 GB, free: 10.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02872/2.259, allocations: 7.487 MB / 0.864 GB, free: 2.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/2.259, allocations: 0 / 0.864 GB, free: 2.84 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00502/2.264, allocations: 2.885 MB / 0.8668 GB, free: 15.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003292/2.267, allocations: 492.8 kB / 0.8673 GB, free: 15.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02935/2.297, allocations: 11.23 MB / 0.8782 GB, free: 4.207 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3009/2.598, allocations: 4.209 MB / 0.8824 GB, free: 119.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003786/2.602, allocations: 337.6 kB / 0.8827 GB, free: 119.3 MB / 490.7 MB Notification: Performance of SimCode: time 2.361e-06/2.602, allocations: 0 / 0.8827 GB, free: 119.3 MB / 490.7 MB Notification: Performance of Templates: time 0.1582/2.76, allocations: 95.23 MB / 0.9757 GB, free: 73.13 MB / 490.7 MB