Running command: translateModel(ModelicaTest.MultiBody.Forces.Worldtorque,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.1_ModelicaTest.MultiBody.Forces.Worldtorque") Notification: Performance of loadModel(ModelicaTest): time 2.006/2.006, allocations: 209.3 MB / 223.8 MB, free: 1.379 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.078e-05/3.075e-05, allocations: 4 kB / 276.2 MB, free: 15.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 48.7 MB / 324.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.4376/0.5428, allocations: 80.1 MB / 405 MB, free: 8.434 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05482/0.5977, allocations: 16.89 MB / 421.9 MB, free: 7.496 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.023/0.6208, allocations: 423 kB / 422.3 MB, free: 7.082 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01614/0.637, allocations: 4.27 MB / 426.5 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05716/0.6942, allocations: 11.41 MB / 438 MB, free: 7.352 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007735/0.702, allocations: 0.9868 MB / 438.9 MB, free: 6.363 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.07321/0.7753, allocations: 24.82 MB / 463.8 MB, free: 13.53 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01432/0.7897, allocations: 6.723 MB / 470.5 MB, free: 6.758 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003785/0.7935, allocations: 1.41 MB / 471.9 MB, free: 5.344 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005332/0.7989, allocations: 2.291 MB / 474.2 MB, free: 3.047 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00447/0.8034, allocations: 1.112 MB / 475.3 MB, free: 1.934 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002078/0.8056, allocations: 212 kB / 475.5 MB, free: 1.727 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004779/0.8104, allocations: 2.731 MB / 478.2 MB, free: 14.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002569/0.813, allocations: 472 kB / 478.7 MB, free: 14.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01591/0.829, allocations: 9.742 MB / 488.4 MB, free: 4.762 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.829, allocations: 7.938 kB / 488.5 MB, free: 4.754 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.829, allocations: 0 / 488.5 MB, free: 4.754 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004096/0.8295, allocations: 0 / 488.5 MB, free: 4.754 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2467 * Number of variables: 2467 Notification: Performance of Generate backend data structure: time 0.0248/0.8543, allocations: 6.804 MB / 495.3 MB, free: 13.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.8543, allocations: 12.03 kB / 495.3 MB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7074/1.562, allocations: 16.72 MB / 0.5 GB, free: 141.7 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01981/1.582, allocations: 5.702 MB / 0.5056 GB, free: 139.8 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005705/1.582, allocations: 402 kB / 0.5059 GB, free: 139.6 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002649/1.585, allocations: 0.5299 MB / 0.5065 GB, free: 139.5 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04736/1.632, allocations: 16.38 MB / 0.5225 GB, free: 131.9 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003877/1.633, allocations: 73.94 kB / 0.5225 GB, free: 131.8 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002081/1.635, allocations: 255 kB / 0.5228 GB, free: 131.7 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00684/1.642, allocations: 2.897 MB / 0.5256 GB, free: 130.6 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04205/1.684, allocations: 13.4 MB / 0.5387 GB, free: 118.1 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1036/1.788, allocations: 61.8 MB / 0.599 GB, free: 55.34 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02353/1.811, allocations: 5.932 MB / 0.6048 GB, free: 49.24 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003921/1.812, allocations: 50.97 kB / 0.6049 GB, free: 49.21 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.355e-05/1.812, allocations: 64.06 kB / 0.6049 GB, free: 49.14 MB / 426.8 MB Notification: Performance of pre-optimization done (n=249): time 6.723e-06/1.812, allocations: 4 kB / 0.6049 GB, free: 49.14 MB / 426.8 MB Notification: Performance of matching and sorting (n=267): time 0.101/1.913, allocations: 24.01 MB / 0.6284 GB, free: 24.88 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/1.913, allocations: 261.1 kB / 0.6286 GB, free: 24.57 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01561/1.928, allocations: 6.641 MB / 0.6351 GB, free: 17.95 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007672/1.929, allocations: 65.7 kB / 0.6352 GB, free: 17.88 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004588/1.934, allocations: 5.022 MB / 0.6401 GB, free: 12.86 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001646/1.936, allocations: 1.032 MB / 0.6411 GB, free: 11.83 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009347/1.936, allocations: 172 kB / 0.6413 GB, free: 11.66 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0005496/1.937, allocations: 0.6695 MB / 0.6419 GB, free: 10.98 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008022/1.945, allocations: 3.058 MB / 0.6449 GB, free: 7.918 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01204/1.957, allocations: 8.264 MB / 0.653 GB, free: 13.04 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01339/1.971, allocations: 4.911 MB / 0.6578 GB, free: 8.133 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000172/1.971, allocations: 55.94 kB / 0.6578 GB, free: 8.078 MB / 442.8 MB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.3379/2.309, allocations: 11.83 MB / 0.6694 GB, free: 131.1 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001898/2.309, allocations: 86.77 kB / 0.6695 GB, free: 131.1 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004251/2.309, allocations: 184.9 kB / 0.6696 GB, free: 131.1 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00515/2.315, allocations: 1.064 MB / 0.6707 GB, free: 131.1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0133/2.328, allocations: 2.001 MB / 0.6726 GB, free: 131.1 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01909/2.347, allocations: 9.798 MB / 0.6822 GB, free: 125.9 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01077/2.358, allocations: 498.5 kB / 0.6827 GB, free: 125.8 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001997/2.36, allocations: 0.5195 MB / 0.6832 GB, free: 125.7 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 843 * Number of states: 0 () * Number of discrete variables: 54 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1050): * Single equations (assignments): 1044 * 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.008991/2.369, allocations: 3.26 MB / 0.6864 GB, free: 124.4 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001703/2.371, allocations: 0.5984 MB / 0.6869 GB, free: 124.4 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01528/2.386, allocations: 4.882 MB / 0.6917 GB, free: 122.6 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-05/2.386, allocations: 29.06 kB / 0.6917 GB, free: 122.6 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.471e-05/2.386, allocations: 9.875 kB / 0.6917 GB, free: 122.6 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.917e-05/2.386, allocations: 14.36 kB / 0.6918 GB, free: 122.6 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03546/2.422, allocations: 12.3 MB / 0.7038 GB, free: 118.1 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-05/2.422, allocations: 0 / 0.7038 GB, free: 118.1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004558/2.426, allocations: 463.7 kB / 0.7042 GB, free: 118.1 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003654/2.43, allocations: 0.7411 MB / 0.7049 GB, free: 117.9 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006206/2.431, allocations: 49.97 kB / 0.705 GB, free: 117.8 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01493/2.446, allocations: 8.842 MB / 0.7136 GB, free: 111.9 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/2.446, allocations: 0 / 0.7136 GB, free: 111.9 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02182/2.468, allocations: 8.531 MB / 0.722 GB, free: 106.7 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003873/2.472, allocations: 1.061 MB / 0.723 GB, free: 105.8 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002162/2.474, allocations: 41.98 kB / 0.723 GB, free: 105.7 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005528/2.479, allocations: 167.5 kB / 0.7232 GB, free: 105.6 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001002/2.48, allocations: 157.7 kB / 0.7233 GB, free: 105.4 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003012/2.481, allocations: 76.95 kB / 0.7234 GB, free: 105.3 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01183/2.493, allocations: 4.761 MB / 0.7281 GB, free: 100.6 MB / 442.8 MB Notification: Performance of sort global known variables: time 7.22e-07/2.493, allocations: 4 kB / 0.7281 GB, free: 100.6 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01109/2.504, allocations: 1.601 MB / 0.7296 GB, free: 98.98 MB / 442.8 MB 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.00111/2.505, allocations: 204.2 kB / 0.7298 GB, free: 98.79 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01834/2.523, allocations: 7.704 MB / 0.7373 GB, free: 91.15 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/2.523, allocations: 4 kB / 0.7373 GB, free: 91.14 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005904/2.529, allocations: 2.647 MB / 0.7399 GB, free: 88.46 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006492/2.536, allocations: 0.776 MB / 0.7407 GB, free: 87.7 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03976/2.576, allocations: 17.8 MB / 0.7581 GB, free: 69.97 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01061/2.586, allocations: 5.207 MB / 0.7632 GB, free: 64.72 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.01298/2.599, allocations: 2.813 MB / 0.7659 GB, free: 61.9 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002617/2.602, allocations: 403.4 kB / 0.7663 GB, free: 61.51 MB / 442.8 MB Notification: Performance of SimCode: time 1.473e-06/2.602, allocations: 0 / 0.7663 GB, free: 61.51 MB / 442.8 MB Notification: Performance of Templates: time 0.1643/2.766, allocations: 58.21 MB / 0.8231 GB, free: 3.434 MB / 442.8 MB