Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.233/2.233, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.921e-05/3.925e-05, allocations: 4 kB / 284.4 MB, free: 8.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1131, allocations: 50.36 MB / 334.8 MB, free: 6.129 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4644/0.5776, allocations: 78.54 MB / 413.3 MB, free: 15.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/0.578, allocations: 77.7 kB / 413.4 MB, free: 15.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008948/0.587, allocations: 1.99 MB / 415.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.587, allocations: 0 / 415.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.5871, allocations: 8 kB / 415.4 MB, free: 13.64 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.000499/0.5876, allocations: 354 kB / 415.7 MB, free: 13.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.5876, allocations: 8.031 kB / 415.7 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.756e-05/0.5877, allocations: 38.42 kB / 415.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.028e-05/0.5878, allocations: 7.906 kB / 415.8 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.5881, allocations: 194.7 kB / 416 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.5881, allocations: 0 / 416 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.5881, allocations: 4 kB / 416 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.5884, allocations: 104.2 kB / 416.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.5885, allocations: 0 / 416.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.5885, allocations: 0 / 416.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.5885, allocations: 0 / 416.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.978e-05/0.5886, allocations: 7.938 kB / 416.1 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.5891, allocations: 277.3 kB / 416.3 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.725e-05/0.5892, allocations: 45.25 kB / 416.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/0.5892, allocations: 13.66 kB / 416.4 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.5892, allocations: 7.938 kB / 416.4 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.5893, allocations: 34.56 kB / 416.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.923e-06/0.5893, allocations: 0 / 416.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001933/0.5895, allocations: 49.53 kB / 416.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.5896, allocations: 81.05 kB / 416.6 MB, free: 12.26 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.5898, allocations: 126.6 kB / 416.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.5898, allocations: 25.7 kB / 416.7 MB, free: 12.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.5899, allocations: 158.1 kB / 416.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.5899, allocations: 0 / 416.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.5899, allocations: 0 / 416.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5901, allocations: 322.8 kB / 417.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.102e-05/0.5901, allocations: 0 / 417.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.99e-05/0.5902, allocations: 17.66 kB / 417.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.261e-05/0.5902, allocations: 12 kB / 417.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.5902, allocations: 0 / 417.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001006/0.5903, allocations: 45.5 kB / 417.3 MB, free: 11.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.5904, allocations: 8 kB / 417.3 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5904, allocations: 0 / 417.3 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.5904, allocations: 0 / 417.3 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.5905, allocations: 4 kB / 417.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.5905, allocations: 4 kB / 417.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.039e-05/0.5906, allocations: 3.938 kB / 417.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.5906, allocations: 12 kB / 417.3 MB, free: 11.52 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.486e-05/0.5907, allocations: 112.7 kB / 417.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-05/0.5908, allocations: 41.48 kB / 417.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/0.5909, allocations: 7.656 kB / 417.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.5909, allocations: 0 / 417.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.5909, allocations: 4 kB / 417.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5909, allocations: 0 / 417.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.5912, allocations: 169.2 kB / 417.6 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.5912, allocations: 7.984 kB / 417.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.47e-05/0.5913, allocations: 15.95 kB / 417.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5913, allocations: 0 / 417.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.5913, allocations: 0 / 417.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.5913, allocations: 4 kB / 417.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5913, allocations: 0 / 417.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.5915, allocations: 165.9 kB / 417.8 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.924e-05/0.5916, allocations: 92.94 kB / 417.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.5916, allocations: 4 kB / 417.9 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.5918, allocations: 0 / 417.9 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.5918, allocations: 7.984 kB / 417.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.5919, allocations: 0 / 417.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.592, allocations: 111.1 kB / 418 MB, free: 10.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.592, allocations: 4 kB / 418 MB, free: 10.72 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003261/0.5923, allocations: 4 kB / 418 MB, free: 10.72 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000518/0.5929, allocations: 0.7608 MB / 418.8 MB, free: 9.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.919e-05/0.593, allocations: 11.88 kB / 418.8 MB, free: 9.922 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.593, allocations: 4.156 kB / 418.8 MB, free: 9.918 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.256e-05/0.593, allocations: 7.938 kB / 418.8 MB, free: 9.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.5934, allocations: 27.16 kB / 418.8 MB, free: 9.891 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005271/0.5939, allocations: 149.6 kB / 419 MB, free: 9.703 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.5943, allocations: 0.6926 MB / 419.7 MB, free: 8.984 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.5943, allocations: 18.94 kB / 419.7 MB, free: 8.977 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5944, allocations: 0 / 419.7 MB, free: 8.977 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.419/3.013, allocations: 0.9939 MB / 420.7 MB, free: 7.984 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample_res.mat does not exist to compare? outputFormat=mat