Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadModel(ModelicaTest): time 2.319/2.319, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.663e-05/3.685e-05, allocations: 4 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3229, allocations: 58.83 MB / 382.2 MB, free: 10.31 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1617/0.4846, allocations: 105.9 MB / 488.1 MB, free: 2.574 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.4849, allocations: 75.95 kB / 488.2 MB, free: 2.5 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7721/1.257, allocations: 143.6 MB / 0.617 GB, free: 57.36 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.566e-06/1.257, allocations: 0 / 0.617 GB, free: 57.36 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0004006/1.257, allocations: 140 kB / 0.6171 GB, free: 57.23 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: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.02115/1.279, allocations: 6.836 MB / 0.6238 GB, free: 50.32 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/1.279, allocations: 8.031 kB / 0.6238 GB, free: 50.31 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04717/1.326, allocations: 9.538 MB / 0.6331 GB, free: 40.75 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02363/1.35, allocations: 8.855 MB / 0.6418 GB, free: 31.81 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005785/1.35, allocations: 0.5294 MB / 0.6423 GB, free: 31.28 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002805/1.353, allocations: 0.7028 MB / 0.643 GB, free: 30.57 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03792/1.391, allocations: 16.46 MB / 0.659 GB, free: 12.62 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003777/1.391, allocations: 99.12 kB / 0.6591 GB, free: 12.53 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002096/1.393, allocations: 347.7 kB / 0.6595 GB, free: 12.19 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002402/1.396, allocations: 1.534 MB / 0.661 GB, free: 10.65 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03141/1.427, allocations: 12.84 MB / 0.6735 GB, free: 13.79 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4327/1.86, allocations: 72.67 MB / 0.7445 GB, free: 59.31 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01754/1.878, allocations: 5.832 MB / 0.7502 GB, free: 58.62 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004985/1.883, allocations: 3.069 MB / 0.7532 GB, free: 58.57 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002196/1.883, allocations: 49.25 kB / 0.7532 GB, free: 58.57 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/1.883, allocations: 57.53 kB / 0.7533 GB, free: 58.54 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=249): time 7.912e-06/1.883, allocations: 2.344 kB / 0.7533 GB, free: 58.54 MB / 0.4949 GB Notification: Performance of matching and sorting (n=267): time 0.06555/1.948, allocations: 19.51 MB / 0.7723 GB, free: 53.09 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.433e-05/1.949, allocations: 263 kB / 0.7726 GB, free: 52.81 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01372/1.962, allocations: 6.147 MB / 0.7786 GB, free: 52.29 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0005441/1.963, allocations: 72.94 kB / 0.7786 GB, free: 52.26 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004089/1.967, allocations: 5.064 MB / 0.7836 GB, free: 49.77 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.00131/1.968, allocations: 1.032 MB / 0.7846 GB, free: 49.19 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007926/1.969, allocations: 175.7 kB / 0.7848 GB, free: 49.19 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005585/1.97, allocations: 0.665 MB / 0.7854 GB, free: 48.86 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005993/1.976, allocations: 2.881 MB / 0.7882 GB, free: 48.84 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008937/1.985, allocations: 8.103 MB / 0.7961 GB, free: 41.71 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008931/1.994, allocations: 4.811 MB / 0.8008 GB, free: 40.34 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001521/1.994, allocations: 52.28 kB / 0.8009 GB, free: 40.34 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.02604/2.02, allocations: 10.89 MB / 0.8115 GB, free: 37.34 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/2.02, allocations: 83.06 kB / 0.8116 GB, free: 37.34 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002174/2.02, allocations: 189.5 kB / 0.8118 GB, free: 37.34 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002596/2.023, allocations: 0.8366 MB / 0.8126 GB, free: 37.19 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008631/2.032, allocations: 1.997 MB / 0.8145 GB, free: 36.95 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/2.043, allocations: 8.501 MB / 0.8228 GB, free: 31.07 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009299/2.052, allocations: 476.4 kB / 0.8233 GB, free: 30.91 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001822/2.054, allocations: 0.5168 MB / 0.8238 GB, free: 30.66 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 852 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1059): * Single equations (assignments): 1053 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002153/2.056, allocations: 0.7745 MB / 0.8246 GB, free: 29.89 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001324/2.057, allocations: 0.5901 MB / 0.8251 GB, free: 29.29 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/2.067, allocations: 4.465 MB / 0.8295 GB, free: 25.58 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.893e-05/2.067, allocations: 32 kB / 0.8295 GB, free: 25.55 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.452e-05/2.067, allocations: 4 kB / 0.8295 GB, free: 25.55 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.901e-05/2.067, allocations: 15.34 kB / 0.8295 GB, free: 25.54 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02824/2.096, allocations: 11.6 MB / 0.8409 GB, free: 16.12 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.602e-05/2.096, allocations: 7.75 kB / 0.8409 GB, free: 16.12 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003396/2.099, allocations: 442.3 kB / 0.8413 GB, free: 15.76 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002072/2.101, allocations: 0.5162 MB / 0.8418 GB, free: 15.37 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004942/2.102, allocations: 54.38 kB / 0.8419 GB, free: 15.32 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009549/2.111, allocations: 7.572 MB / 0.8493 GB, free: 8.023 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.536e-06/2.111, allocations: 4.031 kB / 0.8493 GB, free: 8.02 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/2.125, allocations: 7.882 MB / 0.857 GB, free: 0.9375 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003217/2.129, allocations: 1.01 MB / 0.8579 GB, free: 0 / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001773/2.13, allocations: 62.56 kB / 0.858 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003759/2.134, allocations: 153.6 kB / 0.8581 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006529/2.135, allocations: 154.6 kB / 0.8583 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002972/2.135, allocations: 71.23 kB / 0.8584 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01125/2.146, allocations: 4.375 MB / 0.8626 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.198e-06/2.146, allocations: 0 / 0.8626 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01074/2.157, allocations: 1.563 MB / 0.8642 GB, free: 10.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 213 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(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.0008403/2.158, allocations: 193.9 kB / 0.8643 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01581/2.174, allocations: 7.059 MB / 0.8712 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.538e-06/2.174, allocations: 0 / 0.8712 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007299/2.181, allocations: 2.459 MB / 0.8736 GB, free: 1.453 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008559/2.19, allocations: 0.759 MB / 0.8744 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03396/2.224, allocations: 12.4 MB / 0.8865 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01213/2.236, allocations: 5.207 MB / 0.8916 GB, free: 1.945 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01116/2.247, allocations: 2.809 MB / 0.8943 GB, free: 148 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003924/2.251, allocations: 0.4976 MB / 0.8948 GB, free: 15.99 MB / 0.5418 GB Notification: Performance of SimCode: time 1.809e-06/2.251, allocations: 0 / 0.8948 GB, free: 15.99 MB / 0.5418 GB Notification: Performance of Templates: time 0.813/3.064, allocations: 54.89 MB / 0.9484 GB, free: 148.9 MB / 0.5574 GB