Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.164/2.164, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.143e-05/4.15e-05, allocations: 4 kB / 284.4 MB, free: 8.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1328, allocations: 50.36 MB / 334.8 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4304/0.5633, allocations: 78.64 MB / 413.4 MB, free: 15.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.5636, allocations: 77.33 kB / 413.5 MB, free: 15.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006338/0.57, allocations: 1.569 MB / 415.1 MB, free: 13.83 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.57, allocations: 0 / 415.1 MB, free: 13.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.5701, allocations: 0 / 415.1 MB, free: 13.83 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004582/0.5705, allocations: 363.1 kB / 415.4 MB, free: 13.44 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.5706, allocations: 12.03 kB / 415.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.39e-05/0.5706, allocations: 33.81 kB / 415.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.5707, allocations: 7.906 kB / 415.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.571, allocations: 217.2 kB / 415.7 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.571, allocations: 3.953 kB / 415.7 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.571, allocations: 4 kB / 415.7 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.5713, allocations: 130.9 kB / 415.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.5714, allocations: 0 / 415.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.5714, allocations: 7.938 kB / 415.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.5714, allocations: 0 / 415.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.593e-05/0.5715, allocations: 19.62 kB / 415.8 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.572, allocations: 300.8 kB / 416.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.5721, allocations: 85.56 kB / 416.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.33e-05/0.5722, allocations: 42.06 kB / 416.3 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.5723, allocations: 8 kB / 416.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.5723, allocations: 34.55 kB / 416.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.013e-06/0.5723, allocations: 0 / 416.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002509/0.5726, allocations: 75.41 kB / 416.4 MB, free: 12.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.5727, allocations: 136.6 kB / 416.5 MB, free: 12.19 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.5729, allocations: 131.9 kB / 416.6 MB, free: 12.06 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.5729, allocations: 25.7 kB / 416.7 MB, free: 12.03 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.255e-05/0.573, allocations: 161.9 kB / 416.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.573, allocations: 3.188 kB / 416.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.573, allocations: 0 / 416.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5732, allocations: 317.9 kB / 417.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.505e-05/0.5732, allocations: 8 kB / 417.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.723e-05/0.5733, allocations: 43.41 kB / 417.2 MB, free: 11.49 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.998e-05/0.5733, allocations: 15.92 kB / 417.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5734, allocations: 0 / 417.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001655/0.5735, allocations: 71.72 kB / 417.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.5736, allocations: 4 kB / 417.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.5736, allocations: 4 kB / 417.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.5736, allocations: 128 / 417.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.5738, allocations: 27.17 kB / 417.3 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.5738, allocations: 4 kB / 417.3 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.5739, allocations: 4.188 kB / 417.3 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.5739, allocations: 4 kB / 417.3 MB, free: 11.36 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.849e-05/0.574, allocations: 119.9 kB / 417.4 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.5742, allocations: 60.84 kB / 417.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.707e-05/0.5742, allocations: 17.95 kB / 417.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.5742, allocations: 0 / 417.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5743, allocations: 4 kB / 417.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.5743, allocations: 0 / 417.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.5745, allocations: 183.8 kB / 417.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.5745, allocations: 8.094 kB / 417.7 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.5747, allocations: 8 kB / 417.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.5747, allocations: 4 kB / 417.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.5747, allocations: 3.984 kB / 417.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.5747, allocations: 0 / 417.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.5747, allocations: 7.938 kB / 417.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.575, allocations: 218.1 kB / 417.9 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.886e-05/0.5751, allocations: 96.19 kB / 418 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.5751, allocations: 3.25 kB / 418 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.5752, allocations: 7.984 kB / 418 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.5753, allocations: 8 kB / 418 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.5753, allocations: 3.938 kB / 418 MB, free: 10.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.5754, allocations: 125.4 kB / 418.2 MB, free: 10.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5754, allocations: 0 / 418.2 MB, free: 10.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003387/0.5758, allocations: 11.91 kB / 418.2 MB, free: 10.42 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0005946/0.5764, allocations: 0.9577 MB / 419.1 MB, free: 9.434 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.5766, allocations: 31 kB / 419.2 MB, free: 9.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5766, allocations: 0 / 419.2 MB, free: 9.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.868e-05/0.5766, allocations: 8.375 kB / 419.2 MB, free: 9.402 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.5771, allocations: 37.91 kB / 419.2 MB, free: 9.375 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005913/0.5777, allocations: 188.3 kB / 419.4 MB, free: 9.152 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.578, allocations: 0.7004 MB / 420.1 MB, free: 8.426 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.5781, allocations: 21.22 kB / 420.1 MB, free: 8.414 MB / 346.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5781, allocations: 4 kB / 420.1 MB, free: 8.41 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.646/3.225, allocations: 1.368 MB / 421.5 MB, free: 7.059 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample_res.mat does not exist to compare? outputFormat=mat