Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.009/2.009, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.495e-05/3.502e-05, allocations: 4 kB / 292.2 MB, free: 8.773 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 50.41 MB / 342.6 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4901/0.5983, allocations: 99.69 MB / 442.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.5987, allocations: 88.44 kB / 442.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7667/1.365, allocations: 116.2 MB / 0.5456 GB, free: 91.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.366, allocations: 0 / 0.5456 GB, free: 91.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004406/1.366, allocations: 119.5 kB / 0.5457 GB, free: 91.59 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.02761/1.394, allocations: 5.955 MB / 0.5515 GB, free: 89.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/1.394, allocations: 9.562 kB / 0.5515 GB, free: 89.45 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004523/1.398, allocations: 0.9864 MB / 0.5525 GB, free: 89.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02181/1.42, allocations: 2.734 MB / 0.5551 GB, free: 88.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02407/1.444, allocations: 7.098 MB / 0.5621 GB, free: 88.26 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005263/1.445, allocations: 434.3 kB / 0.5625 GB, free: 88.24 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003318/1.448, allocations: 0.5615 MB / 0.563 GB, free: 88.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04568/1.494, allocations: 14.89 MB / 0.5776 GB, free: 85.17 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004739/1.494, allocations: 76.05 kB / 0.5776 GB, free: 85.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0031/1.497, allocations: 264.4 kB / 0.5779 GB, free: 85.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003506/1.501, allocations: 1.433 MB / 0.5793 GB, free: 85.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04051/1.542, allocations: 12.82 MB / 0.5918 GB, free: 81.11 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1088/1.65, allocations: 65.7 MB / 0.656 GB, free: 26.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0322/1.683, allocations: 7.307 MB / 0.6631 GB, free: 20.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009145/1.692, allocations: 4.835 MB / 0.6678 GB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03099/1.723, allocations: 13.95 MB / 0.6814 GB, free: 1.785 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.72e-05/1.723, allocations: 64.56 kB / 0.6815 GB, free: 1.715 MB / 442.7 MB Notification: Performance of pre-optimization done (n=282): time 6.803e-06/1.723, allocations: 4 kB / 0.6815 GB, free: 1.711 MB / 442.7 MB Notification: Performance of matching and sorting (n=373): time 0.5844/2.308, allocations: 40.99 MB / 0.7215 GB, free: 98.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.373e-05/2.308, allocations: 192.5 kB / 0.7217 GB, free: 97.95 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009484/2.317, allocations: 4.209 MB / 0.7258 GB, free: 97.55 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001335/2.319, allocations: 82.03 kB / 0.7259 GB, free: 97.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003188/2.322, allocations: 3.61 MB / 0.7294 GB, free: 95.62 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00258/2.324, allocations: 1.349 MB / 0.7308 GB, free: 94.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/2.326, allocations: 160.3 kB / 0.7309 GB, free: 94.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004806/2.326, allocations: 0.6456 MB / 0.7315 GB, free: 94.49 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0102/2.336, allocations: 4.362 MB / 0.7358 GB, free: 94.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01326/2.35, allocations: 8.353 MB / 0.744 GB, free: 89.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01329/2.363, allocations: 6.049 MB / 0.7499 GB, free: 87.79 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000132/2.363, allocations: 39 kB / 0.7499 GB, free: 87.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.06079/2.424, allocations: 17.96 MB / 0.7674 GB, free: 82.36 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000118/2.424, allocations: 67.34 kB / 0.7675 GB, free: 82.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001928/2.424, allocations: 138.6 kB / 0.7676 GB, free: 82.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03359/2.458, allocations: 6.651 MB / 0.7741 GB, free: 81.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01131/2.469, allocations: 1.718 MB / 0.7758 GB, free: 80.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1013/2.571, allocations: 35.32 MB / 0.8103 GB, free: 53.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01346/2.584, allocations: 0.5653 MB / 0.8109 GB, free: 53.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002584/2.587, allocations: 482.8 kB / 0.8113 GB, free: 52.83 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 640 * Number of states: 0 () * Number of discrete variables: 51 (shape.color[3],shape.color[2],shape.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],wheelSet.wheelSetJoint.revolute2.cylinderColor[3],wheelSet.wheelSetJoint.revolute2.cylinderColor[2],wheelSet.wheelSetJoint.revolute2.cylinderColor[1],wheelSet.wheelSetJoint.revolute1.cylinderColor[3],wheelSet.wheelSetJoint.revolute1.cylinderColor[2],wheelSet.wheelSetJoint.revolute1.cylinderColor[1],wheelSet.wheelSetJoint.rod2.color[3],wheelSet.wheelSetJoint.rod2.color[2],wheelSet.wheelSetJoint.rod2.color[1],wheelSet.wheelSetJoint.revolute.cylinderColor[3],wheelSet.wheelSetJoint.revolute.cylinderColor[2],wheelSet.wheelSetJoint.revolute.cylinderColor[1],wheelSet.wheelSetJoint.prismatic2.boxColor[3],wheelSet.wheelSetJoint.prismatic2.boxColor[2],wheelSet.wheelSetJoint.prismatic2.boxColor[1],wheelSet.wheelSetJoint.prismatic1.boxColor[3],wheelSet.wheelSetJoint.prismatic1.boxColor[2],wheelSet.wheelSetJoint.prismatic1.boxColor[1],wheelSet.wheelSetJoint.rod1.color[3],wheelSet.wheelSetJoint.rod1.color[2],wheelSet.wheelSetJoint.rod1.color[1],wheelSet.wheelSetJoint.fixed.color[3],wheelSet.wheelSetJoint.fixed.color[2],wheelSet.wheelSetJoint.fixed.color[1],wheelSet.body1.sphereColor[3],wheelSet.body1.sphereColor[2],wheelSet.body1.sphereColor[1],wheelSet.body2.sphereColor[3],wheelSet.body2.sphereColor[2],wheelSet.body2.sphereColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (860): * Single equations (assignments): 852 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(9,67.9%) 100,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004314/2.591, allocations: 0.6812 MB / 0.812 GB, free: 52.15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002215/2.593, allocations: 473.9 kB / 0.8124 GB, free: 51.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05237/2.646, allocations: 13.55 MB / 0.8257 GB, free: 40.53 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-05/2.646, allocations: 47.95 kB / 0.8257 GB, free: 40.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.772e-05/2.646, allocations: 24 kB / 0.8257 GB, free: 40.46 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.162e-05/2.646, allocations: 19.94 kB / 0.8258 GB, free: 40.44 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.109/2.755, allocations: 25.76 MB / 0.8509 GB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.381e-05/2.755, allocations: 4 kB / 0.8509 GB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005238/2.76, allocations: 0.523 MB / 0.8514 GB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03389/2.794, allocations: 6.262 MB / 0.8575 GB, free: 7.754 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001417/2.796, allocations: 71.98 kB / 0.8576 GB, free: 7.684 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5162/3.312, allocations: 32.58 MB / 0.8894 GB, free: 89.73 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/3.312, allocations: 10.88 kB / 0.8894 GB, free: 89.73 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06153/3.374, allocations: 20.05 MB / 0.909 GB, free: 84.18 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002029/3.376, allocations: 0.5418 MB / 0.9096 GB, free: 84.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002832/3.379, allocations: 70.11 kB / 0.9096 GB, free: 83.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007295/3.386, allocations: 348.1 kB / 0.91 GB, free: 83.95 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002168/3.388, allocations: 263.3 kB / 0.9102 GB, free: 83.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008972/3.389, allocations: 92.69 kB / 0.9103 GB, free: 83.89 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007877/3.397, allocations: 3.017 MB / 0.9132 GB, free: 82.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.61e-07/3.397, allocations: 0 / 0.9132 GB, free: 82.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01272/3.41, allocations: 1.838 MB / 0.915 GB, free: 82.62 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 218 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,70.3%) 98,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06342/3.473, allocations: 21.46 MB / 0.936 GB, free: 73.64 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02893/3.502, allocations: 11.4 MB / 0.9471 GB, free: 68.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/3.502, allocations: 0 / 0.9471 GB, free: 68.48 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01551/3.518, allocations: 5.511 MB / 0.9525 GB, free: 63.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006202/3.524, allocations: 0.5593 MB / 0.953 GB, free: 63.01 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06449/3.589, allocations: 16.55 MB / 0.9692 GB, free: 49.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01/3.599, allocations: 4.496 MB / 0.9736 GB, free: 45.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007034/3.606, allocations: 2.694 MB / 0.9762 GB, free: 43.24 MB / 458.7 MB Notification: Performance of SimCode: time 1.773e-06/3.606, allocations: 0 / 0.9762 GB, free: 43.24 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.552/10.16, allocations: 245.8 MB / 1.216 GB, free: 113.9 MB / 0.4948 GB