Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadModel(ModelicaTest): time 2.003/2.003, allocations: 209.3 MB / 221.5 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.39e-05, allocations: 4 kB / 273.1 MB, free: 3.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1221, allocations: 48.69 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3564/0.4786, allocations: 93.96 MB / 415.7 MB, free: 1.355 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.4788, allocations: 72.47 kB / 415.8 MB, free: 1.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5044/0.9832, allocations: 114.4 MB / 0.5178 GB, free: 5.715 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.403e-06/0.9833, allocations: 0 / 0.5178 GB, free: 5.715 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003451/0.9836, allocations: 104 kB / 0.5179 GB, free: 5.613 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1954 * Number of variables: 1954 Notification: Performance of Generate backend data structure: time 0.01862/1.002, allocations: 5.459 MB / 0.5232 GB, free: 88 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/1.002, allocations: 12.03 kB / 0.5232 GB, free: 76 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3107/1.313, allocations: 6.947 MB / 0.53 GB, free: 78.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02084/1.334, allocations: 6.861 MB / 0.5367 GB, free: 77.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005523/1.335, allocations: 424.1 kB / 0.5371 GB, free: 77.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002358/1.337, allocations: 0.5416 MB / 0.5376 GB, free: 77.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03223/1.369, allocations: 13.18 MB / 0.5505 GB, free: 74.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003103/1.369, allocations: 75.88 kB / 0.5506 GB, free: 74.28 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001851/1.371, allocations: 275 kB / 0.5508 GB, free: 74.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002211/1.374, allocations: 1.248 MB / 0.5521 GB, free: 74.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02582/1.399, allocations: 10.26 MB / 0.5621 GB, free: 74.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07125/1.471, allocations: 59.66 MB / 0.6204 GB, free: 32.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01437/1.485, allocations: 4.578 MB / 0.6248 GB, free: 30.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003816/1.489, allocations: 2.217 MB / 0.627 GB, free: 29.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01424/1.503, allocations: 6.497 MB / 0.6333 GB, free: 26.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/1.503, allocations: 54.66 kB / 0.6334 GB, free: 26.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=183): time 6.766e-06/1.503, allocations: 7.875 kB / 0.6334 GB, free: 26.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=195): time 0.05016/1.554, allocations: 14.54 MB / 0.6476 GB, free: 16.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/1.554, allocations: 226.9 kB / 0.6478 GB, free: 16.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01053/1.564, allocations: 5.16 MB / 0.6528 GB, free: 11.69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003421/1.565, allocations: 53.7 kB / 0.6529 GB, free: 11.63 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003031/1.568, allocations: 4.118 MB / 0.6569 GB, free: 7.926 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009026/1.569, allocations: 0.7686 MB / 0.6577 GB, free: 7.254 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006498/1.569, allocations: 144 kB / 0.6578 GB, free: 7.113 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004469/1.57, allocations: 0.6098 MB / 0.6584 GB, free: 6.586 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00484/1.575, allocations: 2.241 MB / 0.6606 GB, free: 4.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008327/1.583, allocations: 6.681 MB / 0.6671 GB, free: 12.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008233/1.591, allocations: 3.865 MB / 0.6709 GB, free: 8.781 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001529/1.591, allocations: 52 kB / 0.6709 GB, free: 8.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=934) (initialization): time 0.02282/1.614, allocations: 8.694 MB / 0.6794 GB, free: 1.082 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001559/1.614, allocations: 79.95 kB / 0.6795 GB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002599/1.615, allocations: 160 kB / 0.6797 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002075/1.617, allocations: 0.6109 MB / 0.6803 GB, free: 328 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007534/1.624, allocations: 1.643 MB / 0.6819 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009148/1.634, allocations: 5.718 MB / 0.6874 GB, free: 9.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00771/1.641, allocations: 382.8 kB / 0.6878 GB, free: 9.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001553/1.643, allocations: 450.8 kB / 0.6882 GB, free: 8.656 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 42 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (882): * Single equations (assignments): 877 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001861/1.645, allocations: 0.6576 MB / 0.6889 GB, free: 7.996 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001245/1.646, allocations: 497.1 kB / 0.6894 GB, free: 7.508 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007658/1.654, allocations: 3.026 MB / 0.6923 GB, free: 4.98 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.319e-05/1.654, allocations: 24 kB / 0.6923 GB, free: 4.957 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/1.654, allocations: 4 kB / 0.6923 GB, free: 4.953 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-05/1.654, allocations: 7.547 kB / 0.6923 GB, free: 4.953 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2844/1.938, allocations: 8.543 MB / 0.7007 GB, free: 96.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.215e-05/1.938, allocations: 7.656 kB / 0.7007 GB, free: 96.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002277/1.941, allocations: 326.1 kB / 0.701 GB, free: 96.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/1.942, allocations: 360.5 kB / 0.7013 GB, free: 96.12 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003786/1.943, allocations: 36.38 kB / 0.7014 GB, free: 96.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006868/1.949, allocations: 5.066 MB / 0.7063 GB, free: 93.49 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.561e-06/1.95, allocations: 3.562 kB / 0.7063 GB, free: 93.49 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/1.961, allocations: 6.087 MB / 0.7123 GB, free: 92.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002713/1.964, allocations: 0.8008 MB / 0.7131 GB, free: 92.15 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001421/1.965, allocations: 31.72 kB / 0.7131 GB, free: 92.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003375/1.969, allocations: 99.47 kB / 0.7132 GB, free: 92.15 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005568/1.969, allocations: 118.5 kB / 0.7133 GB, free: 92.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002251/1.97, allocations: 53.5 kB / 0.7133 GB, free: 92.15 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009892/1.98, allocations: 3.672 MB / 0.7169 GB, free: 91.95 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.064e-06/1.98, allocations: 0 / 0.7169 GB, free: 91.95 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008865/1.988, allocations: 1.224 MB / 0.7181 GB, free: 91.95 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 149 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007115/1.989, allocations: 175.7 kB / 0.7183 GB, free: 91.86 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0105/2, allocations: 5.394 MB / 0.7236 GB, free: 91.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.009e-06/2, allocations: 3.25 kB / 0.7236 GB, free: 91.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002919/2.003, allocations: 1.658 MB / 0.7252 GB, free: 91.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003968/2.007, allocations: 0.6044 MB / 0.7258 GB, free: 91.38 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/2.029, allocations: 9.577 MB / 0.7351 GB, free: 89.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008573/2.037, allocations: 4.239 MB / 0.7393 GB, free: 88.58 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008522/2.046, allocations: 2.311 MB / 0.7415 GB, free: 88.53 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/2.047, allocations: 320 kB / 0.7418 GB, free: 88.52 MB / 458.7 MB Notification: Performance of SimCode: time 2.147e-06/2.047, allocations: 0 / 0.7418 GB, free: 88.52 MB / 458.7 MB Notification: Performance of Templates: time 0.1201/2.167, allocations: 42.46 MB / 0.7833 GB, free: 83.59 MB / 458.7 MB