Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.059/2.059, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.667e-05/3.675e-05, allocations: 4 kB / 292.2 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1194, allocations: 50.41 MB / 342.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4406/0.5601, allocations: 76.72 MB / 419.4 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.5604, allocations: 78.33 kB / 419.4 MB, free: 1.383 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003969/0.5644, allocations: 1.103 MB / 420.5 MB, free: 412 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5644, allocations: 1.031 kB / 420.5 MB, free: 412 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.5645, allocations: 7.938 kB / 420.5 MB, free: 404 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003785/0.5649, allocations: 339.1 kB / 420.9 MB, free: 24 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.5649, allocations: 12.03 kB / 420.9 MB, free: 12 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.794e-05/0.565, allocations: 38.5 kB / 420.9 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.565, allocations: 11.86 kB / 420.9 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.5653, allocations: 179 kB / 421.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.5653, allocations: 3.812 kB / 421.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.5653, allocations: 4 kB / 421.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.5656, allocations: 116.3 kB / 421.2 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.5657, allocations: 0 / 421.2 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.5657, allocations: 0 / 421.2 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.5657, allocations: 3.953 kB / 421.2 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.512e-05/0.5657, allocations: 11.88 kB / 421.2 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.5661, allocations: 258 kB / 421.5 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.5663, allocations: 130.1 kB / 421.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.721e-05/0.5664, allocations: 25.66 kB / 421.6 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.5664, allocations: 3.812 kB / 421.7 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.5665, allocations: 34.64 kB / 421.7 MB, free: 15.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.5665, allocations: 0 / 421.7 MB, free: 15.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001834/0.5667, allocations: 57.47 kB / 421.7 MB, free: 15.03 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.5667, allocations: 81.09 kB / 421.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.5669, allocations: 127.1 kB / 421.9 MB, free: 14.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.5669, allocations: 25.7 kB / 422 MB, free: 14.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.567, allocations: 150.6 kB / 422.1 MB, free: 14.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.567, allocations: 11.92 kB / 422.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.567, allocations: 0 / 422.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.5672, allocations: 314.8 kB / 422.4 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.938e-05/0.5672, allocations: 8.031 kB / 422.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.213e-05/0.5673, allocations: 35.11 kB / 422.5 MB, free: 14.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.903e-05/0.5673, allocations: 5.156 kB / 422.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5673, allocations: 0 / 422.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001063/0.5674, allocations: 57.56 kB / 422.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.5675, allocations: 4 kB / 422.5 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5675, allocations: 0 / 422.5 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.5675, allocations: 7.953 kB / 422.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.508e-05/0.5675, allocations: 0 / 422.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.5675, allocations: 4 kB / 422.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.341e-05/0.5676, allocations: 3.812 kB / 422.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.5676, allocations: 4 kB / 422.6 MB, free: 14.18 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: 4 (sample1.u,sample1.y,assignClock.y,assignClock.u) * 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 7.987e-05/0.5677, allocations: 109 kB / 422.7 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.973e-05/0.5678, allocations: 56.16 kB / 422.7 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.5679, allocations: 11.28 kB / 422.7 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.5679, allocations: 0 / 422.7 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.5679, allocations: 3.953 kB / 422.7 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5679, allocations: 0 / 422.7 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.5681, allocations: 168.2 kB / 422.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5681, allocations: 4 kB / 422.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.038e-05/0.5682, allocations: 0 / 422.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5682, allocations: 0 / 422.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.5682, allocations: 10.8 kB / 422.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.5682, allocations: 4 kB / 422.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5682, allocations: 0 / 422.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.5684, allocations: 168.5 kB / 423.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.876e-05/0.5685, allocations: 92.94 kB / 423.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.5685, allocations: 0 / 423.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.5686, allocations: 8 kB / 423.2 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.5687, allocations: 3.953 kB / 423.2 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.5687, allocations: 4 kB / 423.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.88e-05/0.5688, allocations: 102.8 kB / 423.3 MB, free: 13.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5688, allocations: 0 / 423.3 MB, free: 13.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003298/0.5691, allocations: 11.5 kB / 423.3 MB, free: 13.36 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: 4 (sample1.u,assignClock.u,assignClock.y,sample1.y) * 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.000472/0.5696, allocations: 0.7655 MB / 424.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.5697, allocations: 19.17 kB / 424.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5697, allocations: 0 / 424.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.051e-05/0.5698, allocations: 6.938 kB / 424.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.5701, allocations: 27.36 kB / 424.1 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.5706, allocations: 166.9 kB / 424.3 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.5709, allocations: 0.6893 MB / 425 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.571, allocations: 14.69 kB / 425 MB, free: 11.6 MB / 346.7 MB Notification: Performance of SimCode: time 8.51e-07/0.571, allocations: 0 / 425 MB, free: 11.6 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.258/2.829, allocations: 0.9284 MB / 425.9 MB, free: 10.68 MB / 346.7 MB