Running command: translateModel(PlanarMechanics.Examples.WheelBasedCranCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab") Notification: Performance of loadModel(PlanarMechanics): time 2.155/2.155, allocations: 234.8 MB / 247 MB, free: 2.047 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.92e-05/4.945e-05, allocations: 7.984 kB / 302.2 MB, free: 14.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1435, allocations: 52.37 MB / 354.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3814/0.525, allocations: 86.71 MB / 441.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.5253, allocations: 78.17 kB / 441.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2458/0.7711, allocations: 62.75 MB / 0.4923 GB, free: 11 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.7711, allocations: 0 / 0.4923 GB, free: 11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001216/0.7713, allocations: 48 kB / 0.4924 GB, free: 10.95 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1171 * Number of variables: 1171 Notification: Performance of Generate backend data structure: time 0.01525/0.7865, allocations: 3.371 MB / 0.4957 GB, free: 7.516 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.7866, allocations: 8.594 kB / 0.4957 GB, free: 7.508 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/0.7986, allocations: 1.927 MB / 0.4975 GB, free: 5.574 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004912/0.8036, allocations: 1.672 MB / 0.4992 GB, free: 3.855 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003214/0.8039, allocations: 221.6 kB / 0.4994 GB, free: 3.637 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001395/0.8053, allocations: 287.8 kB / 0.4997 GB, free: 3.355 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02044/0.8258, allocations: 7.85 MB / 0.5073 GB, free: 11.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001223/0.826, allocations: 31.72 kB / 0.5074 GB, free: 11.05 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006961/0.8267, allocations: 131.9 kB / 0.5075 GB, free: 10.92 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00203/0.8287, allocations: 0.9543 MB / 0.5084 GB, free: 9.961 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01983/0.8486, allocations: 7.266 MB / 0.5155 GB, free: 2.688 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2986/1.147, allocations: 26.33 MB / 0.5412 GB, free: 93.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009169/1.156, allocations: 2.559 MB / 0.5437 GB, free: 92.94 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002101/1.159, allocations: 0.8296 MB / 0.5445 GB, free: 92.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009411/1.168, allocations: 5.787 MB / 0.5502 GB, free: 89.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.449e-05/1.168, allocations: 51.7 kB / 0.5502 GB, free: 89.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=141): time 5.856e-06/1.168, allocations: 0 / 0.5502 GB, free: 89.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=156): time 0.01955/1.188, allocations: 6.175 MB / 0.5563 GB, free: 88.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/1.188, allocations: 63.75 kB / 0.5563 GB, free: 88.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004712/1.192, allocations: 2.314 MB / 0.5586 GB, free: 87.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000236/1.193, allocations: 51.09 kB / 0.5586 GB, free: 87.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001404/1.194, allocations: 2.132 MB / 0.5607 GB, free: 85.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006269/1.195, allocations: 0.5796 MB / 0.5613 GB, free: 85.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/1.195, allocations: 82.91 kB / 0.5614 GB, free: 85.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002804/1.196, allocations: 491.6 kB / 0.5618 GB, free: 84.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002664/1.198, allocations: 1.234 MB / 0.563 GB, free: 84.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004101/1.202, allocations: 3.608 MB / 0.5666 GB, free: 80.85 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00435/1.207, allocations: 2.153 MB / 0.5687 GB, free: 80.22 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.814e-05/1.207, allocations: 25.73 kB / 0.5687 GB, free: 80.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.01192/1.219, allocations: 4.712 MB / 0.5733 GB, free: 78.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.577e-05/1.219, allocations: 44.91 kB / 0.5733 GB, free: 78.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-05/1.219, allocations: 86 kB / 0.5734 GB, free: 78.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009065/1.22, allocations: 286.1 kB / 0.5737 GB, free: 78.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004411/1.224, allocations: 0.9279 MB / 0.5746 GB, free: 78.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004367/1.229, allocations: 2.922 MB / 0.5774 GB, free: 76.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004263/1.233, allocations: 203.5 kB / 0.5776 GB, free: 76.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008244/1.234, allocations: 252.5 kB / 0.5779 GB, free: 76.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 384 * Number of states: 0 () * Number of discrete variables: 12 (body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (510): * Single equations (assignments): 505 * Array equations: 4 * 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 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008869/1.235, allocations: 413 kB / 0.5783 GB, free: 76.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004791/1.235, allocations: 225.7 kB / 0.5785 GB, free: 76 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004216/1.24, allocations: 1.906 MB / 0.5803 GB, free: 75.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001458/1.24, allocations: 28.64 kB / 0.5804 GB, free: 75.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.05e-06/1.24, allocations: 0 / 0.5804 GB, free: 75.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/1.24, allocations: 7.125 kB / 0.5804 GB, free: 75.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/1.256, allocations: 5.843 MB / 0.5861 GB, free: 72.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-05/1.256, allocations: 3.906 kB / 0.5861 GB, free: 72.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002133/1.259, allocations: 216.5 kB / 0.5863 GB, free: 72.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/1.26, allocations: 164.2 kB / 0.5865 GB, free: 72.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003267/1.26, allocations: 32.62 kB / 0.5865 GB, free: 72.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005029/1.265, allocations: 2.401 MB / 0.5888 GB, free: 71.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/1.265, allocations: 11.81 kB / 0.5888 GB, free: 71.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009211/1.274, allocations: 3.412 MB / 0.5922 GB, free: 69.26 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.276, allocations: 318.4 kB / 0.5925 GB, free: 69.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001/1.277, allocations: 27.98 kB / 0.5925 GB, free: 69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002558/1.279, allocations: 62.28 kB / 0.5926 GB, free: 68.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004939/1.28, allocations: 98.91 kB / 0.5927 GB, free: 68.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/1.28, allocations: 49.73 kB / 0.5927 GB, free: 68.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005529/1.286, allocations: 1.62 MB / 0.5943 GB, free: 68.31 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.152e-06/1.286, allocations: 0 / 0.5943 GB, free: 68.31 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007682/1.294, allocations: 0.6902 MB / 0.595 GB, free: 68.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 5 (idealRolling.frame_a.x,idealRolling.phi,body.w,revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 112 * Array equations: 4 * 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 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007526/1.294, allocations: 180.9 kB / 0.5951 GB, free: 68.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0109/1.305, allocations: 2.99 MB / 0.5981 GB, free: 66.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/1.305, allocations: 0 / 0.5981 GB, free: 66.94 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003747/1.309, allocations: 0.9561 MB / 0.599 GB, free: 66.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00364/1.313, allocations: 345.9 kB / 0.5993 GB, free: 65.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/1.325, allocations: 5.438 MB / 0.6046 GB, free: 60.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004647/1.33, allocations: 2.647 MB / 0.6072 GB, free: 58.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004503/1.334, allocations: 1.262 MB / 0.6084 GB, free: 57.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007273/1.335, allocations: 170 kB / 0.6086 GB, free: 57.78 MB / 442.7 MB Notification: Performance of SimCode: time 1.942e-06/1.335, allocations: 3.844 kB / 0.6086 GB, free: 57.78 MB / 442.7 MB Notification: Performance of Templates: time 0.06382/1.399, allocations: 22.94 MB / 0.631 GB, free: 38.57 MB / 442.7 MB