Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.118/2.118, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.489e-05, allocations: 0 / 292.7 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1134, allocations: 50.41 MB / 343.2 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5416/0.655, allocations: 76.74 MB / 419.9 MB, free: 1.375 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/0.6555, allocations: 82.14 kB / 420 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004681/0.6602, allocations: 1.238 MB / 421.2 MB, free: 248 kB / 330.7 MB Notification: Performance of FrontEnd: time 4.588e-06/0.6602, allocations: 0 / 421.2 MB, free: 248 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.6602, allocations: 3.938 kB / 421.2 MB, free: 244 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003975/0.6606, allocations: 352.1 kB / 421.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.6607, allocations: 8.031 kB / 421.6 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.421e-05/0.6608, allocations: 41.81 kB / 421.6 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.6608, allocations: 11.86 kB / 421.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.6611, allocations: 192.7 kB / 421.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.6611, allocations: 3.188 kB / 421.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.6611, allocations: 4 kB / 421.8 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.6615, allocations: 133.2 kB / 422 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.6615, allocations: 0 / 422 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.6616, allocations: 3.953 kB / 422 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.6616, allocations: 0 / 422 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.055e-05/0.6616, allocations: 15.81 kB / 422 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/0.6618, allocations: 168.1 kB / 422.1 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.662, allocations: 68.77 kB / 422.2 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/0.6621, allocations: 39.05 kB / 422.2 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.6622, allocations: 3.984 kB / 422.2 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.6622, allocations: 34.56 kB / 422.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 2.003e-06/0.6622, allocations: 0 / 422.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002163/0.6624, allocations: 67.39 kB / 422.3 MB, free: 15.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.6625, allocations: 62.17 kB / 422.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.6627, allocations: 118 kB / 422.5 MB, free: 14.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.6627, allocations: 25.7 kB / 422.5 MB, free: 14.81 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.6628, allocations: 91.77 kB / 422.6 MB, free: 14.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.6628, allocations: 3.984 kB / 422.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.6628, allocations: 3.5 kB / 422.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.6629, allocations: 318 kB / 423 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/0.663, allocations: 7.938 kB / 423 MB, free: 14.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.589e-05/0.6631, allocations: 65.94 kB / 423 MB, free: 14.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.974e-05/0.6631, allocations: 18.88 kB / 423 MB, free: 14.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6631, allocations: 0 / 423 MB, free: 14.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000172/0.6633, allocations: 83.64 kB / 423.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.6633, allocations: 4 kB / 423.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.6634, allocations: 4 kB / 423.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.6634, allocations: 0 / 423.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.613e-05/0.6634, allocations: 8.188 kB / 423.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.6634, allocations: 8.078 kB / 423.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.989e-05/0.6635, allocations: 7.453 kB / 423.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.6635, allocations: 7.984 kB / 423.2 MB, free: 14.18 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.779e-05/0.6636, allocations: 114.1 kB / 423.3 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.6638, allocations: 71.53 kB / 423.3 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/0.6638, allocations: 8 kB / 423.4 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.6638, allocations: 0 / 423.4 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6639, allocations: 4 kB / 423.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.6639, allocations: 7.984 kB / 423.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.664, allocations: 168.2 kB / 423.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.664, allocations: 0 / 423.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.6e-05/0.6641, allocations: 0 / 423.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.6641, allocations: 0 / 423.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.6641, allocations: 7.562 kB / 423.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.6641, allocations: 0 / 423.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6641, allocations: 0 / 423.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.6643, allocations: 103.5 kB / 423.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.244e-05/0.6644, allocations: 96.38 kB / 423.7 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.6644, allocations: 7.938 kB / 423.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.739e-05/0.6645, allocations: 2.5 kB / 423.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-06/0.6645, allocations: 0 / 423.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.6645, allocations: 4 kB / 423.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.628e-05/0.6646, allocations: 105.7 kB / 423.8 MB, free: 13.44 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6646, allocations: 3.938 kB / 423.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000279/0.6649, allocations: 7.375 kB / 423.9 MB, free: 13.43 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.0005889/0.6655, allocations: 0.6651 MB / 424.5 MB, free: 12.76 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.6657, allocations: 37.19 kB / 424.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6657, allocations: 0 / 424.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.6657, allocations: 0 / 424.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.6661, allocations: 39.27 kB / 424.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005018/0.6666, allocations: 153.6 kB / 424.7 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.6669, allocations: 0.6978 MB / 425.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.035e-05/0.667, allocations: 7.984 kB / 425.5 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.667, allocations: 14.69 kB / 425.5 MB, free: 11.79 MB / 346.7 MB Notification: Performance of SimCode: time 1.493e-06/0.667, allocations: 0 / 425.5 MB, free: 11.79 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.6867, allocations: 1.433 MB / 426.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003374/0.6871, allocations: 170.4 kB / 427.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.406/3.093, allocations: 0 / 427.1 MB, free: 10.2 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat