Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.204/2.204, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.447e-05/4.453e-05, allocations: 8 kB / 284.4 MB, free: 8.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1137, allocations: 50.37 MB / 334.8 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4661/0.5799, allocations: 78.55 MB / 413.3 MB, free: 15.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.5802, allocations: 80.52 kB / 413.4 MB, free: 15.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008937/0.5892, allocations: 1.989 MB / 415.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5893, allocations: 4 kB / 415.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.5893, allocations: 0 / 415.4 MB, free: 13.6 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005464/0.5898, allocations: 367.1 kB / 415.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.5899, allocations: 8.031 kB / 415.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.269e-05/0.59, allocations: 38.55 kB / 415.8 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.59, allocations: 11.81 kB / 415.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.5903, allocations: 198 kB / 416 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.5903, allocations: 3.562 kB / 416 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.5904, allocations: 8 kB / 416 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.5907, allocations: 107.3 kB / 416.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.5907, allocations: 0 / 416.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.5908, allocations: 0 / 416.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5908, allocations: 0 / 416.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.982e-05/0.5908, allocations: 15.31 kB / 416.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.5914, allocations: 283.1 kB / 416.4 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.5915, allocations: 67.03 kB / 416.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.5916, allocations: 30.02 kB / 416.5 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.5916, allocations: 3.938 kB / 416.5 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.5917, allocations: 37.81 kB / 416.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.204e-06/0.5917, allocations: 0 / 416.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002433/0.5919, allocations: 60.41 kB / 416.6 MB, free: 12.22 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.281e-05/0.592, allocations: 112.1 kB / 416.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.5922, allocations: 139.2 kB / 416.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.5923, allocations: 25.7 kB / 416.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.121e-05/0.5924, allocations: 153.8 kB / 417 MB, free: 11.78 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.5924, allocations: 0 / 417 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.5924, allocations: 3.312 kB / 417 MB, free: 11.78 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5926, allocations: 314.8 kB / 417.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/0.5926, allocations: 8.031 kB / 417.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.727e-05/0.5927, allocations: 26.81 kB / 417.4 MB, free: 11.42 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.5927, allocations: 15.36 kB / 417.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5927, allocations: 0 / 417.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001429/0.5929, allocations: 61.22 kB / 417.4 MB, free: 11.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.5929, allocations: 8 kB / 417.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.5929, allocations: 0 / 417.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.593, allocations: 0 / 417.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.5931, allocations: 11.94 kB / 417.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.5932, allocations: 4 kB / 417.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.688e-05/0.5932, allocations: 7.984 kB / 417.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.5933, allocations: 3.953 kB / 417.5 MB, free: 11.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: 0 () * 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 9.116e-05/0.5934, allocations: 116.5 kB / 417.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.5935, allocations: 48.98 kB / 417.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.024e-05/0.5936, allocations: 15.14 kB / 417.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5936, allocations: 0 / 417.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5936, allocations: 0 / 417.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.5936, allocations: 4 kB / 417.7 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.5939, allocations: 172.3 kB / 417.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.5939, allocations: 0 / 417.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.594, allocations: 24.05 kB / 417.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.594, allocations: 0 / 417.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.594, allocations: 0 / 417.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.594, allocations: 0 / 417.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5941, allocations: 4 kB / 417.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.5943, allocations: 201.9 kB / 418.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-05/0.5944, allocations: 92.94 kB / 418.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.5944, allocations: 2.562 kB / 418.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.5945, allocations: 4 kB / 418.1 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.5946, allocations: 3.953 kB / 418.2 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.5946, allocations: 4 kB / 418.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001179/0.5948, allocations: 117.4 kB / 418.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5948, allocations: 0 / 418.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003272/0.5951, allocations: 8 kB / 418.3 MB, free: 10.45 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0006341/0.5957, allocations: 0.8598 MB / 419.1 MB, free: 9.555 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001352/0.5959, allocations: 25.38 kB / 419.2 MB, free: 9.535 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5959, allocations: 0 / 419.2 MB, free: 9.535 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.83e-05/0.596, allocations: 0 / 419.2 MB, free: 9.535 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.5963, allocations: 38.12 kB / 419.2 MB, free: 9.504 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006268/0.597, allocations: 164.6 kB / 419.4 MB, free: 9.305 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.5974, allocations: 0.7009 MB / 420.1 MB, free: 8.578 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.387e-05/0.5975, allocations: 18.31 kB / 420.1 MB, free: 8.57 MB / 346.7 MB Notification: Performance of SimCode: time 1.263e-06/0.5975, allocations: 0 / 420.1 MB, free: 8.57 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.468/3.066, allocations: 1.112 MB / 421.2 MB, free: 7.465 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample_res.mat does not exist to compare? outputFormat=mat