Running command: "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PlanarMechanics): time 2.123/2.123, allocations: 234.8 MB / 247 MB, free: 2.066 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.073e-05/3.085e-05, allocations: 224 / 302.3 MB, free: 14.47 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1143, allocations: 52.36 MB / 354.7 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4931/0.6075, allocations: 90.65 MB / 445.3 MB, free: 6.219 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/0.6079, allocations: 87.89 kB / 445.4 MB, free: 6.133 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.278/0.8859, allocations: 64.08 MB / 0.4976 GB, free: 5.527 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.886, allocations: 4 kB / 0.4976 GB, free: 5.523 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000213/0.8862, allocations: 48 kB / 0.4976 GB, free: 5.477 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: 1168 * Number of variables: 1168 Notification: Performance of Generate backend data structure: time 0.03589/0.9221, allocations: 3.555 MB / 0.5011 GB, free: 1.859 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.762e-05/0.9222, allocations: 12.58 kB / 0.5011 GB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003285/0.9255, allocations: 0.5858 MB / 0.5017 GB, free: 1.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02401/0.9496, allocations: 1.926 MB / 0.5035 GB, free: 15.31 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009148/0.9588, allocations: 1.745 MB / 0.5052 GB, free: 13.53 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000558/0.9594, allocations: 221.7 kB / 0.5055 GB, free: 13.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00299/0.9624, allocations: 295.8 kB / 0.5057 GB, free: 13.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04188/1.004, allocations: 7.986 MB / 0.5135 GB, free: 4.645 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002627/1.005, allocations: 19.81 kB / 0.5136 GB, free: 4.625 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002296/1.007, allocations: 131.9 kB / 0.5137 GB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003962/1.011, allocations: 0.9038 MB / 0.5146 GB, free: 3.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.334/1.345, allocations: 7.869 MB / 0.5222 GB, free: 104.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06025/1.405, allocations: 26.06 MB / 0.5477 GB, free: 93.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01821/1.424, allocations: 2.907 MB / 0.5505 GB, free: 92.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002777/1.426, allocations: 1.043 MB / 0.5516 GB, free: 92.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01059/1.437, allocations: 5.048 MB / 0.5565 GB, free: 88.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/1.437, allocations: 50.78 kB / 0.5565 GB, free: 88.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=157): time 6.162e-06/1.437, allocations: 0 / 0.5565 GB, free: 88.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=175): time 0.02452/1.462, allocations: 6.955 MB / 0.5633 GB, free: 86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/1.462, allocations: 69.56 kB / 0.5634 GB, free: 85.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004815/1.467, allocations: 2.296 MB / 0.5656 GB, free: 85.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003203/1.467, allocations: 49.55 kB / 0.5657 GB, free: 84.97 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001567/1.469, allocations: 2.067 MB / 0.5677 GB, free: 83.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008328/1.469, allocations: 0.6464 MB / 0.5683 GB, free: 82.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003747/1.47, allocations: 79.31 kB / 0.5684 GB, free: 82.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002887/1.47, allocations: 483.2 kB / 0.5689 GB, free: 82.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003265/1.473, allocations: 1.313 MB / 0.5701 GB, free: 82.01 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004478/1.478, allocations: 3.432 MB / 0.5735 GB, free: 78.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004832/1.483, allocations: 2.187 MB / 0.5756 GB, free: 78.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.727e-05/1.483, allocations: 22.06 kB / 0.5757 GB, free: 78.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01316/1.496, allocations: 4.783 MB / 0.5803 GB, free: 76.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.989e-05/1.496, allocations: 42 kB / 0.5804 GB, free: 76.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-05/1.496, allocations: 79.62 kB / 0.5804 GB, free: 76.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/1.498, allocations: 329.6 kB / 0.5808 GB, free: 76.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005853/1.504, allocations: 0.9015 MB / 0.5816 GB, free: 76.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005119/1.509, allocations: 3.026 MB / 0.5846 GB, free: 74.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004684/1.513, allocations: 192.3 kB / 0.5848 GB, free: 74.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008849/1.514, allocations: 247.2 kB / 0.585 GB, free: 74.11 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 (493): * Single equations (assignments): 487 * 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.0008962/1.515, allocations: 391.1 kB / 0.5854 GB, free: 73.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005695/1.516, allocations: 233.2 kB / 0.5856 GB, free: 73.65 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006089/1.522, allocations: 2.297 MB / 0.5878 GB, free: 72.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002106/1.522, allocations: 30.98 kB / 0.5879 GB, free: 72.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/1.522, allocations: 3.5 kB / 0.5879 GB, free: 72.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.521e-05/1.522, allocations: 6.844 kB / 0.5879 GB, free: 72.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01676/1.539, allocations: 6.167 MB / 0.5939 GB, free: 70.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/1.539, allocations: 5.016 kB / 0.5939 GB, free: 70.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002197/1.541, allocations: 254.7 kB / 0.5942 GB, free: 70.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/1.542, allocations: 209.9 kB / 0.5944 GB, free: 70.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002358/1.543, allocations: 36.53 kB / 0.5944 GB, free: 70.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003964/1.547, allocations: 2.583 MB / 0.5969 GB, free: 68.47 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.547, allocations: 3.812 kB / 0.5969 GB, free: 68.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007614/1.554, allocations: 3.712 MB / 0.6005 GB, free: 65.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009094/1.555, allocations: 323.3 kB / 0.6009 GB, free: 65.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005536/1.556, allocations: 37.11 kB / 0.6009 GB, free: 65.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/1.558, allocations: 69.19 kB / 0.601 GB, free: 65.08 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002617/1.558, allocations: 104.4 kB / 0.6011 GB, free: 65.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/1.558, allocations: 53.5 kB / 0.6011 GB, free: 64.97 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003619/1.562, allocations: 1.635 MB / 0.6027 GB, free: 63.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.51e-07/1.562, allocations: 0 / 0.6027 GB, free: 63.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004936/1.567, allocations: 0.7248 MB / 0.6034 GB, free: 62.78 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 (139): * Single equations (assignments): 133 * 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.008403/1.575, allocations: 5.073 MB / 0.6084 GB, free: 57.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007457/1.583, allocations: 3.256 MB / 0.6115 GB, free: 54.97 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/1.583, allocations: 3.938 kB / 0.6115 GB, free: 54.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00252/1.585, allocations: 1.195 MB / 0.6127 GB, free: 53.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/1.588, allocations: 350.9 kB / 0.613 GB, free: 53.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01973/1.608, allocations: 6.672 MB / 0.6196 GB, free: 47.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004353/1.612, allocations: 2.67 MB / 0.6222 GB, free: 45.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005624/1.618, allocations: 1.246 MB / 0.6234 GB, free: 44.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003126/1.621, allocations: 1.334 MB / 0.6247 GB, free: 43.56 MB / 442.7 MB Notification: Performance of SimCode: time 1.272e-06/1.621, allocations: 0 / 0.6247 GB, free: 43.56 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1723/1.794, allocations: 54.75 MB / 0.6782 GB, free: 6.379 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002878/1.794, allocations: 196.5 kB / 0.6783 GB, free: 6.145 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.971/5.765, allocations: 4 kB / 0.6783 GB, free: 6.141 MB / 458.7 MB