Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.094/2.094, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.649e-05/4.653e-05, allocations: 4 kB / 292.2 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 50.41 MB / 342.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4699/0.5822, allocations: 76.98 MB / 419.6 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.5826, allocations: 72.7 kB / 419.7 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005585/0.5882, allocations: 1.258 MB / 421 MB, free: 15.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5882, allocations: 0 / 421 MB, free: 15.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.5883, allocations: 0 / 421 MB, free: 15.68 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006095/0.5889, allocations: 361.8 kB / 421.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.589, allocations: 8.031 kB / 421.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.304e-05/0.589, allocations: 34.56 kB / 421.4 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.5891, allocations: 11.86 kB / 421.4 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.5893, allocations: 178.4 kB / 421.5 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.5893, allocations: 6.875 kB / 421.5 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.5894, allocations: 4 kB / 421.6 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.5898, allocations: 134.5 kB / 421.7 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.5898, allocations: 4 kB / 421.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.5898, allocations: 0 / 421.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.5898, allocations: 7.891 kB / 421.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.868e-05/0.5899, allocations: 19.12 kB / 421.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.5901, allocations: 169.5 kB / 421.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.5904, allocations: 121.8 kB / 422 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.1e-05/0.5905, allocations: 35.78 kB / 422 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.5905, allocations: 3.984 kB / 422 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.5906, allocations: 33.06 kB / 422.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.5906, allocations: 0 / 422.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002082/0.5908, allocations: 63.06 kB / 422.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.5909, allocations: 55.41 kB / 422.2 MB, free: 14.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.591, allocations: 103.6 kB / 422.3 MB, free: 14.22 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.591, allocations: 25.7 kB / 422.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.5911, allocations: 83.27 kB / 422.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.5911, allocations: 11.89 kB / 422.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.5911, allocations: 3.125 kB / 422.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5913, allocations: 310.8 kB / 422.7 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.589e-05/0.5913, allocations: 10.62 kB / 422.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.319e-05/0.5914, allocations: 43.97 kB / 422.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.427e-05/0.5914, allocations: 18.86 kB / 422.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5915, allocations: 0 / 422.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001556/0.5916, allocations: 75.81 kB / 422.9 MB, free: 13.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.5917, allocations: 4 kB / 422.9 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5917, allocations: 0 / 422.9 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.5917, allocations: 4 kB / 422.9 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.5918, allocations: 8 kB / 422.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.5918, allocations: 3.984 kB / 422.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.3e-05/0.5919, allocations: 7.438 kB / 422.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.5919, allocations: 7.953 kB / 422.9 MB, free: 13.59 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.329e-05/0.592, allocations: 112.4 kB / 423 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.5921, allocations: 60.47 kB / 423.1 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.006e-05/0.5922, allocations: 11.31 kB / 423.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.5922, allocations: 0 / 423.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5922, allocations: 3.938 kB / 423.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.5922, allocations: 4 kB / 423.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.5924, allocations: 165.2 kB / 423.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5924, allocations: 4 kB / 423.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.694e-05/0.5925, allocations: 7.984 kB / 423.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.5925, allocations: 4 kB / 423.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.5925, allocations: 3.312 kB / 423.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.5926, allocations: 0 / 423.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5926, allocations: 0 / 423.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.5928, allocations: 95.3 kB / 423.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.5928, allocations: 85.03 kB / 423.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.5929, allocations: 4 kB / 423.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.593, allocations: 19.3 kB / 423.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-06/0.593, allocations: 128 / 423.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.5931, allocations: 4 kB / 423.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.477e-05/0.5931, allocations: 86.53 kB / 423.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5932, allocations: 0 / 423.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002626/0.5934, allocations: 8 kB / 423.6 MB, free: 12.87 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: 3 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0006524/0.5941, allocations: 0.6568 MB / 424.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.5942, allocations: 30 kB / 424.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5943, allocations: 0 / 424.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.5943, allocations: 0 / 424.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.5946, allocations: 42.02 kB / 424.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/0.5951, allocations: 116.1 kB / 424.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.5954, allocations: 0.6887 MB / 425.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.174e-05/0.5955, allocations: 4.188 kB / 425.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/0.5955, allocations: 18.73 kB / 425.1 MB, free: 11.28 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5956, allocations: 0 / 425.1 MB, free: 11.28 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.6197, allocations: 1.409 MB / 426.5 MB, free: 9.953 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003186/0.6201, allocations: 170.6 kB / 426.7 MB, free: 9.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/2.989, allocations: 0 / 426.7 MB, free: 9.73 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat does not exist to compare? outputFormat=mat