Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.139/2.139, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.116e-05/4.121e-05, allocations: 4 kB / 284.4 MB, free: 8.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1393, allocations: 50.36 MB / 334.8 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4427/0.5821, allocations: 78.41 MB / 413.2 MB, free: 15.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/0.5825, allocations: 78.7 kB / 413.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005872/0.5884, allocations: 1.347 MB / 414.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5884, allocations: 0 / 414.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.5884, allocations: 4 kB / 414.6 MB, free: 14.57 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000443/0.5889, allocations: 347.6 kB / 414.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.589, allocations: 8.031 kB / 415 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.799e-05/0.589, allocations: 37.94 kB / 415 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.5891, allocations: 3.906 kB / 415 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.5893, allocations: 197.1 kB / 415.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.5893, allocations: 3.953 kB / 415.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.5894, allocations: 0 / 415.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.5896, allocations: 87.56 kB / 415.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.5897, allocations: 0 / 415.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.5897, allocations: 0 / 415.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.5897, allocations: 4 kB / 415.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.086e-05/0.5898, allocations: 11.12 kB / 415.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004618/0.5902, allocations: 275.6 kB / 415.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.434e-05/0.5903, allocations: 37.14 kB / 415.6 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/0.5904, allocations: 22.28 kB / 415.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.5904, allocations: 0 / 415.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.5905, allocations: 34.56 kB / 415.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.634e-06/0.5905, allocations: 4 kB / 415.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001934/0.5907, allocations: 48.66 kB / 415.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.5908, allocations: 85.05 kB / 415.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.5909, allocations: 124.6 kB / 415.9 MB, free: 13.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.591, allocations: 25.7 kB / 415.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.5911, allocations: 150.6 kB / 416.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.5911, allocations: 10.97 kB / 416.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-06/0.5911, allocations: 4.062 kB / 416.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5912, allocations: 314.8 kB / 416.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.447e-05/0.5913, allocations: 4 kB / 416.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.5913, allocations: 16.89 kB / 416.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.837e-05/0.5914, allocations: 4 kB / 416.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5914, allocations: 0 / 416.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001071/0.5915, allocations: 49.08 kB / 416.5 MB, free: 12.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.5915, allocations: 4 kB / 416.5 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.5916, allocations: 3.984 kB / 416.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.5916, allocations: 0 / 416.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.5917, allocations: 8 kB / 416.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.5917, allocations: 0 / 416.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.009e-05/0.5918, allocations: 7.938 kB / 416.5 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.5918, allocations: 0 / 416.5 MB, free: 12.49 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.636e-05/0.5919, allocations: 115.8 kB / 416.6 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.848e-05/0.592, allocations: 41.59 kB / 416.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.5921, allocations: 10.97 kB / 416.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.5921, allocations: 0 / 416.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.5921, allocations: 4 kB / 416.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.5921, allocations: 0 / 416.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.5923, allocations: 175.8 kB / 416.8 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.5924, allocations: 0 / 416.8 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.45e-05/0.5924, allocations: 7.984 kB / 416.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.5925, allocations: 4.031 kB / 416.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.5925, allocations: 4 kB / 416.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5925, allocations: 0 / 416.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5925, allocations: 0 / 416.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.5927, allocations: 160.9 kB / 417 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.329e-05/0.5928, allocations: 92.19 kB / 417.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.5928, allocations: 8.031 kB / 417.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.554e-05/0.5929, allocations: 0 / 417.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.593, allocations: 4 kB / 417.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-06/0.593, allocations: 0 / 417.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.5931, allocations: 107.5 kB / 417.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.525e-06/0.5931, allocations: 0 / 417.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000316/0.5935, allocations: 11.94 kB / 417.2 MB, free: 11.69 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.0005207/0.594, allocations: 0.7697 MB / 418 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.5941, allocations: 11.12 kB / 418 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5941, allocations: 0 / 418 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.28e-05/0.5942, allocations: 7.938 kB / 418 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.5945, allocations: 11.5 kB / 418 MB, free: 10.87 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005137/0.595, allocations: 156.4 kB / 418.2 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.5954, allocations: 0.6926 MB / 418.9 MB, free: 9.957 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.5954, allocations: 16.86 kB / 418.9 MB, free: 9.945 MB / 346.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5954, allocations: 0 / 418.9 MB, free: 9.945 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.395/2.991, allocations: 0.9419 MB / 419.8 MB, free: 9.008 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat