Running command: "" <> buildModelFMU(PlanarMechanics.Examples.WheelBasedCranCrab,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_WheelBasedCranCrab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PlanarMechanics): time 2.169/2.169, allocations: 234.8 MB / 247 MB, free: 2.047 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.75e-05, allocations: 4 kB / 302.3 MB, free: 14.46 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1151, allocations: 52.37 MB / 354.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4735/0.5887, allocations: 86.71 MB / 441.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.5891, allocations: 73.19 kB / 441.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2686/0.8577, allocations: 62.76 MB / 0.4924 GB, free: 10.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.8578, allocations: 0 / 0.4924 GB, free: 10.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001372/0.8579, allocations: 52 kB / 0.4925 GB, free: 10.73 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.02884/0.8868, allocations: 3.387 MB / 0.4958 GB, free: 7.281 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.52e-05/0.8869, allocations: 8.594 kB / 0.4958 GB, free: 7.273 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003942/0.8908, allocations: 0.5859 MB / 0.4963 GB, free: 6.676 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02333/0.9142, allocations: 1.915 MB / 0.4982 GB, free: 4.754 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008628/0.9229, allocations: 1.672 MB / 0.4998 GB, free: 3.035 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000571/0.9236, allocations: 221.6 kB / 0.5001 GB, free: 2.816 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002977/0.9266, allocations: 283.8 kB / 0.5003 GB, free: 2.539 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03697/0.9636, allocations: 7.85 MB / 0.508 GB, free: 10.26 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003005/0.964, allocations: 27.72 kB / 0.508 GB, free: 10.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002323/0.9663, allocations: 135.9 kB / 0.5081 GB, free: 10.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003803/0.9702, allocations: 0.9505 MB / 0.5091 GB, free: 9.148 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03683/1.007, allocations: 7.27 MB / 0.5162 GB, free: 1.871 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3865/1.394, allocations: 26.33 MB / 0.5419 GB, free: 93.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/1.406, allocations: 2.554 MB / 0.5444 GB, free: 92.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002493/1.409, allocations: 0.8317 MB / 0.5452 GB, free: 92.81 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01199/1.421, allocations: 5.788 MB / 0.5508 GB, free: 89.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/1.421, allocations: 48.08 kB / 0.5509 GB, free: 89.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=141): time 5.851e-06/1.421, allocations: 0 / 0.5509 GB, free: 89.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=156): time 0.02489/1.446, allocations: 6.17 MB / 0.5569 GB, free: 87.69 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/1.446, allocations: 68.06 kB / 0.557 GB, free: 87.63 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005511/1.451, allocations: 2.318 MB / 0.5592 GB, free: 86.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003007/1.452, allocations: 46.89 kB / 0.5593 GB, free: 86.69 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001799/1.453, allocations: 2.126 MB / 0.5614 GB, free: 85.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008054/1.454, allocations: 0.5908 MB / 0.5619 GB, free: 84.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005068/1.455, allocations: 81.75 kB / 0.562 GB, free: 84.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003238/1.455, allocations: 489.3 kB / 0.5625 GB, free: 84.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00321/1.458, allocations: 1.238 MB / 0.5637 GB, free: 83.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004794/1.463, allocations: 3.598 MB / 0.5672 GB, free: 80.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004926/1.468, allocations: 2.162 MB / 0.5693 GB, free: 79.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.791e-05/1.468, allocations: 27.61 kB / 0.5693 GB, free: 79.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.013/1.481, allocations: 4.712 MB / 0.574 GB, free: 78.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.545e-05/1.481, allocations: 39.19 kB / 0.574 GB, free: 78.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/1.482, allocations: 92.03 kB / 0.5741 GB, free: 78.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/1.483, allocations: 283.7 kB / 0.5743 GB, free: 78.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005909/1.489, allocations: 0.9347 MB / 0.5753 GB, free: 77.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005148/1.494, allocations: 2.916 MB / 0.5781 GB, free: 75.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004998/1.499, allocations: 208.2 kB / 0.5783 GB, free: 75.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008994/1.5, allocations: 252.3 kB / 0.5785 GB, free: 75.84 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.0008332/1.501, allocations: 417 kB / 0.5789 GB, free: 75.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005272/1.501, allocations: 227 kB / 0.5792 GB, free: 75.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004674/1.506, allocations: 1.894 MB / 0.581 GB, free: 74.67 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001707/1.506, allocations: 23.45 kB / 0.581 GB, free: 74.67 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.506, allocations: 7.406 kB / 0.581 GB, free: 74.67 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.065e-05/1.506, allocations: 6.938 kB / 0.581 GB, free: 74.67 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01487/1.521, allocations: 5.833 MB / 0.5867 GB, free: 72.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/1.521, allocations: 5.969 kB / 0.5867 GB, free: 72.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/1.523, allocations: 214.1 kB / 0.587 GB, free: 72.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000789/1.524, allocations: 168.4 kB / 0.5871 GB, free: 72.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002457/1.524, allocations: 31.89 kB / 0.5871 GB, free: 72.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003742/1.528, allocations: 2.413 MB / 0.5895 GB, free: 70.53 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/1.528, allocations: 7.625 kB / 0.5895 GB, free: 70.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006464/1.534, allocations: 3.408 MB / 0.5928 GB, free: 68.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008902/1.535, allocations: 311 kB / 0.5931 GB, free: 68.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004592/1.536, allocations: 34.84 kB / 0.5932 GB, free: 68.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/1.537, allocations: 59.59 kB / 0.5932 GB, free: 68.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002321/1.538, allocations: 99.44 kB / 0.5933 GB, free: 68.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/1.538, allocations: 50.61 kB / 0.5934 GB, free: 68.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003504/1.541, allocations: 1.62 MB / 0.5949 GB, free: 67.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.22e-07/1.541, allocations: 0 / 0.5949 GB, free: 67.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004682/1.546, allocations: 0.7026 MB / 0.5956 GB, free: 67.59 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.006695/1.553, allocations: 5.368 MB / 0.6009 GB, free: 63.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006896/1.56, allocations: 2.984 MB / 0.6038 GB, free: 61.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/1.56, allocations: 0 / 0.6038 GB, free: 61.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002024/1.562, allocations: 0.9597 MB / 0.6047 GB, free: 60.22 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/1.564, allocations: 343 kB / 0.6051 GB, free: 59.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/1.584, allocations: 6.45 MB / 0.6114 GB, free: 54.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004314/1.589, allocations: 2.649 MB / 0.6139 GB, free: 52.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00566/1.594, allocations: 1.267 MB / 0.6152 GB, free: 51.33 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002868/1.597, allocations: 1.293 MB / 0.6164 GB, free: 50.13 MB / 442.7 MB Notification: Performance of SimCode: time 1.452e-06/1.597, allocations: 0 / 0.6164 GB, free: 50.13 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.12/1.717, allocations: 52.02 MB / 0.6672 GB, free: 1.047 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/1.718, allocations: 173.5 kB / 0.6674 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.1/5.818, allocations: 0 / 0.6674 GB, free: 0.8164 MB / 442.7 MB