Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.043/2.043, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.803e-05/3.798e-05, allocations: 5.406 kB / 292.2 MB, free: 8.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1108, allocations: 50.41 MB / 342.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.434/0.5448, allocations: 76.83 MB / 419.5 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/0.5452, allocations: 77.89 kB / 419.5 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004647/0.5499, allocations: 1.246 MB / 420.8 MB, free: 15.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.159e-06/0.5499, allocations: 0 / 420.8 MB, free: 15.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.55, allocations: 3.938 kB / 420.8 MB, free: 15.77 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003544/0.5503, allocations: 352.5 kB / 421.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.5504, allocations: 8.031 kB / 421.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.924e-05/0.5504, allocations: 37.75 kB / 421.2 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.5505, allocations: 11.86 kB / 421.2 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.5507, allocations: 182.5 kB / 421.4 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.5508, allocations: 7.562 kB / 421.4 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.5508, allocations: 0 / 421.4 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.5511, allocations: 126 kB / 421.5 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.5511, allocations: 0 / 421.5 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.5512, allocations: 7.078 kB / 421.5 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.5512, allocations: 7.984 kB / 421.5 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.539e-05/0.5512, allocations: 11.19 kB / 421.5 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.5514, allocations: 167.8 kB / 421.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.5516, allocations: 68.39 kB / 421.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.5518, allocations: 35.23 kB / 421.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.5518, allocations: 4 kB / 421.8 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.5518, allocations: 30.56 kB / 421.8 MB, free: 14.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.763e-06/0.5518, allocations: 0 / 421.8 MB, free: 14.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002065/0.552, allocations: 70.17 kB / 421.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.5521, allocations: 62.48 kB / 422 MB, free: 14.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.5523, allocations: 125 kB / 422.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.5523, allocations: 32.77 kB / 422.1 MB, free: 14.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.5524, allocations: 154.5 kB / 422.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.5524, allocations: 7.172 kB / 422.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.5524, allocations: 3.938 kB / 422.3 MB, free: 14.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.5525, allocations: 314.8 kB / 422.6 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.647e-05/0.5526, allocations: 7.562 kB / 422.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.555e-05/0.5527, allocations: 57.25 kB / 422.6 MB, free: 13.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.203e-05/0.5527, allocations: 22.86 kB / 422.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5527, allocations: 0 / 422.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000165/0.5529, allocations: 83.72 kB / 422.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.5529, allocations: 4 kB / 422.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.553, allocations: 4 kB / 422.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.553, allocations: 0 / 422.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.759e-05/0.553, allocations: 7.984 kB / 422.8 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.553, allocations: 8.25 kB / 422.8 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.832e-05/0.5531, allocations: 7.453 kB / 422.8 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.5531, allocations: 4 kB / 422.8 MB, free: 13.66 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.588e-05/0.5532, allocations: 116.4 kB / 422.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.5533, allocations: 64.84 kB / 423 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.154e-05/0.5534, allocations: 19.55 kB / 423 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5534, allocations: 0 / 423 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5534, allocations: 0 / 423 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.5535, allocations: 4 kB / 423 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.5536, allocations: 175.9 kB / 423.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5536, allocations: 4 kB / 423.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.494e-05/0.5536, allocations: 0 / 423.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.5536, allocations: 0 / 423.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.5537, allocations: 6.5 kB / 423.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5537, allocations: 0 / 423.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.5537, allocations: 4 kB / 423.2 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.5539, allocations: 96.22 kB / 423.3 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.295e-05/0.554, allocations: 96.47 kB / 423.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.554, allocations: 0 / 423.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.681e-05/0.554, allocations: 3.625 kB / 423.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-06/0.554, allocations: 0 / 423.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.5541, allocations: 4 kB / 423.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.523e-05/0.5541, allocations: 99.14 kB / 423.5 MB, free: 12.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5542, allocations: 3.938 kB / 423.5 MB, free: 12.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002772/0.5544, allocations: 11.75 kB / 423.5 MB, free: 12.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0005299/0.555, allocations: 0.6619 MB / 424.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.5551, allocations: 43.38 kB / 424.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5552, allocations: 0 / 424.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.5552, allocations: 0 / 424.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.5555, allocations: 44.42 kB / 424.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/0.556, allocations: 180.2 kB / 424.4 MB, free: 11.97 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.5563, allocations: 0.7003 MB / 425.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.5564, allocations: 15.19 kB / 425.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5564, allocations: 0 / 425.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.309/2.865, allocations: 1.08 MB / 426.2 MB, free: 10.16 MB / 346.7 MB