Running command: "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_SingleTrackWithEngine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PlanarMechanics): time 1.995/1.995, allocations: 234.8 MB / 247 MB, free: 2.066 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.365e-05/3.372e-05, allocations: 0 / 302.3 MB, free: 14.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1103, allocations: 52.38 MB / 354.7 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.443/0.5534, allocations: 87.83 MB / 442.5 MB, free: 9.078 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.5537, allocations: 75.97 kB / 442.6 MB, free: 9.004 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3188/0.8726, allocations: 73.35 MB / 0.5038 GB, free: 15.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.8726, allocations: 0 / 0.5038 GB, free: 15.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001694/0.8728, allocations: 68 kB / 0.5039 GB, free: 14.97 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1360 * Number of variables: 1360 Notification: Performance of Generate backend data structure: time 0.04692/0.9197, allocations: 4.607 MB / 0.5084 GB, free: 10.31 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.9198, allocations: 8.031 kB / 0.5084 GB, free: 10.3 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003289/0.9231, allocations: 0.6726 MB / 0.5091 GB, free: 9.617 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0167/0.9399, allocations: 1.985 MB / 0.511 GB, free: 7.625 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007393/0.9473, allocations: 1.974 MB / 0.5129 GB, free: 5.602 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004586/0.9478, allocations: 254.5 kB / 0.5132 GB, free: 5.352 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002572/0.9504, allocations: 343.8 kB / 0.5135 GB, free: 5.016 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3405/1.291, allocations: 9.736 MB / 0.523 GB, free: 98.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003296/1.291, allocations: 30.67 kB / 0.523 GB, free: 98.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002226/1.294, allocations: 157.1 kB / 0.5232 GB, free: 98.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003574/1.297, allocations: 1.109 MB / 0.5243 GB, free: 98.69 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03881/1.336, allocations: 9.922 MB / 0.534 GB, free: 98.67 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07133/1.407, allocations: 32.94 MB / 0.5661 GB, free: 80.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03078/1.438, allocations: 4.108 MB / 0.5701 GB, free: 79.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003895/1.442, allocations: 1.496 MB / 0.5716 GB, free: 78.99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01511/1.457, allocations: 8.474 MB / 0.5799 GB, free: 72.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.418e-05/1.457, allocations: 51.44 kB / 0.5799 GB, free: 72.67 MB / 442.7 MB Notification: Performance of pre-optimization done (n=217): time 5.821e-06/1.457, allocations: 0 / 0.5799 GB, free: 72.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=257): time 0.04344/1.501, allocations: 11.08 MB / 0.5908 GB, free: 69.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005548/1.507, allocations: 3.309 MB / 0.594 GB, free: 66.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005075/1.512, allocations: 2.615 MB / 0.5965 GB, free: 65.81 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004223/1.512, allocations: 60.95 kB / 0.5966 GB, free: 65.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001629/1.514, allocations: 2.39 MB / 0.5989 GB, free: 63.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001169/1.515, allocations: 0.9334 MB / 0.5998 GB, free: 63.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004545/1.515, allocations: 106.3 kB / 0.5999 GB, free: 63.13 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003166/1.516, allocations: 0.526 MB / 0.6005 GB, free: 62.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004126/1.52, allocations: 1.723 MB / 0.6021 GB, free: 62.15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005996/1.526, allocations: 4.395 MB / 0.6064 GB, free: 57.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006359/1.532, allocations: 2.825 MB / 0.6092 GB, free: 55.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001068/1.532, allocations: 24 kB / 0.6092 GB, free: 55.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01702/1.549, allocations: 6.361 MB / 0.6154 GB, free: 50.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.3e-05/1.55, allocations: 48 kB / 0.6155 GB, free: 50 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001114/1.55, allocations: 96 kB / 0.6156 GB, free: 49.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/1.552, allocations: 0.5208 MB / 0.6161 GB, free: 49.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007427/1.559, allocations: 1.184 MB / 0.6172 GB, free: 48.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/1.57, allocations: 6.33 MB / 0.6234 GB, free: 42.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006728/1.577, allocations: 270.6 kB / 0.6237 GB, free: 42.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001386/1.578, allocations: 306.3 kB / 0.624 GB, free: 41.95 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 427 * Number of states: 0 () * Number of discrete variables: 15 (trail.color[3],trail.color[2],trail.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyRear.sphereColor[3],bodyRear.sphereColor[2],bodyRear.sphereColor[1],chassis.color[3],chassis.color[2],chassis.color[1],bodyFront.sphereColor[3],bodyFront.sphereColor[2],bodyFront.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (638): * Single equations (assignments): 632 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,55.6%) 24,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001398/1.58, allocations: 478.4 kB / 0.6244 GB, free: 41.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008655/1.58, allocations: 284.3 kB / 0.6247 GB, free: 41.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/1.591, allocations: 3.485 MB / 0.6281 GB, free: 38.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001946/1.592, allocations: 42.8 kB / 0.6281 GB, free: 38.17 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/1.592, allocations: 8 kB / 0.6281 GB, free: 38.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.523e-05/1.592, allocations: 10.08 kB / 0.6281 GB, free: 38.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02682/1.618, allocations: 10.54 MB / 0.6384 GB, free: 29.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-05/1.619, allocations: 4.688 kB / 0.6384 GB, free: 29.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002975/1.622, allocations: 363.4 kB / 0.6388 GB, free: 28.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002159/1.624, allocations: 0.5293 MB / 0.6393 GB, free: 28.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003743/1.624, allocations: 56.53 kB / 0.6394 GB, free: 28.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/1.636, allocations: 6.911 MB / 0.6461 GB, free: 21.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004828/1.641, allocations: 3.091 MB / 0.6491 GB, free: 17.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01294/1.654, allocations: 5.769 MB / 0.6548 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/1.656, allocations: 373.3 kB / 0.6551 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001304/1.657, allocations: 49.42 kB / 0.6552 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003326/1.66, allocations: 115.9 kB / 0.6553 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007912/1.661, allocations: 165.7 kB / 0.6554 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002416/1.661, allocations: 73.62 kB / 0.6555 GB, free: 11.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004718/1.666, allocations: 1.836 MB / 0.6573 GB, free: 9.195 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.666, allocations: 0 / 0.6573 GB, free: 9.195 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006216/1.672, allocations: 0.9578 MB / 0.6582 GB, free: 8.246 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 8 ($STATESET1.x,idealWheelFront.phi_roll,bodyRear.r[1],bodyRear.r[2],bodyRear.phi,revolute.phi,revolute.w,engineTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 183 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,55.6%) 24,(3,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01312/1.686, allocations: 7.787 MB / 0.6658 GB, free: 252 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01244/1.698, allocations: 4.486 MB / 0.6702 GB, free: 11.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/1.698, allocations: 0 / 0.6702 GB, free: 11.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005332/1.704, allocations: 1.913 MB / 0.6721 GB, free: 9.824 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003648/1.707, allocations: 394 kB / 0.6725 GB, free: 9.453 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02769/1.735, allocations: 8.363 MB / 0.6806 GB, free: 1.027 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006581/1.742, allocations: 3.024 MB / 0.6836 GB, free: 13.99 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00736/1.749, allocations: 1.534 MB / 0.6851 GB, free: 12.46 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004548/1.754, allocations: 1.597 MB / 0.6866 GB, free: 10.87 MB / 474.7 MB Notification: Performance of SimCode: time 1.563e-06/1.754, allocations: 4 kB / 0.6866 GB, free: 10.86 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4941/2.248, allocations: 69.38 MB / 0.7544 GB, free: 107.8 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002568/2.248, allocations: 196 kB / 0.7546 GB, free: 107.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.483/6.731, allocations: 0 / 0.7546 GB, free: 107.6 MB / 474.7 MB