Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadModel(ModelicaTest): time 2.335/2.335, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.292e-05/3.262e-05, allocations: 7.984 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1337, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.4492/0.583, allocations: 82.23 MB / 493.2 MB, free: 5.176 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.05409/0.6371, allocations: 17.33 MB / 0.4985 GB, free: 3.863 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02145/0.6586, allocations: 435 kB / 0.4989 GB, free: 3.438 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01652/0.6752, allocations: 4.343 MB / 0.5032 GB, free: 15.07 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04662/0.7219, allocations: 11.74 MB / 0.5146 GB, free: 3.309 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007324/0.7292, allocations: 0.9673 MB / 0.5156 GB, free: 2.34 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.1826/0.9119, allocations: 70.27 MB / 0.5842 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0138/0.9257, allocations: 6.588 MB / 0.5906 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00322/0.929, allocations: 1.301 MB / 0.5919 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004538/0.9336, allocations: 2.046 MB / 0.5939 GB, free: 2.023 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003676/0.9373, allocations: 1.049 MB / 0.5949 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.001558/0.9389, allocations: 188 kB / 0.5951 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.004153/0.9431, allocations: 2.529 MB / 0.5976 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002134/0.9453, allocations: 436 kB / 0.598 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01367/0.959, allocations: 8.842 MB / 0.6066 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.959, allocations: 0 / 0.6066 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.036e-06/0.9591, allocations: 4 kB / 0.6066 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003965/0.9595, allocations: 0 / 0.6066 GB, free: 4.957 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.3748/1.334, allocations: 6.207 MB / 0.6127 GB, free: 176.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/1.334, allocations: 9.828 kB / 0.6127 GB, free: 176.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.172/1.506, allocations: 16.63 MB / 0.6289 GB, free: 171.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01642/1.523, allocations: 5.014 MB / 0.6338 GB, free: 168.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004809/1.523, allocations: 374.7 kB / 0.6342 GB, free: 168.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002425/1.526, allocations: 0.4891 MB / 0.6347 GB, free: 168.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03858/1.564, allocations: 14.8 MB / 0.6491 GB, free: 155 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003071/1.565, allocations: 75.36 kB / 0.6492 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001627/1.566, allocations: 232.8 kB / 0.6494 GB, free: 154.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007474/1.574, allocations: 2.725 MB / 0.6521 GB, free: 152 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03609/1.61, allocations: 12.08 MB / 0.6639 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08552/1.696, allocations: 56.87 MB / 0.7194 GB, free: 81.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01888/1.715, allocations: 4.48 MB / 0.7238 GB, free: 77.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002149/1.715, allocations: 35.08 kB / 0.7238 GB, free: 77.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/1.715, allocations: 51.56 kB / 0.7239 GB, free: 77.15 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=186): time 5.67e-06/1.715, allocations: 0 / 0.7239 GB, free: 77.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=204): time 0.08671/1.802, allocations: 20.84 MB / 0.7442 GB, free: 56.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.532e-05/1.802, allocations: 264.6 kB / 0.7445 GB, free: 55.76 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01399/1.816, allocations: 6.367 MB / 0.7507 GB, free: 49.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005269/1.816, allocations: 53.7 kB / 0.7507 GB, free: 49.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003995/1.82, allocations: 4.425 MB / 0.7551 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001297/1.822, allocations: 0.8131 MB / 0.7559 GB, free: 44.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000798/1.823, allocations: 152 kB / 0.756 GB, free: 43.97 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004438/1.823, allocations: 0.6411 MB / 0.7566 GB, free: 43.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006203/1.829, allocations: 2.557 MB / 0.7591 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009096/1.838, allocations: 7.456 MB / 0.7664 GB, free: 30.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009161/1.848, allocations: 4.266 MB / 0.7706 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001232/1.848, allocations: 51.94 kB / 0.7706 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1005) (initialization): time 0.02556/1.873, allocations: 10.2 MB / 0.7806 GB, free: 16.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/1.873, allocations: 76 kB / 0.7807 GB, free: 16.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001999/1.874, allocations: 176 kB / 0.7808 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004021/1.878, allocations: 1.054 MB / 0.7818 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01024/1.888, allocations: 1.77 MB / 0.7836 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0153/1.903, allocations: 9.728 MB / 0.7931 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008722/1.912, allocations: 447.4 kB / 0.7935 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001348/1.914, allocations: 476 kB / 0.794 GB, free: 2.223 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 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,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 (939): * Single equations (assignments): 933 * 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.007193/1.921, allocations: 3.008 MB / 0.7969 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001627/1.922, allocations: 0.5515 MB / 0.7974 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0121/1.935, allocations: 3.762 MB / 0.8011 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.474e-05/1.935, allocations: 24 kB / 0.8011 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.632e-05/1.935, allocations: 11.95 kB / 0.8011 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.862e-05/1.935, allocations: 7.969 kB / 0.8011 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03124/1.966, allocations: 10.2 MB / 0.8111 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-05/1.966, allocations: 8 kB / 0.8111 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003176/1.969, allocations: 323.5 kB / 0.8114 GB, free: 276 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3544/2.324, allocations: 0.7295 MB / 0.8121 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004507/2.324, allocations: 36.22 kB / 0.8122 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01628/2.34, allocations: 8.851 MB / 0.8208 GB, free: 162.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/2.341, allocations: 2.312 kB / 0.8208 GB, free: 162.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01717/2.358, allocations: 6.744 MB / 0.8274 GB, free: 159.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002159/2.36, allocations: 0.6376 MB / 0.828 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001901/2.362, allocations: 34.28 kB / 0.8281 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004263/2.366, allocations: 128.2 kB / 0.8282 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007296/2.367, allocations: 124.3 kB / 0.8283 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000244/2.367, allocations: 54.73 kB / 0.8283 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01279/2.38, allocations: 4.57 MB / 0.8328 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.152e-06/2.38, allocations: 2 kB / 0.8328 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0103/2.39, allocations: 1.437 MB / 0.8342 GB, free: 157.7 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,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 (153): * Single equations (assignments): 147 * 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.001159/2.392, allocations: 184.8 kB / 0.8344 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0155/2.407, allocations: 6.473 MB / 0.8407 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/2.407, allocations: 0.625 kB / 0.8407 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004362/2.411, allocations: 2.094 MB / 0.8428 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006106/2.418, allocations: 0.7641 MB / 0.8435 GB, free: 154 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03464/2.452, allocations: 16.56 MB / 0.8597 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009296/2.462, allocations: 4.794 MB / 0.8644 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002167/2.464, allocations: 412.7 kB / 0.8648 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.463e-06/2.464, allocations: 0 / 0.8648 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.6347/3.099, allocations: 161.4 MB / 1.022 GB, free: 174.7 MB / 0.5417 GB