Running command: translateModel(PlanarMechanics.Examples.ControlledCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab") Notification: Performance of loadModel(PlanarMechanics): time 1.946/1.946, allocations: 234.8 MB / 247 MB, free: 2.055 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.662e-05/3.671e-05, allocations: 6.719 kB / 302.2 MB, free: 14.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09664/0.0967, allocations: 52.37 MB / 354.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3819/0.4786, allocations: 89.78 MB / 444.4 MB, free: 7.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.4789, allocations: 75.95 kB / 444.4 MB, free: 7.195 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2355/0.7144, allocations: 63.7 MB / 0.4962 GB, free: 7.012 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.119e-06/0.7144, allocations: 0 / 0.4962 GB, free: 7.012 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001209/0.7146, allocations: 52 kB / 0.4963 GB, free: 6.961 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: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.01092/0.7255, allocations: 3.103 MB / 0.4993 GB, free: 3.797 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.7256, allocations: 8.031 kB / 0.4993 GB, free: 3.789 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/0.7373, allocations: 1.934 MB / 0.5012 GB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004985/0.7423, allocations: 1.725 MB / 0.5029 GB, free: 76 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003305/0.7427, allocations: 225.8 kB / 0.5031 GB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/0.744, allocations: 299.8 kB / 0.5034 GB, free: 15.56 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0189/0.763, allocations: 7.486 MB / 0.5107 GB, free: 7.699 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001222/0.7631, allocations: 27.72 kB / 0.5107 GB, free: 7.672 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006539/0.7638, allocations: 139.9 kB / 0.5109 GB, free: 7.535 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001713/0.7655, allocations: 0.8687 MB / 0.5117 GB, free: 6.664 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2835/1.049, allocations: 6.877 MB / 0.5184 GB, free: 103.7 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04702/1.096, allocations: 24.42 MB / 0.5423 GB, free: 93.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006617/1.103, allocations: 2.336 MB / 0.5445 GB, free: 93.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/1.105, allocations: 0.7895 MB / 0.5453 GB, free: 93.28 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009961/1.115, allocations: 4.654 MB / 0.5499 GB, free: 90.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/1.115, allocations: 39.78 kB / 0.5499 GB, free: 90.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=131): time 5.298e-06/1.115, allocations: 0 / 0.5499 GB, free: 90.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=153): time 0.0164/1.131, allocations: 6.147 MB / 0.5559 GB, free: 88.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/1.131, allocations: 65.97 kB / 0.556 GB, free: 88.15 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00426/1.135, allocations: 2.351 MB / 0.5583 GB, free: 87.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000225/1.136, allocations: 51.67 kB / 0.5583 GB, free: 87.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001288/1.137, allocations: 2.109 MB / 0.5604 GB, free: 85.56 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005779/1.138, allocations: 0.5679 MB / 0.5609 GB, free: 85.14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000284/1.138, allocations: 80.33 kB / 0.561 GB, free: 85.08 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002617/1.138, allocations: 480.4 kB / 0.5615 GB, free: 84.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002524/1.141, allocations: 1.225 MB / 0.5627 GB, free: 84.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003349/1.144, allocations: 3.334 MB / 0.5659 GB, free: 81.03 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003617/1.148, allocations: 2.063 MB / 0.5679 GB, free: 80.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-05/1.148, allocations: 25.3 kB / 0.568 GB, free: 80.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.01027/1.158, allocations: 4.561 MB / 0.5724 GB, free: 78.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.577e-05/1.158, allocations: 37.75 kB / 0.5724 GB, free: 78.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.103e-05/1.158, allocations: 73.88 kB / 0.5725 GB, free: 78.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009645/1.159, allocations: 325.6 kB / 0.5728 GB, free: 78.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003669/1.163, allocations: 0.868 MB / 0.5737 GB, free: 78.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004767/1.168, allocations: 3.348 MB / 0.5769 GB, free: 76.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003826/1.172, allocations: 196 kB / 0.5771 GB, free: 76.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006339/1.172, allocations: 233.8 kB / 0.5774 GB, free: 76.53 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 16 (revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],PID.I.local_reset,body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (472): * Single equations (assignments): 467 * 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 {(3,88.9%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006441/1.173, allocations: 402.4 kB / 0.5777 GB, free: 76.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004335/1.173, allocations: 229.6 kB / 0.578 GB, free: 76.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003749/1.177, allocations: 1.947 MB / 0.5799 GB, free: 75.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001298/1.177, allocations: 25.08 kB / 0.5799 GB, free: 75.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.595e-06/1.177, allocations: 3.969 kB / 0.5799 GB, free: 75.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.872e-05/1.177, allocations: 7.594 kB / 0.5799 GB, free: 75.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/1.189, allocations: 5.63 MB / 0.5854 GB, free: 73.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/1.189, allocations: 0 / 0.5854 GB, free: 73.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/1.19, allocations: 204.9 kB / 0.5856 GB, free: 73.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007459/1.191, allocations: 218.1 kB / 0.5858 GB, free: 73.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/1.191, allocations: 26.31 kB / 0.5858 GB, free: 73.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003483/1.195, allocations: 2.705 MB / 0.5885 GB, free: 71.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/1.195, allocations: 7.594 kB / 0.5885 GB, free: 71.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005015/1.2, allocations: 3.162 MB / 0.5916 GB, free: 69.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/1.201, allocations: 479 kB / 0.592 GB, free: 69.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003457/1.201, allocations: 26.31 kB / 0.592 GB, free: 69.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/1.203, allocations: 69.05 kB / 0.5921 GB, free: 69.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/1.203, allocations: 85.41 kB / 0.5922 GB, free: 69.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/1.203, allocations: 44 kB / 0.5922 GB, free: 69.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002962/1.206, allocations: 1.662 MB / 0.5938 GB, free: 68.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.104e-06/1.206, allocations: 4 kB / 0.5939 GB, free: 68.76 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004053/1.21, allocations: 0.7027 MB / 0.5945 GB, free: 68.68 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (PID.I.y,PID.D.x,prismatic.s,prismatic.v,revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 107 * 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%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003805/1.21, allocations: 166.4 kB / 0.5947 GB, free: 68.56 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005536/1.216, allocations: 2.955 MB / 0.5976 GB, free: 67.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.86e-06/1.216, allocations: 4.438 kB / 0.5976 GB, free: 67.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001692/1.218, allocations: 0.9786 MB / 0.5985 GB, free: 66.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/1.22, allocations: 367 kB / 0.5989 GB, free: 66.33 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/1.231, allocations: 5.317 MB / 0.6041 GB, free: 61.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003579/1.235, allocations: 2.661 MB / 0.6067 GB, free: 59.42 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003917/1.238, allocations: 1.188 MB / 0.6078 GB, free: 58.67 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006284/1.239, allocations: 178.1 kB / 0.608 GB, free: 58.51 MB / 442.7 MB Notification: Performance of SimCode: time 1.817e-06/1.239, allocations: 0 / 0.608 GB, free: 58.51 MB / 442.7 MB Notification: Performance of Templates: time 0.06502/1.304, allocations: 24.08 MB / 0.6315 GB, free: 37.83 MB / 442.7 MB