Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadModel(ModelicaTest): time 2.421/2.421, allocations: 270 MB / 283.6 MB, free: 3.039 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.282e-05/3.294e-05, allocations: 11.17 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1185, allocations: 61.88 MB / 410.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4773/0.596, allocations: 116.6 MB / 0.5145 GB, free: 3.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.5962, allocations: 79.95 kB / 0.5146 GB, free: 3.422 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8106/1.407, allocations: 125.1 MB / 0.6368 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.187e-06/1.407, allocations: 0 / 0.6368 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003394/1.407, allocations: 108.5 kB / 0.6369 GB, free: 119.3 MB / 0.5105 GB 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.01848/1.426, allocations: 5.629 MB / 0.6424 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.426, allocations: 9.594 kB / 0.6424 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02609/1.452, allocations: 4.73 MB / 0.647 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0204/1.472, allocations: 6.34 MB / 0.6532 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005308/1.473, allocations: 448.5 kB / 0.6536 GB, free: 116 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002356/1.475, allocations: 0.5493 MB / 0.6542 GB, free: 116 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03508/1.51, allocations: 14.01 MB / 0.6678 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002715/1.511, allocations: 72.36 kB / 0.6679 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001726/1.512, allocations: 260.6 kB / 0.6682 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002314/1.515, allocations: 1.29 MB / 0.6694 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02995/1.545, allocations: 11.45 MB / 0.6806 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07383/1.619, allocations: 59.28 MB / 0.7385 GB, free: 59.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01687/1.636, allocations: 4.61 MB / 0.743 GB, free: 55.38 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004344/1.64, allocations: 2.716 MB / 0.7456 GB, free: 52.87 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03714/1.677, allocations: 12.59 MB / 0.7579 GB, free: 40.06 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.808e-05/1.677, allocations: 55.81 kB / 0.758 GB, free: 40 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=191): time 1.448e-05/1.677, allocations: 3.609 kB / 0.758 GB, free: 40 MB / 0.5105 GB Notification: Performance of matching and sorting (n=242): time 0.2276/1.905, allocations: 32.72 MB / 0.7899 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/1.905, allocations: 227.6 kB / 0.7902 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00857/1.914, allocations: 4.185 MB / 0.7942 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005251/1.914, allocations: 61.7 kB / 0.7943 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003374/1.918, allocations: 3.906 MB / 0.7981 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00155/1.919, allocations: 0.9142 MB / 0.799 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008408/1.92, allocations: 148 kB / 0.7992 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006754/1.921, allocations: 0.6079 MB / 0.7997 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00759/1.928, allocations: 3.15 MB / 0.8028 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01213/1.941, allocations: 7.396 MB / 0.81 GB, free: 372 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3268/2.267, allocations: 4.738 MB / 0.8147 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001828/2.268, allocations: 44.34 kB / 0.8147 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.03691/2.305, allocations: 13.25 MB / 0.8277 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001396/2.305, allocations: 69 kB / 0.8277 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002295/2.305, allocations: 151.5 kB / 0.8279 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01472/2.32, allocations: 3.799 MB / 0.8316 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007394/2.327, allocations: 1.619 MB / 0.8332 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03326/2.36, allocations: 18.01 MB / 0.8508 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007637/2.368, allocations: 482.8 kB / 0.8512 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001339/2.37, allocations: 438.8 kB / 0.8516 GB, free: 114.6 MB / 0.5261 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.001608/2.371, allocations: 0.6496 MB / 0.8523 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/2.372, allocations: 437.9 kB / 0.8527 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02267/2.395, allocations: 8.07 MB / 0.8606 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-05/2.395, allocations: 27.45 kB / 0.8606 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.387e-05/2.395, allocations: 14.25 kB / 0.8606 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.372e-05/2.395, allocations: 14.41 kB / 0.8606 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04163/2.437, allocations: 17.38 MB / 0.8776 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.659e-05/2.437, allocations: 0 / 0.8776 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002653/2.439, allocations: 390.6 kB / 0.878 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01558/2.455, allocations: 3.846 MB / 0.8817 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005416/2.456, allocations: 42.52 kB / 0.8818 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03003/2.486, allocations: 16.46 MB / 0.8978 GB, free: 97.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.496e-06/2.486, allocations: 0 / 0.8978 GB, free: 97.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0274/2.513, allocations: 12.54 MB / 0.9101 GB, free: 88.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/2.515, allocations: 476.9 kB / 0.9105 GB, free: 87.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001405/2.516, allocations: 40.73 kB / 0.9106 GB, free: 87.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003693/2.52, allocations: 211.9 kB / 0.9108 GB, free: 87.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008889/2.521, allocations: 141.9 kB / 0.9109 GB, free: 87.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003751/2.521, allocations: 61.25 kB / 0.911 GB, free: 87.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006794/2.528, allocations: 2.909 MB / 0.9138 GB, free: 84.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.361e-06/2.528, allocations: 0 / 0.9138 GB, free: 84.69 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008713/2.537, allocations: 1.456 MB / 0.9152 GB, free: 83.25 MB / 0.5261 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.0009276/2.538, allocations: 220.4 kB / 0.9154 GB, free: 83.06 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01363/2.551, allocations: 7.504 MB / 0.9228 GB, free: 76.22 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.433e-06/2.551, allocations: 0 / 0.9228 GB, free: 76.22 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005319/2.557, allocations: 2.878 MB / 0.9256 GB, free: 73.58 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/2.56, allocations: 497.4 kB / 0.9261 GB, free: 73.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02387/2.584, allocations: 10.6 MB / 0.9364 GB, free: 63.53 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008371/2.592, allocations: 4.209 MB / 0.9405 GB, free: 59.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007884/2.6, allocations: 2.174 MB / 0.9426 GB, free: 57.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/2.602, allocations: 279.4 kB / 0.9429 GB, free: 56.88 MB / 0.5261 GB Notification: Performance of SimCode: time 2.093e-06/2.602, allocations: 4.844 kB / 0.9429 GB, free: 56.88 MB / 0.5261 GB Notification: Performance of Templates: time 0.1358/2.737, allocations: 57.77 MB / 0.9993 GB, free: 15.93 MB / 0.5417 GB