Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.183/2.183, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.472e-05/3.478e-05, allocations: 4 kB / 284.4 MB, free: 8.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1247, allocations: 50.36 MB / 334.8 MB, free: 6.137 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4746/0.5994, allocations: 78.55 MB / 413.3 MB, free: 15.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004618/0.5999, allocations: 78.7 kB / 413.4 MB, free: 15.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01412/0.6141, allocations: 1.984 MB / 415.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.427e-06/0.6141, allocations: 0 / 415.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.214e-05/0.6142, allocations: 8 kB / 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.0006556/0.6149, allocations: 358 kB / 415.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.888e-05/0.615, allocations: 8.031 kB / 415.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.345e-05/0.615, allocations: 34.38 kB / 415.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.687e-05/0.6151, allocations: 7.906 kB / 415.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.6155, allocations: 198.8 kB / 416 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.6156, allocations: 0 / 416 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.6156, allocations: 4 kB / 416 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.616, allocations: 100.2 kB / 416.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.6161, allocations: 4 kB / 416.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.6161, allocations: 0 / 416.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.6161, allocations: 0 / 416.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.753e-05/0.6162, allocations: 7.938 kB / 416.1 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007042/0.617, allocations: 273.5 kB / 416.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.6171, allocations: 40.97 kB / 416.4 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.815e-05/0.6172, allocations: 17.59 kB / 416.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.6173, allocations: 3.938 kB / 416.4 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.6173, allocations: 38.56 kB / 416.5 MB, free: 12.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 4.979e-06/0.6174, allocations: 0 / 416.5 MB, free: 12.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002926/0.6177, allocations: 49.53 kB / 416.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.997e-05/0.6178, allocations: 81.05 kB / 416.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.618, allocations: 130.5 kB / 416.7 MB, free: 12.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.618, allocations: 25.7 kB / 416.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.38e-05/0.6182, allocations: 158.6 kB / 416.9 MB, free: 11.92 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.6182, allocations: 0 / 416.9 MB, free: 11.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.6182, allocations: 0 / 416.9 MB, free: 11.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.6184, allocations: 318.8 kB / 417.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.309e-05/0.6185, allocations: 0 / 417.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.554e-05/0.6186, allocations: 17.66 kB / 417.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.297e-05/0.6186, allocations: 12 kB / 417.2 MB, free: 11.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.6186, allocations: 0 / 417.2 MB, free: 11.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001861/0.6188, allocations: 45.12 kB / 417.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.6189, allocations: 8 kB / 417.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.6189, allocations: 0 / 417.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.619, allocations: 0 / 417.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.6192, allocations: 7.984 kB / 417.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.6192, allocations: 4 kB / 417.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.6193, allocations: 7.922 kB / 417.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.6194, allocations: 16 kB / 417.3 MB, free: 11.48 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 0.0001215/0.6195, allocations: 108.7 kB / 417.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.6197, allocations: 41.55 kB / 417.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.546e-05/0.6198, allocations: 7.641 kB / 417.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.6198, allocations: 4 kB / 417.5 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.6198, allocations: 0 / 417.5 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.6199, allocations: 0 / 417.5 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/0.6202, allocations: 169.5 kB / 417.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.6202, allocations: 4 kB / 417.6 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.6204, allocations: 11.97 kB / 417.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.6204, allocations: 0 / 417.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.6204, allocations: 3.984 kB / 417.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.6205, allocations: 4 kB / 417.7 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6205, allocations: 0 / 417.7 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.6208, allocations: 161.7 kB / 417.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.6209, allocations: 92.75 kB / 417.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.621, allocations: 7.984 kB / 417.9 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.6211, allocations: 0 / 417.9 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.6212, allocations: 4 kB / 417.9 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.6213, allocations: 0 / 417.9 MB, free: 10.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001647/0.6214, allocations: 111 kB / 418 MB, free: 10.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.6215, allocations: 0 / 418 MB, free: 10.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004803/0.622, allocations: 8 kB / 418 MB, free: 10.68 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.0007251/0.6227, allocations: 0.7635 MB / 418.8 MB, free: 9.891 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.6229, allocations: 11.88 kB / 418.8 MB, free: 9.883 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6229, allocations: 4.156 kB / 418.8 MB, free: 9.879 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.281e-05/0.623, allocations: 15.73 kB / 418.8 MB, free: 9.867 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005276/0.6235, allocations: 15.92 kB / 418.8 MB, free: 9.852 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007714/0.6243, allocations: 153.7 kB / 419 MB, free: 9.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.6248, allocations: 0.6925 MB / 419.7 MB, free: 8.945 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.669e-05/0.6249, allocations: 15.31 kB / 419.7 MB, free: 8.938 MB / 346.7 MB Notification: Performance of SimCode: time 1.573e-06/0.6249, allocations: 0 / 419.7 MB, free: 8.938 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.303/2.928, allocations: 0.9977 MB / 420.7 MB, free: 7.945 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat