Running command: translateModel(PlanarMechanics.Examples.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") Notification: Performance of loadModel(PlanarMechanics): time 2.136/2.136, allocations: 234.8 MB / 247 MB, free: 2.078 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.728e-05/3.745e-05, allocations: 7.938 kB / 302.2 MB, free: 14.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09486/0.09492, allocations: 52.37 MB / 354.6 MB, free: 10.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3803/0.4752, allocations: 88.92 MB / 443.5 MB, free: 8.188 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.4755, allocations: 75.97 kB / 443.6 MB, free: 8.113 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2429/0.7185, allocations: 62.29 MB / 0.494 GB, free: 9.324 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.026e-06/0.7185, allocations: 0 / 0.494 GB, free: 9.324 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001301/0.7187, allocations: 56 kB / 0.4941 GB, free: 9.27 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: 1155 * Number of variables: 1155 Notification: Performance of Generate backend data structure: time 0.01212/0.7308, allocations: 3.067 MB / 0.4971 GB, free: 6.141 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.7309, allocations: 12.03 kB / 0.4971 GB, free: 6.129 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.7427, allocations: 1.923 MB / 0.499 GB, free: 4.199 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005005/0.7478, allocations: 1.686 MB / 0.5006 GB, free: 2.465 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003351/0.7482, allocations: 225.7 kB / 0.5008 GB, free: 2.242 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001527/0.7497, allocations: 295.8 kB / 0.5011 GB, free: 1.953 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02/0.7697, allocations: 7.433 MB / 0.5084 GB, free: 10.15 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001741/0.7699, allocations: 31.77 kB / 0.5084 GB, free: 10.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001494/0.7715, allocations: 131.9 kB / 0.5085 GB, free: 9.992 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002094/0.7736, allocations: 0.8726 MB / 0.5094 GB, free: 9.117 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01912/0.7927, allocations: 6.849 MB / 0.5161 GB, free: 2.262 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3/1.093, allocations: 24.12 MB / 0.5396 GB, free: 95.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00664/1.099, allocations: 2.305 MB / 0.5419 GB, free: 94.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/1.101, allocations: 0.7816 MB / 0.5426 GB, free: 94.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009907/1.111, allocations: 4.76 MB / 0.5473 GB, free: 92.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/1.111, allocations: 41.72 kB / 0.5473 GB, free: 92.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=128): time 5.644e-06/1.111, allocations: 0 / 0.5473 GB, free: 92.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=154): time 0.01782/1.129, allocations: 6.139 MB / 0.5533 GB, free: 90.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/1.129, allocations: 71.16 kB / 0.5534 GB, free: 90.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004687/1.134, allocations: 2.304 MB / 0.5556 GB, free: 89.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002291/1.134, allocations: 48.52 kB / 0.5557 GB, free: 89.92 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001326/1.136, allocations: 2.08 MB / 0.5577 GB, free: 88.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000579/1.136, allocations: 0.5689 MB / 0.5583 GB, free: 88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002903/1.136, allocations: 76.09 kB / 0.5583 GB, free: 87.94 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002697/1.137, allocations: 473.2 kB / 0.5588 GB, free: 87.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002647/1.139, allocations: 1.225 MB / 0.56 GB, free: 87.15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003966/1.143, allocations: 3.313 MB / 0.5632 GB, free: 83.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004031/1.147, allocations: 2.06 MB / 0.5652 GB, free: 83.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.716e-05/1.148, allocations: 21.38 kB / 0.5653 GB, free: 83.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01056/1.158, allocations: 4.424 MB / 0.5696 GB, free: 81.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.651e-05/1.158, allocations: 37.47 kB / 0.5696 GB, free: 81.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.292e-05/1.158, allocations: 72.91 kB / 0.5697 GB, free: 81.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005399/1.159, allocations: 202.5 kB / 0.5699 GB, free: 81.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004395/1.163, allocations: 0.9032 MB / 0.5708 GB, free: 81.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/1.166, allocations: 2.177 MB / 0.5729 GB, free: 79.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004085/1.17, allocations: 221.1 kB / 0.5731 GB, free: 79.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006991/1.171, allocations: 235 kB / 0.5733 GB, free: 79.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 338 * Number of states: 0 () * Number of discrete variables: 15 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],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 (478): * Single equations (assignments): 473 * 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 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000651/1.171, allocations: 383.6 kB / 0.5737 GB, free: 79.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004394/1.172, allocations: 217.5 kB / 0.5739 GB, free: 79.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004076/1.176, allocations: 1.841 MB / 0.5757 GB, free: 78.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001311/1.176, allocations: 26.41 kB / 0.5757 GB, free: 78.74 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.086e-06/1.176, allocations: 3.906 kB / 0.5757 GB, free: 78.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/1.176, allocations: 10.69 kB / 0.5757 GB, free: 78.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/1.188, allocations: 5.501 MB / 0.5811 GB, free: 76.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/1.188, allocations: 4.188 kB / 0.5811 GB, free: 76.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/1.19, allocations: 253.1 kB / 0.5813 GB, free: 76.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003688/1.19, allocations: 83.19 kB / 0.5814 GB, free: 76.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/1.19, allocations: 23.88 kB / 0.5814 GB, free: 76.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/1.192, allocations: 1.913 MB / 0.5833 GB, free: 74.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.515e-06/1.192, allocations: 0 / 0.5833 GB, free: 74.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005264/1.197, allocations: 2.975 MB / 0.5862 GB, free: 73.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000892/1.198, allocations: 310.5 kB / 0.5865 GB, free: 73.22 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004609/1.199, allocations: 30.75 kB / 0.5865 GB, free: 73.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/1.2, allocations: 82.19 kB / 0.5866 GB, free: 73.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/1.2, allocations: 78.81 kB / 0.5867 GB, free: 73.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/1.2, allocations: 43.86 kB / 0.5867 GB, free: 73.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003365/1.204, allocations: 1.631 MB / 0.5883 GB, free: 72.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.173e-06/1.204, allocations: 4 kB / 0.5883 GB, free: 72.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004352/1.208, allocations: 0.6789 MB / 0.589 GB, free: 72.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (revolute.phi,prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 118 * 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 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004296/1.208, allocations: 169.9 kB / 0.5892 GB, free: 72.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005667/1.214, allocations: 2.855 MB / 0.5919 GB, free: 71.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.2e-06/1.214, allocations: 3.906 kB / 0.592 GB, free: 71.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/1.216, allocations: 0.9026 MB / 0.5928 GB, free: 70.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/1.218, allocations: 351.9 kB / 0.5932 GB, free: 70.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/1.231, allocations: 5.148 MB / 0.5982 GB, free: 67.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004207/1.235, allocations: 2.638 MB / 0.6008 GB, free: 65.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004247/1.239, allocations: 1.204 MB / 0.6019 GB, free: 64.62 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007622/1.24, allocations: 174.7 kB / 0.6021 GB, free: 64.46 MB / 442.7 MB Notification: Performance of SimCode: time 1.839e-06/1.24, allocations: 0 / 0.6021 GB, free: 64.46 MB / 442.7 MB Notification: Performance of Templates: time 0.06191/1.302, allocations: 22.63 MB / 0.6242 GB, free: 46.29 MB / 442.7 MB