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.1_cpp_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadModel(ModelicaTest): time 2.007/2.007, allocations: 209.3 MB / 224.4 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.65e-05/3.653e-05, allocations: 4 kB / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3478, allocations: 48.7 MB / 324.8 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.1222/0.47, allocations: 79.53 MB / 404.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.05074/0.5208, allocations: 16.8 MB / 421.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01992/0.5408, allocations: 419.1 kB / 421.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01537/0.5562, allocations: 4.266 MB / 425.9 MB, free: 10.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04346/0.5997, allocations: 11.36 MB / 437.2 MB, free: 14.9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007065/0.6069, allocations: 0.979 MB / 438.2 MB, free: 13.92 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.07293/0.6798, allocations: 24.74 MB / 462.9 MB, free: 5.16 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01397/0.6939, allocations: 6.66 MB / 469.6 MB, free: 14.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003631/0.6976, allocations: 1.379 MB / 471 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005007/0.7026, allocations: 2.217 MB / 473.2 MB, free: 10.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00389/0.7066, allocations: 1.089 MB / 474.3 MB, free: 9.762 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001844/0.7085, allocations: 208 kB / 474.5 MB, free: 9.559 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004686/0.7132, allocations: 2.669 MB / 477.2 MB, free: 6.883 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002409/0.7156, allocations: 456 kB / 477.6 MB, free: 6.438 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.6641/1.38, allocations: 9.409 MB / 487 MB, free: 31.94 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.38, allocations: 0 / 487 MB, free: 31.94 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.16e-06/1.38, allocations: 0.75 kB / 487 MB, free: 31.94 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0005132/1.38, allocations: 0 / 487 MB, free: 31.94 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2364 * Number of variables: 2364 Notification: Performance of Generate backend data structure: time 0.0257/1.406, allocations: 6.599 MB / 493.6 MB, free: 29.3 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/1.406, allocations: 12.34 kB / 493.6 MB, free: 29.3 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1695/1.576, allocations: 16.69 MB / 0.4984 GB, free: 26.48 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01884/1.595, allocations: 5.632 MB / 0.5039 GB, free: 24.83 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000573/1.595, allocations: 388.5 kB / 0.5042 GB, free: 24.82 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003408/1.599, allocations: 0.5107 MB / 0.5047 GB, free: 24.81 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04658/1.645, allocations: 15.76 MB / 0.5201 GB, free: 19.52 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003998/1.646, allocations: 77.42 kB / 0.5202 GB, free: 19.5 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0029/1.649, allocations: 248.5 kB / 0.5204 GB, free: 19.5 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006946/1.656, allocations: 2.752 MB / 0.5231 GB, free: 17.54 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04071/1.696, allocations: 12.91 MB / 0.5357 GB, free: 8.531 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1152/1.812, allocations: 59.84 MB / 0.5942 GB, free: 6.344 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02512/1.837, allocations: 5.904 MB / 0.5999 GB, free: 1.766 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004145/1.837, allocations: 42.41 kB / 0.6 GB, free: 1.746 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.026e-05/1.837, allocations: 62.81 kB / 0.6 GB, free: 1.695 MB / 458.8 MB Notification: Performance of pre-optimization done (n=242): time 6.913e-06/1.837, allocations: 4 kB / 0.6 GB, free: 1.691 MB / 458.8 MB Notification: Performance of matching and sorting (n=260): time 0.146/1.983, allocations: 23.45 MB / 0.6229 GB, free: 13.83 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002607/1.984, allocations: 267.4 kB / 0.6232 GB, free: 13.52 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01779/2.002, allocations: 6.587 MB / 0.6296 GB, free: 8.641 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008051/2.002, allocations: 62.77 kB / 0.6297 GB, free: 8.602 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005726/2.008, allocations: 4.582 MB / 0.6342 GB, free: 5.098 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002179/2.01, allocations: 1.003 MB / 0.6351 GB, free: 4.262 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/2.012, allocations: 169.8 kB / 0.6353 GB, free: 4.227 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0009905/2.013, allocations: 0.6645 MB / 0.6359 GB, free: 3.688 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009626/2.023, allocations: 2.952 MB / 0.6388 GB, free: 1.219 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0146/2.037, allocations: 8.045 MB / 0.6467 GB, free: 6.711 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01317/2.05, allocations: 4.769 MB / 0.6513 GB, free: 2.113 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002091/2.051, allocations: 52 kB / 0.6514 GB, free: 2.062 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1090) (initialization): time 0.3687/2.419, allocations: 11.23 MB / 0.6624 GB, free: 203.7 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002311/2.42, allocations: 82.81 kB / 0.6624 GB, free: 203.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005099/2.42, allocations: 183.7 kB / 0.6626 GB, free: 203.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006369/2.427, allocations: 1.04 MB / 0.6636 GB, free: 203.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0167/2.443, allocations: 2.025 MB / 0.6656 GB, free: 203.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0167/2.46, allocations: 9.582 MB / 0.675 GB, free: 197.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01002/2.47, allocations: 477.8 kB / 0.6754 GB, free: 196.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001812/2.472, allocations: 0.4977 MB / 0.6759 GB, free: 196.9 MB / 0.4949 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.008365/2.48, allocations: 3.151 MB / 0.679 GB, free: 195.5 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001654/2.482, allocations: 0.5871 MB / 0.6796 GB, free: 195.5 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01422/2.496, allocations: 4.687 MB / 0.6841 GB, free: 193.7 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.414e-05/2.496, allocations: 31.12 kB / 0.6842 GB, free: 193.7 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-05/2.497, allocations: 10.3 kB / 0.6842 GB, free: 193.7 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-05/2.497, allocations: 18.73 kB / 0.6842 GB, free: 193.7 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03436/2.531, allocations: 11.85 MB / 0.6958 GB, free: 187.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-05/2.531, allocations: 0 / 0.6958 GB, free: 187.8 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005098/2.536, allocations: 0.5068 MB / 0.6963 GB, free: 187.4 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003554/2.54, allocations: 0.7171 MB / 0.697 GB, free: 186.9 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006424/2.54, allocations: 46.58 kB / 0.697 GB, free: 186.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01396/2.554, allocations: 8.658 MB / 0.7055 GB, free: 178 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/2.555, allocations: 4.031 kB / 0.7055 GB, free: 178 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02113/2.576, allocations: 8.208 MB / 0.7135 GB, free: 170 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004019/2.58, allocations: 1.04 MB / 0.7145 GB, free: 168.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002405/2.582, allocations: 44 kB / 0.7145 GB, free: 168.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00535/2.588, allocations: 156.9 kB / 0.7147 GB, free: 168.7 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009039/2.589, allocations: 155.8 kB / 0.7148 GB, free: 168.6 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003071/2.589, allocations: 64 kB / 0.7149 GB, free: 168.5 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01099/2.6, allocations: 4.731 MB / 0.7195 GB, free: 163.8 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.142e-06/2.6, allocations: 3.969 kB / 0.7195 GB, free: 163.8 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01028/2.61, allocations: 1.559 MB / 0.721 GB, free: 162.2 MB / 0.4949 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.001144/2.611, allocations: 193.2 kB / 0.7212 GB, free: 162 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01757/2.629, allocations: 7.446 MB / 0.7285 GB, free: 154.6 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/2.629, allocations: 0 / 0.7285 GB, free: 154.6 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005914/2.635, allocations: 2.526 MB / 0.731 GB, free: 152.1 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006471/2.641, allocations: 0.7621 MB / 0.7317 GB, free: 151.3 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03975/2.681, allocations: 17.95 MB / 0.7492 GB, free: 133.4 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01005/2.691, allocations: 5.024 MB / 0.7541 GB, free: 128.4 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003005/2.694, allocations: 459.4 kB / 0.7546 GB, free: 127.9 MB / 0.4949 GB Notification: Performance of SimCode: time 1.563e-06/2.694, allocations: 0 / 0.7546 GB, free: 127.9 MB / 0.4949 GB Notification: Performance of Templates: time 0.5994/3.294, allocations: 172.4 MB / 0.9229 GB, free: 159.1 MB / 0.4949 GB