Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.035/2.035, allocations: 225.8 MB / 239.3 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.036e-05/4.044e-05, allocations: 4 kB / 292.2 MB, free: 8.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1124, allocations: 50.4 MB / 342.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4755/0.5879, allocations: 77.33 MB / 420 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.5883, allocations: 70.83 kB / 420 MB, free: 428 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005834/0.5942, allocations: 1.422 MB / 421.4 MB, free: 15.17 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5942, allocations: 0 / 421.4 MB, free: 15.17 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.5943, allocations: 4 kB / 421.5 MB, free: 15.16 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005006/0.5948, allocations: 361.7 kB / 421.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.5948, allocations: 12.03 kB / 421.8 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.786e-05/0.5949, allocations: 42.48 kB / 421.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.595, allocations: 11.86 kB / 421.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.5952, allocations: 194.7 kB / 422.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.5953, allocations: 0 / 422.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.5953, allocations: 11.69 kB / 422.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.5957, allocations: 157.3 kB / 422.2 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.5957, allocations: 0 / 422.2 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.5958, allocations: 15.58 kB / 422.2 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.5958, allocations: 0 / 422.2 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.793e-05/0.5959, allocations: 23.69 kB / 422.3 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005919/0.5965, allocations: 369.3 kB / 422.6 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.5968, allocations: 104.1 kB / 422.7 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.597, allocations: 58.17 kB / 422.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.597, allocations: 7.953 kB / 422.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.5971, allocations: 30.56 kB / 422.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 5.24e-06/0.5971, allocations: 3.984 kB / 422.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003128/0.5974, allocations: 85.03 kB / 422.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.5975, allocations: 114.9 kB / 423 MB, free: 13.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.5977, allocations: 128.1 kB / 423.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.5977, allocations: 29.69 kB / 423.2 MB, free: 13.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.737e-05/0.5978, allocations: 162.5 kB / 423.3 MB, free: 13.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.5978, allocations: 7.844 kB / 423.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-06/0.5978, allocations: 3.938 kB / 423.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.598, allocations: 310.8 kB / 423.6 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.965e-05/0.598, allocations: 19.81 kB / 423.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.159e-05/0.5981, allocations: 71.53 kB / 423.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.397e-05/0.5982, allocations: 15.75 kB / 423.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5982, allocations: 4 kB / 423.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002149/0.5984, allocations: 85.11 kB / 423.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.5985, allocations: 11.95 kB / 423.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.5985, allocations: 4.281 kB / 423.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.5985, allocations: 4 kB / 423.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.5987, allocations: 23.8 kB / 423.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.942e-05/0.5988, allocations: 7.938 kB / 423.9 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.884e-05/0.5989, allocations: 4 kB / 423.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.5989, allocations: 4 kB / 423.9 MB, free: 12.57 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.869e-05/0.599, allocations: 108.9 kB / 424 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.5992, allocations: 80.81 kB / 424.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.707e-05/0.5993, allocations: 24.5 kB / 424.1 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.5993, allocations: 0 / 424.1 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.5993, allocations: 0 / 424.1 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.5994, allocations: 7.938 kB / 424.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.5997, allocations: 181.3 kB / 424.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.5997, allocations: 0 / 424.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.5999, allocations: 19.98 kB / 424.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.5999, allocations: 4 kB / 424.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.6, allocations: 0 / 424.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.6, allocations: 3.953 kB / 424.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6, allocations: 4 kB / 424.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.6005, allocations: 326.3 kB / 424.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.6006, allocations: 100.9 kB / 424.7 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.6006, allocations: 3.938 kB / 424.7 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.6008, allocations: 4 kB / 424.7 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.6009, allocations: 3.953 kB / 424.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.6009, allocations: 8 kB / 424.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000112/0.601, allocations: 102.7 kB / 424.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.601, allocations: 0 / 424.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003978/0.6014, allocations: 15.88 kB / 424.9 MB, free: 11.55 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 (10): * Single equations (assignments): 10 * 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.0008528/0.6023, allocations: 1.006 MB / 425.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.6026, allocations: 47.44 kB / 425.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.6026, allocations: 3.938 kB / 425.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.718e-05/0.6026, allocations: 11.92 kB / 425.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.6031, allocations: 39.48 kB / 426 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007553/0.6039, allocations: 202.1 kB / 426.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.6043, allocations: 0.716 MB / 426.9 MB, free: 9.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.6044, allocations: 19.19 kB / 426.9 MB, free: 9.469 MB / 346.7 MB Notification: Performance of SimCode: time 1.764e-06/0.6044, allocations: 0 / 426.9 MB, free: 9.469 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.587/3.192, allocations: 1.239 MB / 428.2 MB, free: 8.246 MB / 346.7 MB