Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadModel(ModelicaTest): time 2.317/2.317, allocations: 249.5 MB / 261.6 MB, free: 2.109 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.914e-05/2.921e-05, allocations: 4 kB / 323.4 MB, free: 4.262 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3242, allocations: 58.82 MB / 382.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1759/0.5002, allocations: 114.6 MB / 496.8 MB, free: 9.773 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.5005, allocations: 79.95 kB / 496.9 MB, free: 9.695 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6971/1.198, allocations: 123.6 MB / 0.6059 GB, free: 69.58 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.418e-06/1.198, allocations: 4 kB / 0.6059 GB, free: 69.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002676/1.198, allocations: 108 kB / 0.606 GB, free: 69.47 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01665/1.215, allocations: 5.65 MB / 0.6116 GB, free: 63.75 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/1.215, allocations: 8.031 kB / 0.6116 GB, free: 63.74 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02393/1.239, allocations: 4.727 MB / 0.6162 GB, free: 59 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01854/1.257, allocations: 6.634 MB / 0.6227 GB, free: 52.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004759/1.258, allocations: 448.6 kB / 0.6231 GB, free: 51.86 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002015/1.26, allocations: 0.5388 MB / 0.6236 GB, free: 51.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03139/1.291, allocations: 14.01 MB / 0.6373 GB, free: 36.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002419/1.291, allocations: 75.28 kB / 0.6374 GB, free: 36.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001532/1.293, allocations: 263.8 kB / 0.6376 GB, free: 35.85 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001966/1.295, allocations: 1.298 MB / 0.6389 GB, free: 34.55 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02743/1.322, allocations: 11.46 MB / 0.6501 GB, free: 23.08 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0863/1.409, allocations: 59.32 MB / 0.708 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01731/1.426, allocations: 4.624 MB / 0.7125 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005326/1.431, allocations: 2.717 MB / 0.7152 GB, free: 2.387 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3424/1.774, allocations: 12.6 MB / 0.7275 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/1.774, allocations: 56.03 kB / 0.7275 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=191): time 6.386e-06/1.774, allocations: 3.656 kB / 0.7275 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=242): time 0.1354/1.909, allocations: 32.84 MB / 0.7596 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/1.91, allocations: 235 kB / 0.7598 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008081/1.918, allocations: 4.202 MB / 0.7639 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005215/1.918, allocations: 62.88 kB / 0.764 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002764/1.921, allocations: 3.914 MB / 0.7678 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001094/1.922, allocations: 0.9091 MB / 0.7687 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006551/1.923, allocations: 147.5 kB / 0.7688 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004124/1.923, allocations: 0.6031 MB / 0.7694 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006249/1.929, allocations: 3.156 MB / 0.7725 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009563/1.939, allocations: 7.397 MB / 0.7797 GB, free: 102 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01722/1.956, allocations: 4.746 MB / 0.7844 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002331/1.957, allocations: 46.41 kB / 0.7844 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.06199/2.019, allocations: 13.25 MB / 0.7974 GB, free: 92.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000118/2.019, allocations: 68 kB / 0.7974 GB, free: 92.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001644/2.019, allocations: 155.9 kB / 0.7976 GB, free: 92.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0138/2.033, allocations: 3.8 MB / 0.8013 GB, free: 90.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006572/2.039, allocations: 1.609 MB / 0.8029 GB, free: 88.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0297/2.069, allocations: 18.02 MB / 0.8205 GB, free: 73.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007547/2.077, allocations: 491.8 kB / 0.8209 GB, free: 73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001303/2.078, allocations: 435.7 kB / 0.8213 GB, free: 72.58 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 689 * Number of states: 0 () * Number of discrete variables: 37 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (859): * Single equations (assignments): 855 * 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.001314/2.079, allocations: 0.6491 MB / 0.822 GB, free: 71.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009457/2.08, allocations: 438.3 kB / 0.8224 GB, free: 71.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02006/2.1, allocations: 8.08 MB / 0.8303 GB, free: 65.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.272e-05/2.101, allocations: 24 kB / 0.8303 GB, free: 65.31 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-05/2.101, allocations: 12 kB / 0.8303 GB, free: 65.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.382e-05/2.101, allocations: 15.39 kB / 0.8303 GB, free: 65.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03865/2.139, allocations: 17.39 MB / 0.8473 GB, free: 49.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-05/2.139, allocations: 0 / 0.8473 GB, free: 49.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002366/2.142, allocations: 391 kB / 0.8477 GB, free: 48.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01389/2.156, allocations: 3.847 MB / 0.8514 GB, free: 44.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005187/2.156, allocations: 47.34 kB / 0.8515 GB, free: 44.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02733/2.184, allocations: 16.44 MB / 0.8675 GB, free: 28.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/2.184, allocations: 11.94 kB / 0.8675 GB, free: 28.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02684/2.211, allocations: 12.55 MB / 0.8798 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002746/2.213, allocations: 0.9366 MB / 0.8807 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001185/2.215, allocations: 47.89 kB / 0.8808 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003526/2.218, allocations: 215.6 kB / 0.881 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007422/2.219, allocations: 142.2 kB / 0.8811 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003238/2.219, allocations: 71.12 kB / 0.8812 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006284/2.226, allocations: 2.926 MB / 0.884 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.157e-06/2.226, allocations: 4 kB / 0.884 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008505/2.234, allocations: 1.452 MB / 0.8854 GB, free: 9.82 MB / 0.4948 GB 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.0008304/2.235, allocations: 212.5 kB / 0.8857 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01365/2.249, allocations: 7.506 MB / 0.893 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.753e-06/2.249, allocations: 0 / 0.893 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005509/2.254, allocations: 2.88 MB / 0.8958 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003548/2.258, allocations: 495.5 kB / 0.8963 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3211/2.579, allocations: 10.61 MB / 0.9066 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009304/2.588, allocations: 4.214 MB / 0.9107 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008486/2.597, allocations: 2.182 MB / 0.9129 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/2.598, allocations: 282.1 kB / 0.9131 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.781e-06/2.598, allocations: 0 / 0.9131 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.1444/2.743, allocations: 57.83 MB / 0.9696 GB, free: 117 MB / 0.5105 GB