Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_trunk_cpp_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.211e-05/4.213e-05, allocations: 8 kB / 292.2 MB, free: 8.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1093, allocations: 50.41 MB / 342.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4345/0.5439, allocations: 76.45 MB / 419.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.5442, allocations: 62.66 kB / 419.1 MB, free: 1.285 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007075/0.5513, allocations: 1.506 MB / 420.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5513, allocations: 0 / 420.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.5513, allocations: 0 / 420.6 MB, free: 15.96 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006233/0.552, allocations: 384.9 kB / 421 MB, free: 15.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.552, allocations: 10.88 kB / 421 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.187e-05/0.5521, allocations: 34.56 kB / 421.1 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.5521, allocations: 0 / 421.1 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.5523, allocations: 179 kB / 421.2 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.5523, allocations: 0 / 421.2 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.5524, allocations: 0 / 421.2 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.5525, allocations: 71.5 kB / 421.3 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.5526, allocations: 0 / 421.3 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.5526, allocations: 3.953 kB / 421.3 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5526, allocations: 3.938 kB / 421.3 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.5527, allocations: 22.98 kB / 421.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002394/0.553, allocations: 192.7 kB / 421.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.5531, allocations: 74.72 kB / 421.6 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.72e-05/0.5532, allocations: 29.02 kB / 421.6 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.5533, allocations: 0 / 421.6 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.5533, allocations: 38.56 kB / 421.7 MB, free: 14.78 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.417e-06/0.5533, allocations: 0 / 421.7 MB, free: 14.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002638/0.5536, allocations: 75.16 kB / 421.7 MB, free: 14.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.5537, allocations: 110.8 kB / 421.8 MB, free: 14.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.5538, allocations: 111.6 kB / 422 MB, free: 14.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.5538, allocations: 29.69 kB / 422 MB, free: 14.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.401e-05/0.5539, allocations: 160 kB / 422.1 MB, free: 14.28 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.554, allocations: 7.906 kB / 422.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-06/0.554, allocations: 4 kB / 422.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5541, allocations: 313.8 kB / 422.5 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.551e-05/0.5542, allocations: 11.25 kB / 422.5 MB, free: 13.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.005e-05/0.5543, allocations: 36.81 kB / 422.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.298e-05/0.5543, allocations: 11.44 kB / 422.5 MB, free: 13.9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5544, allocations: 4 kB / 422.5 MB, free: 13.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000199/0.5546, allocations: 67.73 kB / 422.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.5546, allocations: 11.94 kB / 422.6 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5546, allocations: 0 / 422.6 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.5546, allocations: 0 / 422.6 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.5549, allocations: 19.98 kB / 422.6 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.5549, allocations: 7.953 kB / 422.6 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.5551, allocations: 20.08 kB / 422.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.5551, allocations: 7.984 kB / 422.6 MB, free: 13.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.545e-05/0.5552, allocations: 104.9 kB / 422.8 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.5553, allocations: 7.906 kB / 422.8 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.5553, allocations: 14.66 kB / 422.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.5553, allocations: 0 / 422.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.217e-05/0.5554, allocations: 0 / 422.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.5554, allocations: 11.95 kB / 422.8 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.5556, allocations: 172.3 kB / 423 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5556, allocations: 3.984 kB / 423 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.5558, allocations: 19.98 kB / 423 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.5558, allocations: 4 kB / 423 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.5558, allocations: 3.375 kB / 423 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.5559, allocations: 0 / 423 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.5559, allocations: 7.984 kB / 423 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.5561, allocations: 127.5 kB / 423.1 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.745e-05/0.5562, allocations: 89.14 kB / 423.2 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.5562, allocations: 0 / 423.2 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.5564, allocations: 23.94 kB / 423.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.5565, allocations: 11.11 kB / 423.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.5565, allocations: 3.984 kB / 423.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.202e-05/0.5566, allocations: 101.8 kB / 423.3 MB, free: 13 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5566, allocations: 0 / 423.3 MB, free: 13 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002668/0.5569, allocations: 8 kB / 423.3 MB, free: 13 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006067/0.5575, allocations: 0.7988 MB / 424.1 MB, free: 12.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.5577, allocations: 33.61 kB / 424.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.5577, allocations: 0 / 424.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.337e-05/0.5578, allocations: 31.05 kB / 424.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.5579, allocations: 11.28 kB / 424.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007174/0.5587, allocations: 171.3 kB / 424.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.559, allocations: 0.6928 MB / 425.1 MB, free: 11.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.78e-05/0.5591, allocations: 21.98 kB / 425.1 MB, free: 11.17 MB / 346.7 MB Notification: Performance of SimCode: time 6.42e-07/0.5591, allocations: 3.938 kB / 425.1 MB, free: 11.17 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.31/2.869, allocations: 1.178 MB / 426.3 MB, free: 10.01 MB / 346.7 MB