Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadModel(ModelicaTest): time 2.295/2.295, allocations: 270 MB / 282.7 MB, free: 1.816 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.021e-05/3.031e-05, allocations: 4 kB / 347 MB, free: 3.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3173, allocations: 61.88 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.4772, allocations: 105.9 MB / 0.5027 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.4775, allocations: 75.97 kB / 0.5027 GB, free: 0.668 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8307/1.308, allocations: 151.4 MB / 0.6505 GB, free: 4.238 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.407e-06/1.308, allocations: 4 kB / 0.6505 GB, free: 4.234 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003944/1.309, allocations: 152 kB / 0.6507 GB, free: 4.086 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02249/1.331, allocations: 7.35 MB / 0.6579 GB, free: 12.65 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/1.331, allocations: 12.03 kB / 0.6579 GB, free: 12.64 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02233/1.354, allocations: 3.531 MB / 0.6613 GB, free: 9.098 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0258/1.379, allocations: 8.771 MB / 0.6699 GB, free: 252 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007121/1.38, allocations: 0.5617 MB / 0.6704 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002435/1.383, allocations: 0.7419 MB / 0.6712 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04365/1.426, allocations: 17.41 MB / 0.6882 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003229/1.427, allocations: 91.12 kB / 0.6882 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00173/1.428, allocations: 363.8 kB / 0.6886 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003334/1.432, allocations: 1.625 MB / 0.6902 GB, free: 10 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03705/1.469, allocations: 13.12 MB / 0.703 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4139/1.883, allocations: 74.58 MB / 0.7758 GB, free: 42.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02051/1.903, allocations: 5.237 MB / 0.7809 GB, free: 41.65 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003734/1.907, allocations: 2.067 MB / 0.783 GB, free: 41.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02022/1.927, allocations: 9.957 MB / 0.7927 GB, free: 38.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/1.927, allocations: 53.22 kB / 0.7927 GB, free: 38.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 7.199e-06/1.927, allocations: 0 / 0.7927 GB, free: 38.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=206): time 0.04803/1.975, allocations: 13.12 MB / 0.8055 GB, free: 34.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/1.975, allocations: 145 kB / 0.8057 GB, free: 33.92 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01019/1.986, allocations: 5.51 MB / 0.8111 GB, free: 33.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003/1.986, allocations: 54.17 kB / 0.8111 GB, free: 33.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003261/1.989, allocations: 5.084 MB / 0.8161 GB, free: 30.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007803/1.99, allocations: 0.8191 MB / 0.8169 GB, free: 30.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004642/1.991, allocations: 162.3 kB / 0.817 GB, free: 30.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004441/1.991, allocations: 0.6509 MB / 0.8177 GB, free: 29.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003996/1.995, allocations: 2.087 MB / 0.8197 GB, free: 29.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006132/2.001, allocations: 7.364 MB / 0.8269 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006701/2.008, allocations: 3.882 MB / 0.8307 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001159/2.008, allocations: 58.28 kB / 0.8308 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.01911/2.027, allocations: 8.38 MB / 0.8389 GB, free: 19.19 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001432/2.027, allocations: 90.66 kB / 0.839 GB, free: 19.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002359/2.028, allocations: 189.5 kB / 0.8392 GB, free: 19.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003102/2.028, allocations: 277.8 kB / 0.8395 GB, free: 19.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008147/2.036, allocations: 1.987 MB / 0.8414 GB, free: 18.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002997/2.036, allocations: 379.3 kB / 0.8418 GB, free: 18.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008805/2.045, allocations: 0.5692 MB / 0.8423 GB, free: 18.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001302/2.047, allocations: 0.5017 MB / 0.8428 GB, free: 18.64 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 68 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1031): * Single equations (assignments): 1028 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001241/2.048, allocations: 0.7603 MB / 0.8436 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009981/2.049, allocations: 0.5386 MB / 0.8441 GB, free: 17.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/2.05, allocations: 0.6442 MB / 0.8447 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.843e-05/2.05, allocations: 26.53 kB / 0.8447 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/2.05, allocations: 0 / 0.8447 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/2.05, allocations: 15.27 kB / 0.8448 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02693/2.077, allocations: 14.97 MB / 0.8594 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.004e-05/2.077, allocations: 48.06 kB / 0.8594 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/2.079, allocations: 430.2 kB / 0.8598 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.577e-05/2.079, allocations: 64 kB / 0.8599 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/2.079, allocations: 99.47 kB / 0.86 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.736e-05/2.079, allocations: 87 kB / 0.8601 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-05/2.08, allocations: 67.69 kB / 0.8601 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008374/2.088, allocations: 11.89 MB / 0.8717 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001934/2.09, allocations: 0.641 MB / 0.8724 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001311/2.091, allocations: 109.9 kB / 0.8725 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003351/2.095, allocations: 172.4 kB / 0.8726 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005116/2.095, allocations: 301.6 kB / 0.8729 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002554/2.095, allocations: 116 kB / 0.873 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008901/2.104, allocations: 3.861 MB / 0.8768 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.153e-06/2.104, allocations: 0 / 0.8768 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009814/2.114, allocations: 1.354 MB / 0.8781 GB, free: 4.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 227 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006478/2.115, allocations: 268.1 kB / 0.8784 GB, free: 4.242 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01049/2.125, allocations: 4.738 MB / 0.883 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.207e-05/2.125, allocations: 12.25 kB / 0.883 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002266/2.128, allocations: 1.083 MB / 0.8841 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005005/2.133, allocations: 0.8535 MB / 0.8849 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03245/2.165, allocations: 13.44 MB / 0.898 GB, free: 1.574 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01233/2.178, allocations: 5.432 MB / 0.9033 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001575/2.179, allocations: 417.2 kB / 0.9037 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of SimCode: time 1.803e-06/2.179, allocations: 0 / 0.9037 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of Templates: time 0.46/2.639, allocations: 83.49 MB / 0.9853 GB, free: 122.3 MB / 0.5573 GB