Running command: "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PlanarMechanics): time 2.021/2.021, allocations: 234.8 MB / 247 MB, free: 2.07 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.105e-05/3.104e-05, allocations: 0 / 302.3 MB, free: 14.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1217, allocations: 52.37 MB / 354.7 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4409/0.5627, allocations: 90.11 MB / 444.8 MB, free: 6.758 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.563, allocations: 79.95 kB / 444.9 MB, free: 6.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2631/0.8261, allocations: 63.18 MB / 0.4961 GB, free: 6.977 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.8261, allocations: 0 / 0.4961 GB, free: 6.977 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001524/0.8263, allocations: 55.98 kB / 0.4962 GB, free: 6.922 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: 1163 * Number of variables: 1163 Notification: Performance of Generate backend data structure: time 0.02909/0.8554, allocations: 3.547 MB / 0.4997 GB, free: 3.312 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/0.8555, allocations: 12.88 kB / 0.4997 GB, free: 3.301 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003066/0.8586, allocations: 0.5779 MB / 0.5002 GB, free: 2.711 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01625/0.8749, allocations: 1.915 MB / 0.5021 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006417/0.8813, allocations: 1.741 MB / 0.5038 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003769/0.8818, allocations: 225.6 kB / 0.504 GB, free: 14.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002141/0.8839, allocations: 287.8 kB / 0.5043 GB, free: 14.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0293/0.9132, allocations: 7.965 MB / 0.5121 GB, free: 6.145 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00019/0.9135, allocations: 15.88 kB / 0.5121 GB, free: 6.129 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001719/0.9152, allocations: 135.9 kB / 0.5122 GB, free: 5.996 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002618/0.9179, allocations: 0.9076 MB / 0.5131 GB, free: 5.086 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3303/1.248, allocations: 7.854 MB / 0.5208 GB, free: 104.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06054/1.309, allocations: 25.98 MB / 0.5462 GB, free: 93.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01812/1.327, allocations: 2.808 MB / 0.5489 GB, free: 92.87 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003002/1.33, allocations: 1.022 MB / 0.5499 GB, free: 92.49 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01084/1.341, allocations: 5.032 MB / 0.5548 GB, free: 89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/1.341, allocations: 48.81 kB / 0.5549 GB, free: 88.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=155): time 5.41e-06/1.341, allocations: 0 / 0.5549 GB, free: 88.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=173): time 0.02461/1.366, allocations: 6.877 MB / 0.5616 GB, free: 86.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/1.366, allocations: 67.31 kB / 0.5616 GB, free: 86.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004924/1.371, allocations: 2.292 MB / 0.5639 GB, free: 85.44 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003327/1.371, allocations: 49.91 kB / 0.5639 GB, free: 85.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001629/1.373, allocations: 2.06 MB / 0.5659 GB, free: 83.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000861/1.374, allocations: 0.6357 MB / 0.5666 GB, free: 83.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003995/1.374, allocations: 79.38 kB / 0.5666 GB, free: 83.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003055/1.374, allocations: 484.6 kB / 0.5671 GB, free: 82.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003209/1.378, allocations: 1.299 MB / 0.5684 GB, free: 82.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004664/1.382, allocations: 3.424 MB / 0.5717 GB, free: 79.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004735/1.387, allocations: 2.17 MB / 0.5738 GB, free: 78.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.103e-05/1.387, allocations: 22.31 kB / 0.5738 GB, free: 78.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01272/1.4, allocations: 4.755 MB / 0.5785 GB, free: 76.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.254e-05/1.4, allocations: 42.59 kB / 0.5785 GB, free: 76.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/1.4, allocations: 73.69 kB / 0.5786 GB, free: 76.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/1.401, allocations: 330.4 kB / 0.5789 GB, free: 76.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005875/1.407, allocations: 0.9045 MB / 0.5798 GB, free: 76.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00531/1.413, allocations: 3.017 MB / 0.5827 GB, free: 74.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004838/1.418, allocations: 190.6 kB / 0.5829 GB, free: 74.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009929/1.419, allocations: 239.5 kB / 0.5832 GB, free: 74.54 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 9 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (490): * Single equations (assignments): 484 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 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.0008188/1.42, allocations: 400.3 kB / 0.5835 GB, free: 74.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005819/1.42, allocations: 226.6 kB / 0.5838 GB, free: 74.08 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005539/1.426, allocations: 2.265 MB / 0.586 GB, free: 73.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001881/1.426, allocations: 29.81 kB / 0.586 GB, free: 73.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/1.426, allocations: 3.953 kB / 0.586 GB, free: 73.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-05/1.426, allocations: 7.5 kB / 0.586 GB, free: 73.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/1.442, allocations: 6.316 MB / 0.5922 GB, free: 70.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/1.442, allocations: 8.172 kB / 0.5922 GB, free: 70.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002083/1.445, allocations: 250.7 kB / 0.5924 GB, free: 70.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009514/1.446, allocations: 210.2 kB / 0.5926 GB, free: 70.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/1.446, allocations: 35.62 kB / 0.5927 GB, free: 70.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003945/1.45, allocations: 2.589 MB / 0.5952 GB, free: 68.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.45, allocations: 3.562 kB / 0.5952 GB, free: 68.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007354/1.457, allocations: 3.679 MB / 0.5988 GB, free: 66.97 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009206/1.458, allocations: 317 kB / 0.5991 GB, free: 66.72 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004976/1.459, allocations: 37.28 kB / 0.5991 GB, free: 66.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/1.46, allocations: 73.41 kB / 0.5992 GB, free: 66.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002532/1.461, allocations: 98.17 kB / 0.5993 GB, free: 66.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/1.461, allocations: 48.94 kB / 0.5993 GB, free: 66.53 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00339/1.464, allocations: 1.621 MB / 0.6009 GB, free: 65.06 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.673e-06/1.464, allocations: 0 / 0.6009 GB, free: 65.06 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004489/1.469, allocations: 0.7213 MB / 0.6016 GB, free: 64.35 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (prismatic.s,prismatic.v,revolute.phi,revolute.w,engineTorque.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 131 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008072/1.477, allocations: 5.049 MB / 0.6065 GB, free: 59.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007213/1.484, allocations: 3.23 MB / 0.6097 GB, free: 56.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.484, allocations: 0 / 0.6097 GB, free: 56.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002362/1.486, allocations: 1.18 MB / 0.6108 GB, free: 55.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/1.489, allocations: 352.6 kB / 0.6112 GB, free: 55.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/1.509, allocations: 6.617 MB / 0.6176 GB, free: 49.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004562/1.514, allocations: 2.66 MB / 0.6202 GB, free: 47.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005389/1.519, allocations: 1.201 MB / 0.6214 GB, free: 46.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003339/1.523, allocations: 1.328 MB / 0.6227 GB, free: 45.27 MB / 442.7 MB Notification: Performance of SimCode: time 1.332e-06/1.523, allocations: 0 / 0.6227 GB, free: 45.27 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/1.653, allocations: 54.59 MB / 0.676 GB, free: 8.598 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003272/1.654, allocations: 185.9 kB / 0.6762 GB, free: 8.375 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.055/5.708, allocations: 3.594 kB / 0.6762 GB, free: 8.375 MB / 458.7 MB