Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadModel(ModelicaTest): time 2.427/2.427, allocations: 270 MB / 283.6 MB, free: 1.914 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.546e-05/3.555e-05, allocations: 4 kB / 348.4 MB, free: 2.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3947, allocations: 61.87 MB / 410.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2463/0.6411, allocations: 116.6 MB / 0.5146 GB, free: 5.973 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.6413, allocations: 79.95 kB / 0.5146 GB, free: 5.895 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7141/1.355, allocations: 125.1 MB / 0.6368 GB, free: 4.668 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.554e-06/1.356, allocations: 0 / 0.6368 GB, free: 4.668 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002723/1.356, allocations: 108 kB / 0.6369 GB, free: 4.562 MB / 442.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.018/1.374, allocations: 5.642 MB / 0.6424 GB, free: 14.85 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.374, allocations: 8.031 kB / 0.6424 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02691/1.401, allocations: 4.727 MB / 0.647 GB, free: 10.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03175/1.433, allocations: 6.345 MB / 0.6532 GB, free: 3.691 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001076/1.434, allocations: 444.7 kB / 0.6536 GB, free: 3.25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003712/1.437, allocations: 0.5466 MB / 0.6542 GB, free: 2.703 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06155/1.499, allocations: 14 MB / 0.6678 GB, free: 3.578 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004478/1.5, allocations: 71.34 kB / 0.6679 GB, free: 3.508 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002656/1.502, allocations: 263.9 kB / 0.6681 GB, free: 3.25 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005231/1.508, allocations: 1.309 MB / 0.6694 GB, free: 1.938 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06803/1.576, allocations: 11.44 MB / 0.6806 GB, free: 6.488 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4878/2.064, allocations: 59.28 MB / 0.7385 GB, free: 74.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01597/2.08, allocations: 4.619 MB / 0.743 GB, free: 74.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004581/2.084, allocations: 2.704 MB / 0.7456 GB, free: 74.05 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02278/2.107, allocations: 12.58 MB / 0.7579 GB, free: 70.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/2.107, allocations: 64.81 kB / 0.758 GB, free: 70.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=191): time 6.402e-06/2.107, allocations: 0 / 0.758 GB, free: 70.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=242): time 0.1274/2.234, allocations: 32.74 MB / 0.79 GB, free: 65.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/2.235, allocations: 228.3 kB / 0.7902 GB, free: 65.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008162/2.243, allocations: 4.178 MB / 0.7943 GB, free: 63.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005277/2.243, allocations: 61.41 kB / 0.7943 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003029/2.246, allocations: 3.911 MB / 0.7981 GB, free: 61.17 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001156/2.248, allocations: 0.9142 MB / 0.799 GB, free: 60.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007301/2.248, allocations: 145 kB / 0.7992 GB, free: 60.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004448/2.249, allocations: 0.607 MB / 0.7998 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006472/2.255, allocations: 3.155 MB / 0.8028 GB, free: 58.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008508/2.264, allocations: 7.388 MB / 0.8101 GB, free: 51.92 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008625/2.272, allocations: 4.746 MB / 0.8147 GB, free: 50.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001133/2.273, allocations: 48.28 kB / 0.8147 GB, free: 50.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.03357/2.306, allocations: 13.25 MB / 0.8277 GB, free: 42.28 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/2.306, allocations: 68 kB / 0.8277 GB, free: 42.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001671/2.307, allocations: 156 kB / 0.8279 GB, free: 42.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01392/2.32, allocations: 3.801 MB / 0.8316 GB, free: 39.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006859/2.327, allocations: 1.621 MB / 0.8332 GB, free: 38.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03055/2.358, allocations: 18.01 MB / 0.8508 GB, free: 22.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007818/2.366, allocations: 489 kB / 0.8512 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001489/2.367, allocations: 435.5 kB / 0.8517 GB, free: 21.88 MB / 0.5105 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.001703/2.369, allocations: 0.6532 MB / 0.8523 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/2.37, allocations: 426.5 kB / 0.8527 GB, free: 20.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02107/2.391, allocations: 8.076 MB / 0.8606 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-05/2.391, allocations: 27.56 kB / 0.8606 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.309e-05/2.391, allocations: 12 kB / 0.8606 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.406e-05/2.391, allocations: 10.83 kB / 0.8606 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06174/2.453, allocations: 17.38 MB / 0.8776 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.628e-05/2.453, allocations: 7.812 kB / 0.8776 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002709/2.456, allocations: 390.2 kB / 0.878 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01607/2.472, allocations: 3.85 MB / 0.8817 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005658/2.473, allocations: 40 kB / 0.8818 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03551/2.508, allocations: 16.45 MB / 0.8978 GB, free: 9.863 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.615e-06/2.508, allocations: 7.969 kB / 0.8979 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03298/2.541, allocations: 12.55 MB / 0.9101 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/2.543, allocations: 467.3 kB / 0.9106 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001222/2.544, allocations: 36 kB / 0.9106 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003802/2.548, allocations: 215.5 kB / 0.9108 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009678/2.549, allocations: 142.3 kB / 0.9109 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000341/2.549, allocations: 67.98 kB / 0.911 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.007809/2.557, allocations: 2.898 MB / 0.9138 GB, free: 9.43 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.038e-06/2.557, allocations: 0 / 0.9138 GB, free: 9.43 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009608/2.567, allocations: 1.462 MB / 0.9153 GB, free: 7.98 MB / 0.5573 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.001001/2.568, allocations: 212.5 kB / 0.9155 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01723/2.585, allocations: 7.501 MB / 0.9228 GB, free: 312 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.543e-06/2.585, allocations: 0 / 0.9228 GB, free: 312 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.3171/2.902, allocations: 2.872 MB / 0.9256 GB, free: 155.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003599/2.906, allocations: 0.4892 MB / 0.9261 GB, free: 155.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02503/2.931, allocations: 10.6 MB / 0.9364 GB, free: 153.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00884/2.94, allocations: 4.212 MB / 0.9405 GB, free: 152.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008166/2.948, allocations: 2.179 MB / 0.9427 GB, free: 152.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/2.949, allocations: 284.3 kB / 0.9429 GB, free: 152.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.634e-06/2.949, allocations: 0 / 0.9429 GB, free: 152.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.1419/3.091, allocations: 57.77 MB / 0.9993 GB, free: 139.3 MB / 0.5573 GB