Running command: "" <> buildModelFMU(PlanarMechanics.Examples.CraneCrab,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_CraneCrab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PlanarMechanics): time 2.068/2.068, allocations: 234.8 MB / 247 MB, free: 2.012 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.231e-05/4.232e-05, allocations: 8.203 kB / 302.3 MB, free: 14.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1183, allocations: 52.36 MB / 354.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.46/0.5783, allocations: 88.01 MB / 442.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.5787, allocations: 71.97 kB / 442.8 MB, free: 8.746 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.26/0.8387, allocations: 61.47 MB / 0.4924 GB, free: 10.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.8387, allocations: 0 / 0.4924 GB, free: 10.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001454/0.8389, allocations: 52 kB / 0.4925 GB, free: 10.75 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: 1144 * Number of variables: 1144 Notification: Performance of Generate backend data structure: time 0.01689/0.8558, allocations: 3.024 MB / 0.4954 GB, free: 7.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.301e-05/0.8559, allocations: 12.03 kB / 0.4954 GB, free: 7.648 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002614/0.8585, allocations: 0.5773 MB / 0.496 GB, free: 7.059 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01711/0.8757, allocations: 1.927 MB / 0.4979 GB, free: 5.125 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007796/0.8835, allocations: 1.665 MB / 0.4995 GB, free: 3.414 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004706/0.8841, allocations: 217.7 kB / 0.4997 GB, free: 3.199 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003532/0.8876, allocations: 291.8 kB / 0.5 GB, free: 2.914 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06224/0.9499, allocations: 7.391 MB / 0.5072 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002393/0.9502, allocations: 23.88 kB / 0.5072 GB, free: 11.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001632/0.9518, allocations: 135.8 kB / 0.5074 GB, free: 11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003125/0.955, allocations: 0.8686 MB / 0.5082 GB, free: 10.13 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02266/0.9777, allocations: 6.833 MB / 0.5149 GB, free: 3.293 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3579/1.336, allocations: 23.88 MB / 0.5382 GB, free: 94.81 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00892/1.345, allocations: 2.32 MB / 0.5405 GB, free: 94.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002256/1.347, allocations: 0.7816 MB / 0.5412 GB, free: 94.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/1.358, allocations: 4.604 MB / 0.5457 GB, free: 92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/1.359, allocations: 43.38 kB / 0.5458 GB, free: 91.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=129): time 7.725e-06/1.359, allocations: 0 / 0.5458 GB, free: 91.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=153): time 0.0213/1.38, allocations: 6.146 MB / 0.5518 GB, free: 90.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/1.38, allocations: 71.34 kB / 0.5518 GB, free: 90.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005001/1.385, allocations: 2.283 MB / 0.5541 GB, free: 90.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003124/1.385, allocations: 49.61 kB / 0.5541 GB, free: 90.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001687/1.387, allocations: 2.047 MB / 0.5561 GB, free: 89.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007767/1.388, allocations: 0.5629 MB / 0.5567 GB, free: 88.74 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003102/1.388, allocations: 76.3 kB / 0.5567 GB, free: 88.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002514/1.388, allocations: 473.7 kB / 0.5572 GB, free: 88.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002813/1.391, allocations: 1.219 MB / 0.5584 GB, free: 87.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003897/1.395, allocations: 3.277 MB / 0.5616 GB, free: 84.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004401/1.4, allocations: 2.048 MB / 0.5636 GB, free: 84.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.154e-05/1.4, allocations: 17.62 kB / 0.5636 GB, free: 84.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.0124/1.412, allocations: 4.485 MB / 0.568 GB, free: 82.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.335e-05/1.412, allocations: 37.84 kB / 0.568 GB, free: 82.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.646e-05/1.412, allocations: 72.72 kB / 0.5681 GB, free: 82.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/1.414, allocations: 336.7 kB / 0.5684 GB, free: 82.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005496/1.419, allocations: 0.8483 MB / 0.5692 GB, free: 82.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005828/1.425, allocations: 3.333 MB / 0.5725 GB, free: 80.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004761/1.43, allocations: 196.4 kB / 0.5727 GB, free: 80.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000944/1.431, allocations: 229.3 kB / 0.5729 GB, free: 80.31 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 333 * 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 (463): * Single equations (assignments): 458 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001026/1.432, allocations: 387.8 kB / 0.5732 GB, free: 79.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007094/1.433, allocations: 219.3 kB / 0.5735 GB, free: 79.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00635/1.439, allocations: 1.937 MB / 0.5753 GB, free: 79.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002245/1.439, allocations: 28.27 kB / 0.5754 GB, free: 79.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/1.439, allocations: 3.844 kB / 0.5754 GB, free: 79.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.95e-05/1.439, allocations: 5.484 kB / 0.5754 GB, free: 79.13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02104/1.46, allocations: 5.605 MB / 0.5809 GB, free: 76.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-05/1.46, allocations: 3.938 kB / 0.5809 GB, free: 76.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002427/1.463, allocations: 200.3 kB / 0.5811 GB, free: 76.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001448/1.464, allocations: 220.7 kB / 0.5813 GB, free: 76.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002976/1.465, allocations: 32.52 kB / 0.5813 GB, free: 76.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006264/1.471, allocations: 2.703 MB / 0.5839 GB, free: 75.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.471, allocations: 3.438 kB / 0.5839 GB, free: 75.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009649/1.481, allocations: 3.187 MB / 0.5871 GB, free: 73.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/1.482, allocations: 312.1 kB / 0.5873 GB, free: 73.28 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008579/1.483, allocations: 25.56 kB / 0.5874 GB, free: 73.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002609/1.486, allocations: 68.77 kB / 0.5874 GB, free: 73.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004174/1.486, allocations: 91.8 kB / 0.5875 GB, free: 73.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01778/1.504, allocations: 43.81 kB / 0.5876 GB, free: 73.22 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005845/1.51, allocations: 1.615 MB / 0.5891 GB, free: 72.58 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.404e-06/1.51, allocations: 0 / 0.5891 GB, free: 72.58 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007591/1.517, allocations: 0.6913 MB / 0.5898 GB, free: 72.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (revolute.phi,revolute.w,damper1D.s_rel,damper1D.v_rel) * 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.01066/1.528, allocations: 4.525 MB / 0.5942 GB, free: 69.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0098/1.538, allocations: 2.906 MB / 0.5971 GB, free: 67.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/1.538, allocations: 0 / 0.5971 GB, free: 67.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003211/1.541, allocations: 0.9765 MB / 0.598 GB, free: 66.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004535/1.546, allocations: 346.2 kB / 0.5984 GB, free: 66.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02755/1.574, allocations: 6.207 MB / 0.6044 GB, free: 61.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006948/1.581, allocations: 2.614 MB / 0.607 GB, free: 58.97 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0073/1.588, allocations: 1.183 MB / 0.6081 GB, free: 58.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004178/1.592, allocations: 1.3 MB / 0.6094 GB, free: 57.03 MB / 442.7 MB Notification: Performance of SimCode: time 1.983e-06/1.592, allocations: 0 / 0.6094 GB, free: 57.03 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1289/1.721, allocations: 51.78 MB / 0.66 GB, free: 8.828 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/1.721, allocations: 154.6 kB / 0.6601 GB, free: 8.605 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.208/5.929, allocations: 1.75 kB / 0.6601 GB, free: 8.605 MB / 442.7 MB