Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadModel(ModelicaTest): time 2.565/2.565, allocations: 270.1 MB / 283.6 MB, free: 3.094 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.813e-05/3.829e-05, allocations: 9.766 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1118, allocations: 61.88 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4356/0.5475, allocations: 103.7 MB / 0.5019 GB, free: 392 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003573/0.5479, allocations: 80.98 kB / 0.502 GB, free: 312 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3758/0.9237, allocations: 85.97 MB / 0.586 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.455e-06/0.9237, allocations: 3.938 kB / 0.586 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001642/0.9239, allocations: 68 kB / 0.586 GB, free: 9.578 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01143/0.9354, allocations: 3.588 MB / 0.5895 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.9354, allocations: 12.03 kB / 0.5896 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01988/0.9553, allocations: 3.485 MB / 0.593 GB, free: 2.422 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01346/0.9688, allocations: 3.991 MB / 0.5969 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004176/0.9693, allocations: 291.4 kB / 0.5971 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001954/0.9712, allocations: 375.9 kB / 0.5975 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02489/0.9962, allocations: 10.01 MB / 0.6073 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001273/0.9963, allocations: 19.81 kB / 0.6073 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007942/0.9971, allocations: 171.9 kB / 0.6074 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002161/0.9993, allocations: 1.172 MB / 0.6086 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3103/1.31, allocations: 9.675 MB / 0.618 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05903/1.369, allocations: 34.7 MB / 0.6519 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/1.38, allocations: 4.917 MB / 0.6567 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003639/1.384, allocations: 2.27 MB / 0.6589 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001651/1.385, allocations: 1.883 MB / 0.6608 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/1.385, allocations: 59.2 kB / 0.6608 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=229): time 6.733e-06/1.385, allocations: 0 / 0.6608 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=235): time 0.03412/1.419, allocations: 11.17 MB / 0.6717 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/1.42, allocations: 72.47 kB / 0.6718 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003782/1.423, allocations: 2.326 MB / 0.6741 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003414/1.424, allocations: 61.73 kB / 0.6741 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001411/1.425, allocations: 2.632 MB / 0.6767 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008855/1.426, allocations: 0.8473 MB / 0.6775 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003341/1.426, allocations: 102.9 kB / 0.6776 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003165/1.427, allocations: 0.5356 MB / 0.6782 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003905/1.431, allocations: 2.131 MB / 0.6802 GB, free: 99.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005465/1.436, allocations: 4.958 MB / 0.6851 GB, free: 95.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005762/1.442, allocations: 3.292 MB / 0.6883 GB, free: 94.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-05/1.442, allocations: 29.81 kB / 0.6883 GB, free: 94.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=690) (initialization): time 0.01712/1.459, allocations: 7.452 MB / 0.6956 GB, free: 91.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-05/1.459, allocations: 46.72 kB / 0.6956 GB, free: 91.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001095/1.459, allocations: 107.8 kB / 0.6958 GB, free: 91.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003075/1.462, allocations: 0.7953 MB / 0.6965 GB, free: 91.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005393/1.468, allocations: 1.183 MB / 0.6977 GB, free: 91.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006324/1.474, allocations: 4.135 MB / 0.7017 GB, free: 88.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004684/1.479, allocations: 295.2 kB / 0.702 GB, free: 88.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009842/1.48, allocations: 298.8 kB / 0.7023 GB, free: 87.72 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 29 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (630): * Single equations (assignments): 623 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009269/1.481, allocations: 495.3 kB / 0.7028 GB, free: 87.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005103/1.481, allocations: 256.6 kB / 0.703 GB, free: 86.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009132/1.491, allocations: 4.668 MB / 0.7076 GB, free: 83.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.907e-05/1.491, allocations: 44.48 kB / 0.7076 GB, free: 83.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/1.491, allocations: 7.75 kB / 0.7076 GB, free: 83.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.163e-05/1.491, allocations: 6.984 kB / 0.7076 GB, free: 83.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/1.511, allocations: 10.5 MB / 0.7179 GB, free: 74.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/1.511, allocations: 8 kB / 0.7179 GB, free: 74.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001973/1.513, allocations: 356.3 kB / 0.7182 GB, free: 74.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002434/1.515, allocations: 0.6526 MB / 0.7189 GB, free: 73.69 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002004/1.516, allocations: 51.75 kB / 0.7189 GB, free: 73.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005196/1.521, allocations: 3.586 MB / 0.7224 GB, free: 70.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.648e-06/1.521, allocations: 7.938 kB / 0.7224 GB, free: 70.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/1.532, allocations: 7.606 MB / 0.7298 GB, free: 63.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006288/1.533, allocations: 305.6 kB / 0.7301 GB, free: 63.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004334/1.534, allocations: 45.12 kB / 0.7302 GB, free: 63.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/1.535, allocations: 134.4 kB / 0.7303 GB, free: 63.05 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003386/1.535, allocations: 139.9 kB / 0.7304 GB, free: 62.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002219/1.536, allocations: 64.66 kB / 0.7305 GB, free: 62.89 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002527/1.538, allocations: 1.583 MB / 0.7321 GB, free: 61.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.2e-07/1.538, allocations: 1.219 kB / 0.7321 GB, free: 61.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004488/1.543, allocations: 0.9341 MB / 0.733 GB, free: 60.56 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004715/1.543, allocations: 189.6 kB / 0.7331 GB, free: 60.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008372/1.552, allocations: 5.096 MB / 0.7381 GB, free: 55.76 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.408e-06/1.552, allocations: 4.375 kB / 0.7381 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003262/1.555, allocations: 1.968 MB / 0.74 GB, free: 53.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/1.557, allocations: 324.1 kB / 0.7404 GB, free: 53.69 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/1.572, allocations: 7.851 MB / 0.748 GB, free: 46.58 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004331/1.577, allocations: 3.256 MB / 0.7512 GB, free: 44.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005801/1.582, allocations: 1.949 MB / 0.7531 GB, free: 42.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009907/1.583, allocations: 199.4 kB / 0.7533 GB, free: 41.89 MB / 0.5105 GB Notification: Performance of SimCode: time 1.984e-06/1.583, allocations: 4 kB / 0.7533 GB, free: 41.89 MB / 0.5105 GB Notification: Performance of Templates: time 0.08942/1.673, allocations: 28.4 MB / 0.781 GB, free: 14.1 MB / 0.5105 GB