Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.105/2.105, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.717e-05/3.722e-05, allocations: 7.984 kB / 292.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 50.42 MB / 342.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.431/0.5401, allocations: 76.53 MB / 419.2 MB, free: 1.566 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.5404, allocations: 74.7 kB / 419.2 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003594/0.544, allocations: 1.032 MB / 420.3 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.544, allocations: 0.6875 kB / 420.3 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.5441, allocations: 4 kB / 420.3 MB, free: 0.6094 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.0003539/0.5444, allocations: 341.5 kB / 420.6 MB, free: 244 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.5445, allocations: 8.031 kB / 420.6 MB, free: 236 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/0.5445, allocations: 38.48 kB / 420.7 MB, free: 192 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.5446, allocations: 7.953 kB / 420.7 MB, free: 184 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.5448, allocations: 190.8 kB / 420.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.5449, allocations: 0 / 420.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.5449, allocations: 4 kB / 420.9 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.5451, allocations: 89.25 kB / 420.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.5451, allocations: 0 / 420.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.5452, allocations: 3.984 kB / 420.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.5452, allocations: 3.953 kB / 420.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.657e-05/0.5452, allocations: 4 kB / 421 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.5456, allocations: 261 kB / 421.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.273e-05/0.5457, allocations: 37.84 kB / 421.2 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.5457, allocations: 17.72 kB / 421.3 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.5457, allocations: 0 / 421.3 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.5458, allocations: 34.56 kB / 421.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.5458, allocations: 4 kB / 421.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000169/0.546, allocations: 57.36 kB / 421.4 MB, free: 15.37 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.546, allocations: 77.11 kB / 421.4 MB, free: 15.28 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.5462, allocations: 119.3 kB / 421.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.5462, allocations: 25.7 kB / 421.6 MB, free: 15.13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.5463, allocations: 154.5 kB / 421.7 MB, free: 14.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.5463, allocations: 3.906 kB / 421.7 MB, free: 14.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.5463, allocations: 64 / 421.7 MB, free: 14.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.5464, allocations: 318.8 kB / 422 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.5465, allocations: 3.938 kB / 422 MB, free: 14.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.432e-05/0.5465, allocations: 17.53 kB / 422.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.108e-05/0.5465, allocations: 3.938 kB / 422.1 MB, free: 14.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5465, allocations: 4 kB / 422.1 MB, free: 14.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.077e-05/0.5466, allocations: 45.62 kB / 422.1 MB, free: 14.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.5467, allocations: 4 kB / 422.1 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5467, allocations: 0 / 422.1 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.5467, allocations: 3.953 kB / 422.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.755e-05/0.5467, allocations: 4 kB / 422.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.5467, allocations: 0 / 422.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.546e-05/0.5468, allocations: 0 / 422.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.5468, allocations: 4 kB / 422.1 MB, free: 14.57 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.174e-05/0.5469, allocations: 114 kB / 422.2 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.436e-05/0.547, allocations: 37.77 kB / 422.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.547, allocations: 7.406 kB / 422.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.5471, allocations: 0 / 422.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.5471, allocations: 7.953 kB / 422.3 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5471, allocations: 0 / 422.3 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.5473, allocations: 161.5 kB / 422.4 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5473, allocations: 0 / 422.4 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.779e-06/0.5473, allocations: 3.875 kB / 422.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.5473, allocations: 0 / 422.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.5474, allocations: 4 kB / 422.5 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.5474, allocations: 32 / 422.5 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5474, allocations: 4 kB / 422.5 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.5475, allocations: 161.8 kB / 422.6 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.359e-05/0.5476, allocations: 92.69 kB / 422.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.5477, allocations: 0 / 422.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.653e-05/0.5478, allocations: 4 kB / 422.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.5478, allocations: 7.984 kB / 422.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.5478, allocations: 0 / 422.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.691e-05/0.5479, allocations: 107.5 kB / 422.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5479, allocations: 0 / 422.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.5482, allocations: 4 kB / 422.8 MB, free: 13.79 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.0004455/0.5487, allocations: 0.7562 MB / 423.6 MB, free: 13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.681e-05/0.5488, allocations: 15.75 kB / 423.6 MB, free: 12.99 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5488, allocations: 0 / 423.6 MB, free: 12.99 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.675e-05/0.5488, allocations: 0 / 423.6 MB, free: 12.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.5491, allocations: 23.84 kB / 423.6 MB, free: 12.97 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/0.5496, allocations: 156.9 kB / 423.8 MB, free: 12.78 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.5499, allocations: 0.6848 MB / 424.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.5499, allocations: 19.25 kB / 424.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.021e-06/0.5499, allocations: 0 / 424.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.401/2.951, allocations: 0.8457 MB / 425.3 MB, free: 11.21 MB / 346.7 MB