Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.132/2.132, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.496e-05/3.507e-05, allocations: 4 kB / 292.2 MB, free: 8.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1223, allocations: 50.41 MB / 342.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4589/0.5813, allocations: 78.09 MB / 420.7 MB, free: 15.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/0.5817, allocations: 73.95 kB / 420.8 MB, free: 15.65 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01356/0.5953, allocations: 2.449 MB / 423.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5953, allocations: 3.938 kB / 423.2 MB, free: 13.56 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.5954, allocations: 3.984 kB / 423.2 MB, free: 13.56 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006975/0.5961, allocations: 389.5 kB / 423.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/0.5962, allocations: 10.88 kB / 423.6 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.319e-05/0.5963, allocations: 45.36 kB / 423.7 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003478/0.5966, allocations: 27.84 kB / 423.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.597, allocations: 190.3 kB / 423.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.597, allocations: 7.75 kB / 423.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.436e-05/0.5971, allocations: 10.62 kB / 423.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/0.5974, allocations: 91.94 kB / 424 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.5975, allocations: 4 kB / 424 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.5975, allocations: 7.562 kB / 424 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.5975, allocations: 3.953 kB / 424 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002586/0.5978, allocations: 50.19 kB / 424.1 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.5992, allocations: 490.3 kB / 424.5 MB, free: 12.22 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.5997, allocations: 82.97 kB / 424.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.625e-05/0.5998, allocations: 23.61 kB / 424.6 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.5999, allocations: 4 kB / 424.7 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.5999, allocations: 30.56 kB / 424.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 3.727e-06/0.5999, allocations: 0 / 424.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003448/0.6003, allocations: 83.38 kB / 424.8 MB, free: 12.01 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.6004, allocations: 59.34 kB / 424.8 MB, free: 11.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.6005, allocations: 111.4 kB / 424.9 MB, free: 11.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.6006, allocations: 25.7 kB / 425 MB, free: 11.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.6007, allocations: 180.8 kB / 425.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.6008, allocations: 34.48 kB / 425.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.6008, allocations: 3.375 kB / 425.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.601, allocations: 318.8 kB / 425.5 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.6011, allocations: 25.31 kB / 425.5 MB, free: 11.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.6013, allocations: 45.06 kB / 425.5 MB, free: 11.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.6014, allocations: 29.3 kB / 425.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.6014, allocations: 4 kB / 425.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000373/0.6018, allocations: 105.8 kB / 425.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.6019, allocations: 8.094 kB / 425.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.6019, allocations: 0 / 425.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.6019, allocations: 4 kB / 425.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.6022, allocations: 23.25 kB / 425.7 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.6023, allocations: 3.984 kB / 425.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.6024, allocations: 7.938 kB / 425.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.6025, allocations: 4 kB / 425.7 MB, free: 11.05 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 (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.6026, allocations: 116.7 kB / 425.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.214e-05/0.6027, allocations: 11.91 kB / 425.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/0.6028, allocations: 11.69 kB / 425.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.6028, allocations: 0 / 425.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6028, allocations: 0 / 425.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.6028, allocations: 0 / 425.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.6033, allocations: 202.7 kB / 426.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6033, allocations: 0 / 426.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.6037, allocations: 19.98 kB / 426.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.6037, allocations: 0 / 426.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.6037, allocations: 11.81 kB / 426.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.6037, allocations: 0 / 426.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6038, allocations: 4 kB / 426.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004624/0.6042, allocations: 206.5 kB / 426.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-05/0.6043, allocations: 89.12 kB / 426.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.6044, allocations: 4 kB / 426.4 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.6046, allocations: 0 / 426.4 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.6046, allocations: 3.75 kB / 426.4 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.6047, allocations: 4 kB / 426.4 MB, free: 10.35 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.81e-05/0.6048, allocations: 98.83 kB / 426.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6048, allocations: 0 / 426.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006568/0.6055, allocations: 35.47 kB / 426.5 MB, free: 10.22 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008771/0.6063, allocations: 0.7403 MB / 427.3 MB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.6066, allocations: 56.56 kB / 427.3 MB, free: 9.438 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6067, allocations: 4.344 kB / 427.3 MB, free: 9.434 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.235e-05/0.6068, allocations: 22.94 kB / 427.4 MB, free: 9.418 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.6073, allocations: 19.47 kB / 427.4 MB, free: 9.402 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.6089, allocations: 384.5 kB / 427.8 MB, free: 8.996 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.6094, allocations: 0.7043 MB / 428.5 MB, free: 8.266 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.6095, allocations: 34.61 kB / 428.5 MB, free: 8.246 MB / 346.7 MB Notification: Performance of SimCode: time 1.323e-06/0.6095, allocations: 0 / 428.5 MB, free: 8.246 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.527/3.136, allocations: 1.755 MB / 430.2 MB, free: 6.512 MB / 346.7 MB