Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.081/2.081, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.651e-05/3.656e-05, allocations: 4 kB / 292.2 MB, free: 8.777 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 50.41 MB / 342.6 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4673/0.5779, allocations: 78.18 MB / 420.8 MB, free: 15.97 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.5783, allocations: 72.34 kB / 420.9 MB, free: 15.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01093/0.5892, allocations: 2.554 MB / 423.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5893, allocations: 0 / 423.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.5893, allocations: 4 kB / 423.4 MB, free: 13.75 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.0006126/0.59, allocations: 387.8 kB / 423.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.685e-05/0.5901, allocations: 12.03 kB / 423.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.944e-05/0.5901, allocations: 41.69 kB / 423.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.5904, allocations: 30.92 kB / 423.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.5906, allocations: 178.1 kB / 424.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.5907, allocations: 11.23 kB / 424.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.5907, allocations: 23.06 kB / 424.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.591, allocations: 89.42 kB / 424.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.591, allocations: 0 / 424.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.5911, allocations: 2.875 kB / 424.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.5911, allocations: 7.953 kB / 424.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.5913, allocations: 57.11 kB / 424.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009467/0.5922, allocations: 444.2 kB / 424.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.5926, allocations: 98.77 kB / 424.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.715e-05/0.5927, allocations: 31.3 kB / 424.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.5928, allocations: 3.984 kB / 424.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.5928, allocations: 42.72 kB / 424.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 3.016e-06/0.5928, allocations: 3.938 kB / 424.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008441/0.5937, allocations: 360.8 kB / 425.2 MB, free: 11.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.5937, allocations: 59.33 kB / 425.3 MB, free: 11.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.5939, allocations: 110 kB / 425.4 MB, free: 11.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.5939, allocations: 25.7 kB / 425.4 MB, free: 11.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.594, allocations: 176.4 kB / 425.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/0.5941, allocations: 42.05 kB / 425.6 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/0.5941, allocations: 4 kB / 425.6 MB, free: 11.51 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5942, allocations: 322 kB / 425.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.343e-05/0.5943, allocations: 26.19 kB / 426 MB, free: 11.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.5945, allocations: 55.86 kB / 426 MB, free: 11.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.5946, allocations: 33.72 kB / 426.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5946, allocations: 4 kB / 426.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003136/0.5949, allocations: 130.1 kB / 426.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.595, allocations: 4 kB / 426.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.595, allocations: 0.5469 kB / 426.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.595, allocations: 4.047 kB / 426.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.5953, allocations: 35.91 kB / 426.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.5953, allocations: 4 kB / 426.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.5955, allocations: 7.312 kB / 426.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.5955, allocations: 4 kB / 426.3 MB, free: 10.93 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 (17): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.5956, allocations: 123.6 kB / 426.4 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.5957, allocations: 7.906 kB / 426.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.732e-05/0.5958, allocations: 16.17 kB / 426.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.5958, allocations: 4 kB / 426.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.5958, allocations: 0 / 426.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5958, allocations: 0 / 426.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000871/0.5967, allocations: 432 kB / 426.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.5967, allocations: 0 / 426.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.5971, allocations: 31.92 kB / 426.9 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.09e-05/0.5971, allocations: 4 kB / 426.9 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.5971, allocations: 3.438 kB / 426.9 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.5971, allocations: 0 / 426.9 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.5971, allocations: 4 kB / 426.9 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004931/0.5976, allocations: 270.6 kB / 427.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.048e-05/0.5977, allocations: 89.05 kB / 427.2 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.5978, allocations: 3.375 kB / 427.2 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.598, allocations: 4 kB / 427.2 MB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/0.598, allocations: 15.33 kB / 427.2 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.5981, allocations: 11.98 kB / 427.2 MB, free: 9.906 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.113e-05/0.5982, allocations: 87.22 kB / 427.3 MB, free: 9.824 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5982, allocations: 0 / 427.3 MB, free: 9.824 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003891/0.5986, allocations: 27.44 kB / 427.4 MB, free: 9.801 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0009181/0.5995, allocations: 0.9493 MB / 428.3 MB, free: 8.852 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.5998, allocations: 69.31 kB / 428.4 MB, free: 8.801 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5998, allocations: 0 / 428.4 MB, free: 8.801 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.5999, allocations: 38.81 kB / 428.4 MB, free: 8.773 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.6003, allocations: 19.66 kB / 428.4 MB, free: 8.758 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.6015, allocations: 413.5 kB / 428.8 MB, free: 8.328 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.6019, allocations: 0.712 MB / 429.6 MB, free: 7.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.602, allocations: 29.11 kB / 429.6 MB, free: 7.574 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6021, allocations: 0 / 429.6 MB, free: 7.574 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.505/3.107, allocations: 1.899 MB / 431.5 MB, free: 5.699 MB / 346.7 MB