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_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadModel(ModelicaTest): time 2.304/2.304, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.194e-05, allocations: 7.984 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.133, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.4495/0.5825, allocations: 82.24 MB / 493.2 MB, free: 5.004 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.05548/0.6381, allocations: 17.33 MB / 0.4985 GB, free: 3.707 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0219/0.66, allocations: 438.9 kB / 0.499 GB, free: 3.277 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01631/0.6764, allocations: 4.336 MB / 0.5032 GB, free: 14.92 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04665/0.7231, allocations: 11.74 MB / 0.5147 GB, free: 3.148 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00733/0.7305, allocations: 0.9673 MB / 0.5156 GB, free: 2.18 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.1811/0.9116, allocations: 70.25 MB / 0.5842 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0141/0.9258, allocations: 6.564 MB / 0.5906 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003476/0.9293, allocations: 1.286 MB / 0.5919 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004664/0.934, allocations: 2.034 MB / 0.5939 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003767/0.9378, allocations: 1.049 MB / 0.5949 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0018/0.9397, allocations: 188 kB / 0.5951 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.004307/0.944, allocations: 2.513 MB / 0.5975 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002242/0.9463, allocations: 432 kB / 0.5979 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01432/0.9607, allocations: 8.814 MB / 0.6065 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.9608, allocations: 4 kB / 0.6065 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.086e-06/0.9608, allocations: 0 / 0.6065 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003946/0.9612, allocations: 0 / 0.6065 GB, free: 4.91 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.3536/1.315, allocations: 6.187 MB / 0.6126 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/1.315, allocations: 8.812 kB / 0.6126 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1792/1.494, allocations: 16.62 MB / 0.6288 GB, free: 171.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01649/1.511, allocations: 5.001 MB / 0.6337 GB, free: 168.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004582/1.511, allocations: 368.5 kB / 0.6341 GB, free: 168.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002331/1.513, allocations: 0.4954 MB / 0.6345 GB, free: 168.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04222/1.556, allocations: 14.75 MB / 0.6489 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004502/1.556, allocations: 83.3 kB / 0.649 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002336/1.559, allocations: 233.8 kB / 0.6492 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01015/1.569, allocations: 2.72 MB / 0.6519 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04796/1.617, allocations: 12.01 MB / 0.6636 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08738/1.704, allocations: 56.72 MB / 0.719 GB, free: 82.03 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01887/1.723, allocations: 4.511 MB / 0.7234 GB, free: 77.35 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002666/1.723, allocations: 38.22 kB / 0.7235 GB, free: 77.33 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/1.723, allocations: 62.12 kB / 0.7235 GB, free: 77.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=190): time 5.54e-06/1.724, allocations: 0 / 0.7235 GB, free: 77.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208): time 0.08198/1.806, allocations: 20.77 MB / 0.7438 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/1.806, allocations: 252.8 kB / 0.7441 GB, free: 55.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01224/1.818, allocations: 6.412 MB / 0.7503 GB, free: 49.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004989/1.818, allocations: 57.7 kB / 0.7504 GB, free: 49.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003372/1.822, allocations: 4.413 MB / 0.7547 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001147/1.823, allocations: 0.8208 MB / 0.7555 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006057/1.824, allocations: 155.9 kB / 0.7556 GB, free: 44.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004012/1.824, allocations: 0.6412 MB / 0.7563 GB, free: 43.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005568/1.83, allocations: 2.541 MB / 0.7587 GB, free: 40.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008042/1.838, allocations: 7.448 MB / 0.766 GB, free: 31.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008637/1.846, allocations: 4.262 MB / 0.7702 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.282e-05/1.847, allocations: 51.94 kB / 0.7702 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1009) (initialization): time 0.02476/1.871, allocations: 10.18 MB / 0.7802 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/1.871, allocations: 80 kB / 0.7802 GB, free: 16.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001903/1.872, allocations: 172 kB / 0.7804 GB, free: 16.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003944/1.876, allocations: 1.024 MB / 0.7814 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0108/1.886, allocations: 1.844 MB / 0.7832 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01506/1.902, allocations: 9.567 MB / 0.7925 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008392/1.91, allocations: 435.2 kB / 0.793 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001424/1.911, allocations: 480 kB / 0.7934 GB, free: 2.562 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 795 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,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.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 (946): * Single equations (assignments): 940 * 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.007043/1.919, allocations: 2.991 MB / 0.7963 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001583/1.92, allocations: 0.5596 MB / 0.7969 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/1.932, allocations: 3.738 MB / 0.8005 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.851e-05/1.933, allocations: 23.52 kB / 0.8006 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.81e-05/1.933, allocations: 8 kB / 0.8006 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.438e-05/1.933, allocations: 19.89 kB / 0.8006 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03768/1.97, allocations: 10.16 MB / 0.8105 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.168e-05/1.97, allocations: 0 / 0.8105 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00382/1.974, allocations: 399.4 kB / 0.8109 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3529/2.327, allocations: 0.7109 MB / 0.8116 GB, free: 166.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005268/2.328, allocations: 37.23 kB / 0.8116 GB, free: 166.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01631/2.344, allocations: 8.637 MB / 0.8201 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/2.344, allocations: 4.078 kB / 0.8201 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01718/2.361, allocations: 6.715 MB / 0.8266 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002182/2.364, allocations: 0.6325 MB / 0.8272 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002203/2.366, allocations: 33.38 kB / 0.8273 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004594/2.37, allocations: 117.2 kB / 0.8274 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007808/2.371, allocations: 127.4 kB / 0.8275 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002459/2.371, allocations: 56.7 kB / 0.8276 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01303/2.385, allocations: 4.603 MB / 0.832 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.112e-06/2.385, allocations: 3.562 kB / 0.8321 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01009/2.395, allocations: 1.43 MB / 0.8334 GB, free: 157.6 MB / 0.5261 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 (160): * Single equations (assignments): 154 * 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.001017/2.396, allocations: 187.8 kB / 0.8336 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01564/2.411, allocations: 6.464 MB / 0.8399 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/2.411, allocations: 0 / 0.8399 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004654/2.416, allocations: 2.072 MB / 0.842 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006253/2.422, allocations: 0.7591 MB / 0.8427 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03539/2.458, allocations: 16.51 MB / 0.8588 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01039/2.468, allocations: 4.767 MB / 0.8635 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00214/2.47, allocations: 418.2 kB / 0.8639 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.312e-06/2.47, allocations: 4 kB / 0.8639 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.6307/3.101, allocations: 161.2 MB / 1.021 GB, free: 177.5 MB / 0.5417 GB