Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.099/2.099, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.633e-05/3.677e-05, allocations: 4 kB / 292.2 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 50.41 MB / 342.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4492/0.5582, allocations: 76.68 MB / 419.3 MB, free: 1.477 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/0.5585, allocations: 70.2 kB / 419.4 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004481/0.563, allocations: 1.161 MB / 420.6 MB, free: 420 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5631, allocations: 0 / 420.6 MB, free: 420 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.5631, allocations: 4 kB / 420.6 MB, free: 416 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.0004914/0.5636, allocations: 345.8 kB / 420.9 MB, free: 32 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.5637, allocations: 8.031 kB / 420.9 MB, free: 24 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.167e-05/0.5637, allocations: 38 kB / 420.9 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.5638, allocations: 11.86 kB / 421 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.5641, allocations: 190.5 kB / 421.1 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.5641, allocations: 3.938 kB / 421.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.5641, allocations: 4 kB / 421.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.5644, allocations: 101.6 kB / 421.2 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.5644, allocations: 0 / 421.2 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.5645, allocations: 7.984 kB / 421.3 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.5645, allocations: 3.953 kB / 421.3 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.781e-05/0.5645, allocations: 11.12 kB / 421.3 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.565, allocations: 263.9 kB / 421.5 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.5652, allocations: 129.5 kB / 421.7 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.514e-05/0.5653, allocations: 25.42 kB / 421.7 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.5653, allocations: 4 kB / 421.7 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.5654, allocations: 37.5 kB / 421.7 MB, free: 15.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 4.659e-06/0.5654, allocations: 3.984 kB / 421.7 MB, free: 15.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001992/0.5656, allocations: 56.92 kB / 421.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.5657, allocations: 81.14 kB / 421.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.5658, allocations: 120.6 kB / 422 MB, free: 14.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.5659, allocations: 25.7 kB / 422 MB, free: 14.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.5659, allocations: 87.52 kB / 422.1 MB, free: 14.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.566, allocations: 11.61 kB / 422.1 MB, free: 14.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.566, allocations: 0 / 422.1 MB, free: 14.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5661, allocations: 318.8 kB / 422.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.5661, allocations: 7.188 kB / 422.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.924e-05/0.5662, allocations: 27.44 kB / 422.4 MB, free: 14.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.299e-05/0.5662, allocations: 12.66 kB / 422.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5663, allocations: 3.938 kB / 422.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001262/0.5664, allocations: 60.59 kB / 422.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.5664, allocations: 4 kB / 422.5 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5664, allocations: 0 / 422.5 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.5665, allocations: 7.953 kB / 422.5 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.5666, allocations: 11.98 kB / 422.5 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.5666, allocations: 0.5469 kB / 422.5 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.943e-05/0.5667, allocations: 4 kB / 422.5 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.5667, allocations: 4 kB / 422.5 MB, free: 14.21 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.32e-05/0.5668, allocations: 112.5 kB / 422.7 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.5669, allocations: 48.91 kB / 422.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.3e-05/0.567, allocations: 11.59 kB / 422.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.567, allocations: 3.953 kB / 422.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.567, allocations: 0 / 422.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.567, allocations: 0 / 422.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.5673, allocations: 168.3 kB / 422.9 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.5673, allocations: 0 / 422.9 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.966e-05/0.5674, allocations: 11.98 kB / 422.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.5674, allocations: 0 / 422.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.5674, allocations: 8 kB / 422.9 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5675, allocations: 0 / 422.9 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/0.5675, allocations: 11.94 kB / 422.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.5677, allocations: 172.8 kB / 423.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.549e-05/0.5678, allocations: 89 kB / 423.2 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.5678, allocations: 0 / 423.2 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.5679, allocations: 11.95 kB / 423.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.568, allocations: 3.984 kB / 423.2 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.568, allocations: 7.688 kB / 423.2 MB, free: 13.49 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.5681, allocations: 106.9 kB / 423.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5681, allocations: 0 / 423.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003397/0.5685, allocations: 4 kB / 423.3 MB, free: 13.39 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.0005314/0.569, allocations: 0.7666 MB / 424.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001169/0.5691, allocations: 15.12 kB / 424.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5692, allocations: 0 / 424.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.238e-05/0.5692, allocations: 7.938 kB / 424.1 MB, free: 12.58 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.5695, allocations: 31.89 kB / 424.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004941/0.5701, allocations: 130.7 kB / 424.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.5704, allocations: 0.6926 MB / 424.9 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.73e-05/0.5704, allocations: 7.922 kB / 425 MB, free: 11.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.5705, allocations: 15.3 kB / 425 MB, free: 11.66 MB / 346.7 MB Notification: Performance of SimCode: time 1.372e-06/0.5705, allocations: 0 / 425 MB, free: 11.66 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.5906, allocations: 1.198 MB / 426.2 MB, free: 10.54 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000313/0.5909, allocations: 173.7 kB / 426.3 MB, free: 10.31 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.355/2.946, allocations: 4 kB / 426.3 MB, free: 10.3 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat does not exist to compare? outputFormat=mat