Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.255/2.255, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.456e-05/3.496e-05, allocations: 4 kB / 292.2 MB, free: 8.742 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 50.41 MB / 342.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4467/0.5538, allocations: 78.78 MB / 421.4 MB, free: 15.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.5541, allocations: 65.47 kB / 421.5 MB, free: 15.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01308/0.5672, allocations: 3.145 MB / 424.6 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5673, allocations: 0 / 424.6 MB, free: 12.67 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.317e-05/0.5673, allocations: 7.984 kB / 424.6 MB, free: 12.66 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000753/0.5681, allocations: 429.4 kB / 425 MB, free: 12.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.5682, allocations: 12.03 kB / 425.1 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.754e-05/0.5683, allocations: 54.12 kB / 425.1 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.974e-05/0.5683, allocations: 19.72 kB / 425.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.5686, allocations: 217.9 kB / 425.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.5687, allocations: 15.44 kB / 425.4 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/0.5687, allocations: 15.88 kB / 425.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.5691, allocations: 139.9 kB / 425.5 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.5692, allocations: 0 / 425.5 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.5692, allocations: 11.69 kB / 425.5 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.5692, allocations: 7.953 kB / 425.5 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.5695, allocations: 90.86 kB / 425.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.5708, allocations: 0.5999 MB / 426.2 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.5711, allocations: 112.9 kB / 426.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.5712, allocations: 36.48 kB / 426.4 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.5713, allocations: 4 kB / 426.4 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.5713, allocations: 34.56 kB / 426.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.565e-06/0.5713, allocations: 0 / 426.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001847/0.5732, allocations: 0.7319 MB / 427.1 MB, free: 10.24 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.5733, allocations: 55.41 kB / 427.2 MB, free: 10.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.5735, allocations: 150 kB / 427.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.5735, allocations: 29.39 kB / 427.4 MB, free: 10.01 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.5736, allocations: 193.9 kB / 427.5 MB, free: 9.828 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.314e-05/0.5737, allocations: 70.72 kB / 427.6 MB, free: 9.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.5737, allocations: 0 / 427.6 MB, free: 9.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.5739, allocations: 318.4 kB / 427.9 MB, free: 9.453 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.574, allocations: 39.94 kB / 428 MB, free: 9.426 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.5742, allocations: 71.05 kB / 428 MB, free: 9.359 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.5743, allocations: 47.3 kB / 428.1 MB, free: 9.328 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5743, allocations: 0 / 428.1 MB, free: 9.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005455/0.5749, allocations: 183.8 kB / 428.3 MB, free: 9.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.5749, allocations: 4 kB / 428.3 MB, free: 9.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5749, allocations: 4.062 kB / 428.3 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002574/0.5752, allocations: 39.41 kB / 428.3 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.5755, allocations: 31.92 kB / 428.3 MB, free: 9.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.5773, allocations: 1.422 MB / 429.8 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.5775, allocations: 11.52 kB / 429.8 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.5776, allocations: 8 kB / 429.8 MB, free: 7.641 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.5777, allocations: 116.6 kB / 429.9 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.5778, allocations: 15.81 kB / 429.9 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.207e-05/0.5778, allocations: 23.38 kB / 429.9 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5778, allocations: 0 / 429.9 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.5779, allocations: 7.984 kB / 429.9 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.5779, allocations: 0 / 429.9 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.5791, allocations: 0.5701 MB / 430.5 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5791, allocations: 4 kB / 430.5 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.5794, allocations: 27.98 kB / 430.5 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001973/0.5796, allocations: 36.28 kB / 430.6 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.5796, allocations: 3.312 kB / 430.6 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.5811, allocations: 1.362 MB / 431.9 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5812, allocations: 0 / 431.9 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/0.5818, allocations: 319 kB / 432.3 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.5819, allocations: 89.06 kB / 432.3 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.582, allocations: 14.92 kB / 432.4 MB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.5822, allocations: 10.48 kB / 432.4 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.5822, allocations: 19.05 kB / 432.4 MB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.5823, allocations: 4 kB / 432.4 MB, free: 5.051 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001329/0.5824, allocations: 115 kB / 432.5 MB, free: 4.949 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.5824, allocations: 0 / 432.5 MB, free: 4.949 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004442/0.5829, allocations: 46.69 kB / 432.5 MB, free: 4.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000972/0.5839, allocations: 0.8589 MB / 433.4 MB, free: 4.082 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006424/0.5845, allocations: 232.4 kB / 433.6 MB, free: 3.883 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5845, allocations: 192 / 433.6 MB, free: 3.883 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.5849, allocations: 176.6 kB / 433.8 MB, free: 3.719 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.5853, allocations: 19.48 kB / 433.8 MB, free: 3.707 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.5866, allocations: 438 kB / 434.2 MB, free: 3.273 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.5869, allocations: 0.7363 MB / 435 MB, free: 2.512 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.5871, allocations: 52.92 kB / 435 MB, free: 2.488 MB / 346.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5871, allocations: 0 / 435 MB, free: 2.488 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.853/3.44, allocations: 3.623 MB / 438.7 MB, free: 14.91 MB / 362.7 MB