Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.94/1.94, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.482e-05, allocations: 4 kB / 292.2 MB, free: 8.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 50.41 MB / 342.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.419/0.523, allocations: 76.55 MB / 419.2 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.5233, allocations: 73.73 kB / 419.3 MB, free: 1.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004128/0.5275, allocations: 1.105 MB / 420.4 MB, free: 0.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5275, allocations: 0 / 420.4 MB, free: 0.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.5276, allocations: 0 / 420.4 MB, free: 0.5 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004607/0.528, allocations: 341.9 kB / 420.7 MB, free: 128 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.5281, allocations: 12.03 kB / 420.7 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.5282, allocations: 38.5 kB / 420.7 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.5282, allocations: 15.17 kB / 420.8 MB, free: 56 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.5285, allocations: 173.2 kB / 420.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.5285, allocations: 4.562 kB / 420.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.5285, allocations: 11.92 kB / 420.9 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.5288, allocations: 79.19 kB / 421 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5288, allocations: 4 kB / 421 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.5288, allocations: 0 / 421 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.5288, allocations: 7.953 kB / 421 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.645e-05/0.5289, allocations: 4 kB / 421 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.5293, allocations: 274.7 kB / 421.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.734e-05/0.5294, allocations: 41.95 kB / 421.3 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.5295, allocations: 12.84 kB / 421.4 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.5295, allocations: 0 / 421.4 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.5295, allocations: 34.62 kB / 421.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.5296, allocations: 0 / 421.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001834/0.5297, allocations: 48.89 kB / 421.4 MB, free: 15.26 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.5298, allocations: 85.17 kB / 421.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.53, allocations: 124.6 kB / 421.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.53, allocations: 25.7 kB / 421.7 MB, free: 15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.5301, allocations: 154.5 kB / 421.8 MB, free: 14.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.5301, allocations: 3.938 kB / 421.8 MB, free: 14.85 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.5301, allocations: 3.25 kB / 421.8 MB, free: 14.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5303, allocations: 310.8 kB / 422.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/0.5303, allocations: 4 kB / 422.1 MB, free: 14.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.941e-05/0.5304, allocations: 21.66 kB / 422.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.5304, allocations: 4.344 kB / 422.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5304, allocations: 0 / 422.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.702e-05/0.5305, allocations: 41.69 kB / 422.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.5305, allocations: 4 kB / 422.2 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.5306, allocations: 0 / 422.2 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.5306, allocations: 8.078 kB / 422.2 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.5307, allocations: 8 kB / 422.2 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.5307, allocations: 7.875 kB / 422.2 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.226e-05/0.5308, allocations: 7.109 kB / 422.2 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.5308, allocations: 4 kB / 422.2 MB, free: 14.42 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.893e-05/0.5309, allocations: 101 kB / 422.3 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.838e-05/0.531, allocations: 37.61 kB / 422.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.01e-05/0.531, allocations: 6.719 kB / 422.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.5311, allocations: 11.98 kB / 422.4 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5311, allocations: 0 / 422.4 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.5311, allocations: 3.984 kB / 422.4 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.5313, allocations: 159.7 kB / 422.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5313, allocations: 0 / 422.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.5314, allocations: 11.98 kB / 422.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5314, allocations: 0 / 422.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.5315, allocations: 0 / 422.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5315, allocations: 0 / 422.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.5315, allocations: 7.953 kB / 422.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.5317, allocations: 158.5 kB / 422.7 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.81e-05/0.5318, allocations: 89 kB / 422.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.5318, allocations: 0 / 422.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.681e-05/0.5319, allocations: 11.94 kB / 422.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.532, allocations: 3.125 kB / 422.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.532, allocations: 4.031 kB / 422.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001041/0.5321, allocations: 105.8 kB / 422.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5321, allocations: 0 / 422.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002901/0.5324, allocations: 4 kB / 422.9 MB, free: 13.64 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005524/0.533, allocations: 0.7658 MB / 423.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.833e-05/0.5331, allocations: 8 kB / 423.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5331, allocations: 0 / 423.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.124e-05/0.5331, allocations: 0 / 423.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.5334, allocations: 27.17 kB / 423.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.534, allocations: 160.2 kB / 423.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.5343, allocations: 0.6887 MB / 424.6 MB, free: 11.92 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.5344, allocations: 12.94 kB / 424.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of SimCode: time 1.011e-06/0.5344, allocations: 0 / 424.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.547/3.082, allocations: 0.8759 MB / 425.5 MB, free: 11.04 MB / 346.7 MB