Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.093/2.093, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.945e-05/3.951e-05, allocations: 5.406 kB / 292.2 MB, free: 8.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 50.41 MB / 342.6 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4471/0.5582, allocations: 76.74 MB / 419.4 MB, free: 1.395 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.5585, allocations: 74.33 kB / 419.5 MB, free: 1.352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004742/0.5633, allocations: 1.25 MB / 420.7 MB, free: 260 kB / 330.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.5634, allocations: 0 / 420.7 MB, free: 260 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.5634, allocations: 3.938 kB / 420.7 MB, free: 256 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.0003832/0.5638, allocations: 342.1 kB / 421 MB, free: 15.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.5638, allocations: 8.031 kB / 421.1 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.333e-05/0.5639, allocations: 38.5 kB / 421.1 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.564, allocations: 15.84 kB / 421.1 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.5643, allocations: 193.1 kB / 421.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.5643, allocations: 7.938 kB / 421.3 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.5643, allocations: 4 kB / 421.3 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.5647, allocations: 122 kB / 421.4 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5647, allocations: 0 / 421.4 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.5647, allocations: 3.953 kB / 421.4 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.5648, allocations: 4 kB / 421.4 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.316e-05/0.5648, allocations: 15.69 kB / 421.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.5651, allocations: 168.9 kB / 421.6 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.5653, allocations: 62.09 kB / 421.7 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.332e-05/0.5654, allocations: 39.53 kB / 421.7 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.5654, allocations: 0 / 421.7 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.5655, allocations: 38.56 kB / 421.8 MB, free: 15.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/0.5655, allocations: 0 / 421.8 MB, free: 15.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002364/0.5657, allocations: 68.95 kB / 421.8 MB, free: 15.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/0.5658, allocations: 63.45 kB / 421.9 MB, free: 14.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.566, allocations: 120.3 kB / 422 MB, free: 14.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.566, allocations: 29.7 kB / 422 MB, free: 14.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.5661, allocations: 91.75 kB / 422.1 MB, free: 14.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.5661, allocations: 3.938 kB / 422.1 MB, free: 14.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/0.5661, allocations: 3.938 kB / 422.1 MB, free: 14.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.5663, allocations: 322.8 kB / 422.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.769e-05/0.5663, allocations: 7.75 kB / 422.5 MB, free: 14.4 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.917e-05/0.5664, allocations: 54.75 kB / 422.5 MB, free: 14.33 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.45e-05/0.5665, allocations: 19.56 kB / 422.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5665, allocations: 0 / 422.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001766/0.5667, allocations: 85.14 kB / 422.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.5667, allocations: 8.062 kB / 422.6 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.5667, allocations: 4 kB / 422.6 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.5667, allocations: 4 kB / 422.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.597e-05/0.5668, allocations: 0 / 422.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.5668, allocations: 4 kB / 422.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.284e-05/0.5669, allocations: 11.62 kB / 422.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.5669, allocations: 8 kB / 422.6 MB, free: 14.2 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 9.081e-05/0.567, allocations: 110.7 kB / 422.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.5671, allocations: 69.23 kB / 422.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.891e-05/0.5672, allocations: 12.42 kB / 422.8 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.5672, allocations: 4 kB / 422.8 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.5672, allocations: 0 / 422.8 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5672, allocations: 0 / 422.8 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.5674, allocations: 169.2 kB / 423 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.5674, allocations: 0 / 423 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.061e-05/0.5674, allocations: 11.8 kB / 423 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5674, allocations: 0 / 423 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.5675, allocations: 8 kB / 423 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.5675, allocations: 0 / 423 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5675, allocations: 4 kB / 423 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.5677, allocations: 96.48 kB / 423.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.211e-05/0.5678, allocations: 92.69 kB / 423.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.5678, allocations: 0 / 423.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.555e-05/0.5678, allocations: 0 / 423.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-06/0.5678, allocations: 0 / 423.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.5679, allocations: 4 kB / 423.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.944e-05/0.568, allocations: 107.6 kB / 423.3 MB, free: 13.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.568, allocations: 7.938 kB / 423.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000277/0.5683, allocations: 7.938 kB / 423.3 MB, free: 13.46 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.0006035/0.5689, allocations: 0.67 MB / 424 MB, free: 12.78 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.5691, allocations: 40.06 kB / 424 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5691, allocations: 0 / 424 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.5691, allocations: 0 / 424 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.5694, allocations: 39.22 kB / 424.1 MB, free: 12.72 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/0.5699, allocations: 148.7 kB / 424.2 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.5703, allocations: 0.6978 MB / 424.9 MB, free: 11.83 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.589e-05/0.5703, allocations: 7.984 kB / 424.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.198e-05/0.5704, allocations: 19.44 kB / 425 MB, free: 11.8 MB / 346.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5704, allocations: 0 / 425 MB, free: 11.8 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.5926, allocations: 1.426 MB / 426.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003405/0.593, allocations: 174.9 kB / 426.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/2.944, allocations: 4.062 kB / 426.6 MB, free: 10.23 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat