Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,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.2_cpp_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadModel(ModelicaTest): time 2.387/2.387, allocations: 234.9 MB / 250.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.36e-05/3.386e-05, allocations: 0 / 308 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3902, allocations: 54.87 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.1299/0.5201, allocations: 79.55 MB / 442.4 MB, free: 14.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05367/0.5738, allocations: 16.83 MB / 459.2 MB, free: 13.23 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01971/0.5936, allocations: 415.1 kB / 459.6 MB, free: 12.82 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01571/0.6094, allocations: 4.266 MB / 463.9 MB, free: 8.535 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04605/0.6555, allocations: 11.36 MB / 475.3 MB, free: 13.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007187/0.6627, allocations: 0.9674 MB / 476.2 MB, free: 12.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.07512/0.7379, allocations: 24.74 MB / 0.4892 GB, free: 3.41 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3852/1.123, allocations: 6.662 MB / 0.4957 GB, free: 25.55 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004167/1.127, allocations: 1.367 MB / 0.4971 GB, free: 25.55 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005075/1.133, allocations: 2.217 MB / 0.4992 GB, free: 25.54 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004207/1.137, allocations: 1.105 MB / 0.5003 GB, free: 25.54 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002366/1.139, allocations: 204.8 kB / 0.5005 GB, free: 25.54 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004446/1.144, allocations: 2.662 MB / 0.5031 GB, free: 25.54 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002671/1.146, allocations: 458.7 kB / 0.5036 GB, free: 25.54 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01405/1.161, allocations: 9.411 MB / 0.5128 GB, free: 24.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.161, allocations: 0 / 0.5128 GB, free: 24.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.946e-06/1.161, allocations: 0 / 0.5128 GB, free: 24.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005156/1.161, allocations: 2.938 kB / 0.5128 GB, free: 24.91 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: 2367 * Number of variables: 2367 Notification: Performance of Generate backend data structure: time 0.02382/1.185, allocations: 6.606 MB / 0.5192 GB, free: 21.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/1.185, allocations: 15.34 kB / 0.5192 GB, free: 21.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1922/1.377, allocations: 16.69 MB / 0.5355 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0173/1.395, allocations: 5.622 MB / 0.541 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004477/1.395, allocations: 394.6 kB / 0.5414 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002798/1.398, allocations: 0.5219 MB / 0.5419 GB, free: 9.844 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04558/1.444, allocations: 15.77 MB / 0.5573 GB, free: 13.47 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005556/1.444, allocations: 74.61 kB / 0.5574 GB, free: 13.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00314/1.447, allocations: 247.7 kB / 0.5576 GB, free: 13.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007724/1.455, allocations: 2.754 MB / 0.5603 GB, free: 11.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04455/1.5, allocations: 12.92 MB / 0.5729 GB, free: 2.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1171/1.617, allocations: 59.86 MB / 0.6314 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02506/1.642, allocations: 5.903 MB / 0.6371 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003917/1.643, allocations: 52.72 kB / 0.6372 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.003e-05/1.643, allocations: 61.8 kB / 0.6372 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=242): time 7.003e-06/1.643, allocations: 0 / 0.6372 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=260): time 0.1106/1.753, allocations: 23.44 MB / 0.6601 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/1.753, allocations: 264.8 kB / 0.6604 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01936/1.773, allocations: 6.58 MB / 0.6668 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008001/1.774, allocations: 61.7 kB / 0.6669 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005887/1.78, allocations: 4.586 MB / 0.6714 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0021/1.782, allocations: 1.004 MB / 0.6723 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001159/1.783, allocations: 172 kB / 0.6725 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007891/1.784, allocations: 0.6622 MB / 0.6731 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009312/1.793, allocations: 2.956 MB / 0.676 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01451/1.808, allocations: 8.051 MB / 0.6839 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01298/1.821, allocations: 4.774 MB / 0.6886 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001848/1.821, allocations: 52 kB / 0.6886 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1090) (initialization): time 0.377/2.198, allocations: 11.22 MB / 0.6996 GB, free: 215.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002198/2.198, allocations: 82.25 kB / 0.6996 GB, free: 215.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004597/2.199, allocations: 181.5 kB / 0.6998 GB, free: 215.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00488/2.204, allocations: 1.035 MB / 0.7008 GB, free: 215.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01342/2.217, allocations: 2.027 MB / 0.7028 GB, free: 215.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/2.234, allocations: 9.571 MB / 0.7121 GB, free: 211.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01044/2.245, allocations: 478.2 kB / 0.7126 GB, free: 211.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001953/2.247, allocations: 0.5049 MB / 0.7131 GB, free: 211.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * Number of states: 0 () * Number of discrete variables: 54 (worldForce2.color[3],worldForce2.color[2],worldForce2.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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],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 (1027): * Single equations (assignments): 1021 * 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%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008742/2.256, allocations: 3.138 MB / 0.7162 GB, free: 209.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00162/2.257, allocations: 0.5874 MB / 0.7167 GB, free: 209.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/2.271, allocations: 4.7 MB / 0.7213 GB, free: 208.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.143e-05/2.272, allocations: 29.53 kB / 0.7214 GB, free: 208.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.713e-05/2.272, allocations: 7.375 kB / 0.7214 GB, free: 208.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.248e-05/2.272, allocations: 19.09 kB / 0.7214 GB, free: 208.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03441/2.306, allocations: 11.85 MB / 0.7329 GB, free: 203.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.353e-05/2.306, allocations: 3.562 kB / 0.733 GB, free: 203.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005065/2.311, allocations: 0.5098 MB / 0.7334 GB, free: 203.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003482/2.315, allocations: 0.7178 MB / 0.7342 GB, free: 203.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006171/2.315, allocations: 43.25 kB / 0.7342 GB, free: 203.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01405/2.33, allocations: 8.664 MB / 0.7427 GB, free: 197.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/2.33, allocations: 3.656 kB / 0.7427 GB, free: 197.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02451/2.354, allocations: 8.206 MB / 0.7507 GB, free: 191 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005648/2.36, allocations: 1.037 MB / 0.7517 GB, free: 190.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003216/2.363, allocations: 40.7 kB / 0.7517 GB, free: 190.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008189/2.371, allocations: 156.8 kB / 0.7519 GB, free: 190.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001274/2.373, allocations: 155.3 kB / 0.752 GB, free: 190 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005507/2.373, allocations: 65.34 kB / 0.7521 GB, free: 189.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01797/2.391, allocations: 4.727 MB / 0.7567 GB, free: 186 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.026e-06/2.391, allocations: 0 / 0.7567 GB, free: 186 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01633/2.408, allocations: 1.562 MB / 0.7582 GB, free: 184.4 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,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 (215): * Single equations (assignments): 209 * 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%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/2.409, allocations: 203.8 kB / 0.7584 GB, free: 184.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01803/2.427, allocations: 7.438 MB / 0.7657 GB, free: 177.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/2.427, allocations: 0 / 0.7657 GB, free: 177.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006271/2.433, allocations: 2.528 MB / 0.7681 GB, free: 175.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006669/2.44, allocations: 0.7623 MB / 0.7689 GB, free: 174.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04167/2.482, allocations: 17.93 MB / 0.7864 GB, free: 156.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01093/2.493, allocations: 5.028 MB / 0.7913 GB, free: 151.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002873/2.496, allocations: 459.4 kB / 0.7918 GB, free: 151.2 MB / 0.5417 GB Notification: Performance of SimCode: time 1.893e-06/2.496, allocations: 0 / 0.7918 GB, free: 151.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.6983/3.194, allocations: 172.5 MB / 0.9602 GB, free: 197.9 MB / 0.5417 GB