Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadModel(ModelicaTest): time 2.508/2.508, allocations: 270 MB / 283.6 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.26e-05, allocations: 4 kB / 348.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3769, allocations: 61.87 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2584/0.6353, allocations: 103.3 MB / 0.5015 GB, free: 3.277 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003699/0.6357, allocations: 75.95 kB / 0.5016 GB, free: 3.203 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7162/1.352, allocations: 84.91 MB / 0.5845 GB, free: 56.91 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.112e-06/1.352, allocations: 0 / 0.5845 GB, free: 56.91 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002066/1.352, allocations: 72 kB / 0.5846 GB, free: 56.84 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.01025/1.363, allocations: 3.447 MB / 0.588 GB, free: 53.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/1.363, allocations: 8.031 kB / 0.588 GB, free: 53.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01792/1.38, allocations: 3.489 MB / 0.5914 GB, free: 49.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/1.392, allocations: 4.027 MB / 0.5953 GB, free: 45.74 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003866/1.393, allocations: 291.5 kB / 0.5956 GB, free: 45.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001871/1.395, allocations: 383.8 kB / 0.5959 GB, free: 45.08 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02228/1.417, allocations: 9.651 MB / 0.6054 GB, free: 35.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001508/1.417, allocations: 19.81 kB / 0.6054 GB, free: 34.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001482/1.419, allocations: 171.9 kB / 0.6055 GB, free: 34.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001812/1.42, allocations: 1.129 MB / 0.6067 GB, free: 33.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01999/1.44, allocations: 9.083 MB / 0.6155 GB, free: 24.6 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05186/1.492, allocations: 31.71 MB / 0.6465 GB, free: 8.047 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008048/1.5, allocations: 3.296 MB / 0.6497 GB, free: 4.531 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/1.503, allocations: 1.05 MB / 0.6507 GB, free: 3.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001715/1.505, allocations: 1.307 MB / 0.652 GB, free: 1.949 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/1.505, allocations: 43.88 kB / 0.652 GB, free: 1.898 MB / 458.7 MB Notification: Performance of pre-optimization done (n=185): time 6.701e-06/1.505, allocations: 0 / 0.652 GB, free: 1.898 MB / 458.7 MB Notification: Performance of matching and sorting (n=191): time 0.02486/1.53, allocations: 8.004 MB / 0.6599 GB, free: 9.805 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/1.53, allocations: 64.72 kB / 0.6599 GB, free: 9.73 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004466/1.534, allocations: 2.309 MB / 0.6622 GB, free: 7.398 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002393/1.534, allocations: 45.7 kB / 0.6622 GB, free: 7.348 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002704/1.537, allocations: 2.666 MB / 0.6648 GB, free: 4.641 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001043/1.538, allocations: 0.7055 MB / 0.6655 GB, free: 3.926 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003675/1.539, allocations: 96 kB / 0.6656 GB, free: 3.832 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004763/1.539, allocations: 0.5088 MB / 0.6661 GB, free: 3.316 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003451/1.543, allocations: 1.489 MB / 0.6676 GB, free: 1.82 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006558/1.549, allocations: 4.277 MB / 0.6717 GB, free: 12.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005509/1.555, allocations: 2.586 MB / 0.6743 GB, free: 9.555 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.472e-05/1.555, allocations: 28 kB / 0.6743 GB, free: 9.527 MB / 490.7 MB Notification: Performance of matching and sorting (n=643) (initialization): time 0.01399/1.569, allocations: 5.455 MB / 0.6796 GB, free: 4.062 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.849e-05/1.569, allocations: 48 kB / 0.6797 GB, free: 4.016 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001381/1.569, allocations: 100 kB / 0.6798 GB, free: 3.918 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004718/1.57, allocations: 189.6 kB / 0.6799 GB, free: 3.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004716/1.574, allocations: 1.068 MB / 0.681 GB, free: 2.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/1.576, allocations: 1.675 MB / 0.6826 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003934/1.58, allocations: 207.9 kB / 0.6828 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006693/1.581, allocations: 288 kB / 0.6831 GB, free: 376 kB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * 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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (591): * Single equations (assignments): 584 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009541/1.582, allocations: 477.5 kB / 0.6835 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004566/1.583, allocations: 248.9 kB / 0.6838 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005278/1.588, allocations: 2.502 MB / 0.6862 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-05/1.588, allocations: 23.94 kB / 0.6862 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.716e-06/1.588, allocations: 0 / 0.6862 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/1.588, allocations: 7.922 kB / 0.6863 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01792/1.606, allocations: 7.924 MB / 0.694 GB, free: 4.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-05/1.606, allocations: 12 kB / 0.694 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/1.607, allocations: 255.6 kB / 0.6942 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000227/1.608, allocations: 52.84 kB / 0.6943 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001655/1.608, allocations: 47.98 kB / 0.6943 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/1.61, allocations: 1.491 MB / 0.6958 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.872e-05/1.61, allocations: 15.94 kB / 0.6958 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009392/1.619, allocations: 4.784 MB / 0.7005 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008114/1.62, allocations: 301.9 kB / 0.7008 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004125/1.62, allocations: 39.94 kB / 0.7008 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/1.622, allocations: 67.84 kB / 0.7009 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000287/1.622, allocations: 116.7 kB / 0.701 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001856/1.622, allocations: 64 kB / 0.7011 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003377/1.626, allocations: 1.563 MB / 0.7026 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.09e-07/1.626, allocations: 0 / 0.7026 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005225/1.631, allocations: 0.8124 MB / 0.7034 GB, free: 10.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005478/1.631, allocations: 186.8 kB / 0.7036 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007713/1.639, allocations: 3.602 MB / 0.7071 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/1.639, allocations: 4.625 kB / 0.7071 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002357/1.642, allocations: 1.199 MB / 0.7082 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/1.643, allocations: 308.5 kB / 0.7085 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3633/2.007, allocations: 6.985 MB / 0.7154 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006059/2.013, allocations: 3.222 MB / 0.7185 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005599/2.018, allocations: 1.718 MB / 0.7202 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008121/2.019, allocations: 183.4 kB / 0.7204 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.64e-06/2.019, allocations: 0 / 0.7204 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.06712/2.086, allocations: 21.45 MB / 0.7413 GB, free: 141.8 MB / 0.5105 GB