Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.193/2.193, allocations: 225.8 MB / 238.8 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.775e-05/4.771e-05, allocations: 4 kB / 292.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 50.4 MB / 342.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4747/0.5857, allocations: 76.66 MB / 419.3 MB, free: 1.504 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.5861, allocations: 78.14 kB / 419.4 MB, free: 1.461 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004029/0.5901, allocations: 1.104 MB / 420.5 MB, free: 496 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5902, allocations: 0 / 420.5 MB, free: 496 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.5902, allocations: 7.938 kB / 420.5 MB, free: 488 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.0004058/0.5906, allocations: 346.7 kB / 420.8 MB, free: 104 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.5907, allocations: 8.031 kB / 420.8 MB, free: 96 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.5907, allocations: 34.56 kB / 420.9 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.5908, allocations: 11.86 kB / 420.9 MB, free: 40 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.591, allocations: 181.3 kB / 421.1 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.5911, allocations: 0 / 421.1 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.5911, allocations: 7.562 kB / 421.1 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.5914, allocations: 111.8 kB / 421.2 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.5914, allocations: 4 kB / 421.2 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.5914, allocations: 0 / 421.2 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.5915, allocations: 3.953 kB / 421.2 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.291e-05/0.5915, allocations: 11.44 kB / 421.2 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.5919, allocations: 266.9 kB / 421.5 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.5921, allocations: 129.5 kB / 421.6 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.664e-05/0.5922, allocations: 21.34 kB / 421.6 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.5922, allocations: 3.984 kB / 421.6 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.5922, allocations: 42.12 kB / 421.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.5923, allocations: 0 / 421.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000192/0.5925, allocations: 57.11 kB / 421.7 MB, free: 15.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.5925, allocations: 77.11 kB / 421.8 MB, free: 15.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.5927, allocations: 123 kB / 421.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.5927, allocations: 25.7 kB / 421.9 MB, free: 14.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.5928, allocations: 91.41 kB / 422 MB, free: 14.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/0.5928, allocations: 3.875 kB / 422 MB, free: 14.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-06/0.5928, allocations: 4 kB / 422 MB, free: 14.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.593, allocations: 310.8 kB / 422.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.593, allocations: 4 kB / 422.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.874e-05/0.593, allocations: 31.25 kB / 422.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.265e-05/0.5931, allocations: 13.14 kB / 422.4 MB, free: 14.4 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5931, allocations: 0 / 422.4 MB, free: 14.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001141/0.5932, allocations: 53.38 kB / 422.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.5933, allocations: 4 kB / 422.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.5933, allocations: 11.98 kB / 422.4 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5933, allocations: 7.938 kB / 422.4 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.426e-05/0.5933, allocations: 3.75 kB / 422.5 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.5933, allocations: 8.125 kB / 422.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.5934, allocations: 0 / 422.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.5934, allocations: 4 kB / 422.5 MB, free: 14.31 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 8.777e-05/0.5935, allocations: 107.8 kB / 422.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.5936, allocations: 49.31 kB / 422.6 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.5937, allocations: 11.41 kB / 422.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5937, allocations: 0 / 422.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.5937, allocations: 3.953 kB / 422.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.5937, allocations: 4 kB / 422.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.594, allocations: 168 kB / 422.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.594, allocations: 0 / 422.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.048e-05/0.594, allocations: 0 / 422.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.594, allocations: 0 / 422.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.594, allocations: 4 kB / 422.8 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.594, allocations: 0 / 422.8 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.5941, allocations: 3.984 kB / 422.8 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.5943, allocations: 175.7 kB / 423 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-05/0.5944, allocations: 92.62 kB / 423.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.5944, allocations: 7.938 kB / 423.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.718e-05/0.5945, allocations: 0 / 423.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.5945, allocations: 3.953 kB / 423.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.5946, allocations: 4 kB / 423.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001036/0.5947, allocations: 107.4 kB / 423.2 MB, free: 13.51 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5947, allocations: 0 / 423.2 MB, free: 13.51 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003023/0.595, allocations: 8 kB / 423.2 MB, free: 13.5 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.000538/0.5955, allocations: 0.7682 MB / 424 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.5957, allocations: 23.55 kB / 424 MB, free: 12.69 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5957, allocations: 0 / 424 MB, free: 12.69 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.22e-05/0.5957, allocations: 7.438 kB / 424 MB, free: 12.69 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.596, allocations: 22.92 kB / 424 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.5965, allocations: 133 kB / 424.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.5968, allocations: 0.6926 MB / 424.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.035e-05/0.5969, allocations: 4 kB / 424.8 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.5969, allocations: 15.67 kB / 424.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of SimCode: time 8.01e-07/0.5969, allocations: 0 / 424.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.6205, allocations: 1.2 MB / 426.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004258/0.6211, allocations: 169.9 kB / 426.2 MB, free: 10.42 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/2.963, allocations: 3.938 kB / 426.2 MB, free: 10.41 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat does not exist to compare? outputFormat=mat