Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadModel(ModelicaTest): time 2.284/2.284, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.46e-05/3.474e-05, allocations: 8 kB / 323.4 MB, free: 4.305 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3229, allocations: 58.82 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1719/0.4949, allocations: 110 MB / 492.2 MB, free: 14.45 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.4952, allocations: 75.97 kB / 492.3 MB, free: 14.38 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.604/1.099, allocations: 91.4 MB / 0.57 GB, free: 106 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.604e-06/1.099, allocations: 4 kB / 0.57 GB, free: 106 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001682/1.099, allocations: 87.91 kB / 0.5701 GB, free: 105.9 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.009998/1.109, allocations: 4.148 MB / 0.5742 GB, free: 101.7 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/1.11, allocations: 8.031 kB / 0.5742 GB, free: 101.7 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02184/1.131, allocations: 4.439 MB / 0.5785 GB, free: 97.23 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01321/1.145, allocations: 4.741 MB / 0.5831 GB, free: 92.48 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003056/1.145, allocations: 353.8 kB / 0.5835 GB, free: 92.17 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001593/1.147, allocations: 466.6 kB / 0.5839 GB, free: 91.74 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02672/1.173, allocations: 10.52 MB / 0.5942 GB, free: 80.29 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004037/1.174, allocations: 59.47 kB / 0.5943 GB, free: 80.23 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001859/1.176, allocations: 225.9 kB / 0.5945 GB, free: 80.04 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003247/1.179, allocations: 0.9937 MB / 0.5954 GB, free: 79.05 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07209/1.251, allocations: 8.272 MB / 0.6035 GB, free: 70.77 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05391/1.305, allocations: 46.99 MB / 0.6494 GB, free: 22.27 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006639/1.312, allocations: 2.908 MB / 0.6522 GB, free: 19.21 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00262/1.314, allocations: 1.584 MB / 0.6538 GB, free: 17.61 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004203/1.315, allocations: 336.1 kB / 0.6541 GB, free: 17.23 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/1.315, allocations: 55.56 kB / 0.6542 GB, free: 17.16 MB / 458.8 MB Notification: Performance of pre-optimization done (n=176): time 6.479e-06/1.315, allocations: 0 / 0.6542 GB, free: 17.16 MB / 458.8 MB Notification: Performance of matching and sorting (n=194): time 0.0287/1.344, allocations: 11.27 MB / 0.6652 GB, free: 5.77 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/1.344, allocations: 209.3 kB / 0.6654 GB, free: 5.52 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005499/1.349, allocations: 3.375 MB / 0.6687 GB, free: 2.16 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003247/1.35, allocations: 53.64 kB / 0.6687 GB, free: 2.102 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002431/1.352, allocations: 3.222 MB / 0.6719 GB, free: 14.83 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001093/1.353, allocations: 0.7366 MB / 0.6726 GB, free: 14.08 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00043/1.354, allocations: 123.9 kB / 0.6727 GB, free: 13.96 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0005502/1.354, allocations: 0.5582 MB / 0.6733 GB, free: 13.39 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004364/1.359, allocations: 1.995 MB / 0.6752 GB, free: 11.39 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008063/1.367, allocations: 5.631 MB / 0.6807 GB, free: 3.926 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007046/1.374, allocations: 3.35 MB / 0.684 GB, free: 0.5742 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.332e-05/1.374, allocations: 36 kB / 0.684 GB, free: 0.5391 MB / 474.8 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.01859/1.393, allocations: 7.269 MB / 0.6911 GB, free: 9.262 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000117/1.393, allocations: 60 kB / 0.6912 GB, free: 9.203 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001716/1.393, allocations: 136 kB / 0.6913 GB, free: 9.07 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/1.394, allocations: 390 kB / 0.6917 GB, free: 8.688 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006251/1.4, allocations: 1.431 MB / 0.6931 GB, free: 7.254 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005096/1.405, allocations: 2.995 MB / 0.696 GB, free: 4.129 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005787/1.411, allocations: 359.5 kB / 0.6963 GB, free: 3.777 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00102/1.412, allocations: 368 kB / 0.6967 GB, free: 3.418 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (747): * Single equations (assignments): 743 * 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 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001208/1.414, allocations: 0.5555 MB / 0.6972 GB, free: 2.852 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007995/1.414, allocations: 339.6 kB / 0.6975 GB, free: 2.516 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006292/1.421, allocations: 2.625 MB / 0.7001 GB, free: 15.88 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.522e-05/1.421, allocations: 20 kB / 0.7001 GB, free: 15.86 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/1.421, allocations: 4 kB / 0.7001 GB, free: 15.85 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.743e-05/1.421, allocations: 7.969 kB / 0.7001 GB, free: 15.84 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01959/1.44, allocations: 7.456 MB / 0.7074 GB, free: 8.324 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/1.44, allocations: 4 kB / 0.7074 GB, free: 8.32 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00234/1.443, allocations: 351.5 kB / 0.7078 GB, free: 7.977 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007576/1.444, allocations: 184.6 kB / 0.7079 GB, free: 7.793 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00022/1.444, allocations: 35.98 kB / 0.708 GB, free: 7.758 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004226/1.448, allocations: 2.561 MB / 0.7105 GB, free: 5.062 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.448, allocations: 288 / 0.7105 GB, free: 5.062 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2968/1.745, allocations: 5.148 MB / 0.7155 GB, free: 134.1 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002019/1.747, allocations: 0.6257 MB / 0.7161 GB, free: 134 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005577/1.748, allocations: 33.11 kB / 0.7161 GB, free: 134 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001992/1.75, allocations: 118.2 kB / 0.7163 GB, free: 134 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004332/1.75, allocations: 129.2 kB / 0.7164 GB, free: 134 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002328/1.75, allocations: 55 kB / 0.7164 GB, free: 134 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.005162/1.755, allocations: 2.342 MB / 0.7187 GB, free: 133.8 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.08e-06/1.755, allocations: 3.094 kB / 0.7187 GB, free: 133.8 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.006548/1.762, allocations: 0.9968 MB / 0.7197 GB, free: 133.8 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 160 * 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 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005392/1.763, allocations: 169.4 kB / 0.7199 GB, free: 133.7 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.008921/1.772, allocations: 4.71 MB / 0.7245 GB, free: 133.6 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.772, allocations: 0 / 0.7245 GB, free: 133.6 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002816/1.774, allocations: 1.513 MB / 0.7259 GB, free: 133.5 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/1.777, allocations: 385.7 kB / 0.7263 GB, free: 133.5 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/1.794, allocations: 7.681 MB / 0.7338 GB, free: 132 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005211/1.799, allocations: 3.545 MB / 0.7373 GB, free: 131.2 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.006477/1.806, allocations: 1.951 MB / 0.7392 GB, free: 131.1 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/1.807, allocations: 258.9 kB / 0.7394 GB, free: 131.1 MB / 0.4949 GB Notification: Performance of SimCode: time 1.725e-06/1.807, allocations: 0 / 0.7394 GB, free: 131.1 MB / 0.4949 GB Notification: Performance of Templates: time 0.08915/1.896, allocations: 32.06 MB / 0.7707 GB, free: 122.5 MB / 0.4949 GB