Running command: "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PlanarMechanics): time 2.077/2.077, allocations: 234.8 MB / 247 MB, free: 2.082 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.242e-05, allocations: 4 kB / 302.3 MB, free: 14.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 52.37 MB / 354.7 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4449/0.5549, allocations: 88.8 MB / 443.5 MB, free: 8.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.5553, allocations: 75.97 kB / 443.6 MB, free: 8.016 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2737/0.8289, allocations: 59.78 MB / 0.4915 GB, free: 11.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.829, allocations: 0 / 0.4915 GB, free: 11.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001729/0.8292, allocations: 48 kB / 0.4916 GB, free: 11.7 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: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.02733/0.8565, allocations: 3.308 MB / 0.4948 GB, free: 8.332 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.8566, allocations: 8.594 kB / 0.4948 GB, free: 8.324 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002834/0.8594, allocations: 0.5612 MB / 0.4954 GB, free: 7.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0205/0.88, allocations: 1.907 MB / 0.4972 GB, free: 5.836 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008755/0.8888, allocations: 1.704 MB / 0.4989 GB, free: 4.086 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004822/0.8894, allocations: 209.5 kB / 0.4991 GB, free: 3.879 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002398/0.8918, allocations: 291.9 kB / 0.4994 GB, free: 3.594 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.037/0.9288, allocations: 7.636 MB / 0.5068 GB, free: 11.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003297/0.9292, allocations: 27.77 kB / 0.5069 GB, free: 11.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002296/0.9315, allocations: 123.9 kB / 0.507 GB, free: 11.44 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003384/0.935, allocations: 0.8646 MB / 0.5078 GB, free: 10.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02641/0.9614, allocations: 7.532 MB / 0.5152 GB, free: 3.035 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3562/1.318, allocations: 24.62 MB / 0.5392 GB, free: 96.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01636/1.334, allocations: 2.6 MB / 0.5418 GB, free: 95.44 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002582/1.337, allocations: 0.9474 MB / 0.5427 GB, free: 95.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009778/1.347, allocations: 4.35 MB / 0.5469 GB, free: 93.13 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/1.347, allocations: 49.56 kB / 0.547 GB, free: 93.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=142): time 6.152e-06/1.347, allocations: 0 / 0.547 GB, free: 93.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=167): time 0.02266/1.369, allocations: 6.573 MB / 0.5534 GB, free: 92.01 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/1.369, allocations: 66.62 kB / 0.5535 GB, free: 91.94 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00486/1.374, allocations: 2.194 MB / 0.5556 GB, free: 91.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003177/1.375, allocations: 51.28 kB / 0.5557 GB, free: 91.19 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001598/1.376, allocations: 2 MB / 0.5576 GB, free: 89.78 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008661/1.377, allocations: 0.6075 MB / 0.5582 GB, free: 89.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004106/1.378, allocations: 75.38 kB / 0.5583 GB, free: 89.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002623/1.378, allocations: 476.3 kB / 0.5587 GB, free: 88.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002908/1.381, allocations: 1.264 MB / 0.56 GB, free: 88.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004579/1.385, allocations: 3.277 MB / 0.5632 GB, free: 85.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004754/1.39, allocations: 2.085 MB / 0.5652 GB, free: 84.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-05/1.39, allocations: 22.44 kB / 0.5652 GB, free: 84.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=506) (initialization): time 0.01289/1.403, allocations: 4.689 MB / 0.5698 GB, free: 83.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.516e-05/1.403, allocations: 36.31 kB / 0.5698 GB, free: 83.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.762e-05/1.403, allocations: 69.19 kB / 0.5699 GB, free: 83.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/1.405, allocations: 438.2 kB / 0.5703 GB, free: 83.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005362/1.411, allocations: 0.8331 MB / 0.5711 GB, free: 83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009018/1.42, allocations: 5.455 MB / 0.5765 GB, free: 79.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004451/1.424, allocations: 191.8 kB / 0.5766 GB, free: 79.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007547/1.425, allocations: 224.2 kB / 0.5769 GB, free: 79.13 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 324 * 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 (455): * Single equations (assignments): 449 * 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 {(5,64.0%) 16,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007747/1.426, allocations: 381.3 kB / 0.5772 GB, free: 78.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005254/1.426, allocations: 216.9 kB / 0.5774 GB, free: 78.69 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005637/1.432, allocations: 2.273 MB / 0.5796 GB, free: 77.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001821/1.432, allocations: 27.84 kB / 0.5797 GB, free: 77.85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.432, allocations: 7.75 kB / 0.5797 GB, free: 77.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.082e-05/1.432, allocations: 11.5 kB / 0.5797 GB, free: 77.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/1.448, allocations: 6.142 MB / 0.5857 GB, free: 75.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/1.448, allocations: 3.562 kB / 0.5857 GB, free: 75.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/1.45, allocations: 222.3 kB / 0.5859 GB, free: 75.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/1.452, allocations: 280.9 kB / 0.5862 GB, free: 75.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003063/1.452, allocations: 31.5 kB / 0.5862 GB, free: 75.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006507/1.458, allocations: 4.329 MB / 0.5904 GB, free: 71.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.459, allocations: 1.5 kB / 0.5904 GB, free: 71.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007757/1.466, allocations: 3.59 MB / 0.5939 GB, free: 70.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000976/1.467, allocations: 315.4 kB / 0.5942 GB, free: 70.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009744/1.468, allocations: 32.38 kB / 0.5943 GB, free: 70.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002127/1.47, allocations: 57.89 kB / 0.5943 GB, free: 70.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003786/1.471, allocations: 96.73 kB / 0.5944 GB, free: 70.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/1.471, allocations: 50.09 kB / 0.5945 GB, free: 70.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003615/1.475, allocations: 1.56 MB / 0.596 GB, free: 69.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.082e-06/1.475, allocations: 4 kB / 0.596 GB, free: 69.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004835/1.48, allocations: 0.7001 MB / 0.5967 GB, free: 69.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (prismatic.s,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 (123): * Single equations (assignments): 117 * 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 {(5,64.0%) 14,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008332/1.488, allocations: 4.81 MB / 0.6014 GB, free: 64.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007592/1.496, allocations: 3.261 MB / 0.6046 GB, free: 61.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.496, allocations: 4 kB / 0.6046 GB, free: 61.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002806/1.498, allocations: 1.247 MB / 0.6058 GB, free: 60.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/1.502, allocations: 331.4 kB / 0.6061 GB, free: 60.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/1.522, allocations: 6.331 MB / 0.6123 GB, free: 54.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004919/1.527, allocations: 2.611 MB / 0.6148 GB, free: 52.83 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005339/1.532, allocations: 1.151 MB / 0.6159 GB, free: 52.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00301/1.535, allocations: 1.255 MB / 0.6172 GB, free: 50.94 MB / 442.7 MB Notification: Performance of SimCode: time 1.403e-06/1.535, allocations: 0 / 0.6172 GB, free: 50.94 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1318/1.667, allocations: 53.63 MB / 0.6696 GB, free: 15.81 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003352/1.668, allocations: 202.2 kB / 0.6697 GB, free: 15.57 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.983/5.651, allocations: 0 / 0.6697 GB, free: 15.57 MB / 458.7 MB