Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.128/2.128, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.947e-05/3.952e-05, allocations: 4 kB / 284.4 MB, free: 8.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 50.37 MB / 334.8 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4671/0.5749, allocations: 78.96 MB / 413.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003602/0.5753, allocations: 79.14 kB / 413.8 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01935/0.5947, allocations: 4.138 MB / 417.9 MB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.5947, allocations: 4 kB / 418 MB, free: 11.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.5948, allocations: 4 kB / 418 MB, free: 11.46 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005647/0.5953, allocations: 393.6 kB / 418.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.5954, allocations: 8.031 kB / 418.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.668e-05/0.5955, allocations: 50.36 kB / 418.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.5955, allocations: 15.81 kB / 418.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.5958, allocations: 202.4 kB / 418.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.5959, allocations: 19.83 kB / 418.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.5959, allocations: 7.438 kB / 418.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006044/0.5965, allocations: 261.9 kB / 418.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.5966, allocations: 0 / 418.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.5966, allocations: 3.938 kB / 418.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.5966, allocations: 4 kB / 418.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.5968, allocations: 39.5 kB / 418.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.5973, allocations: 309.3 kB / 419.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.5976, allocations: 134.2 kB / 419.4 MB, free: 9.988 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.5978, allocations: 65.95 kB / 419.4 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.5978, allocations: 16.11 kB / 419.5 MB, free: 9.918 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.5979, allocations: 34.64 kB / 419.5 MB, free: 9.875 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.404e-06/0.5979, allocations: 0 / 419.5 MB, free: 9.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003897/0.5983, allocations: 132.5 kB / 419.6 MB, free: 9.762 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.5984, allocations: 118.6 kB / 419.7 MB, free: 9.625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.5986, allocations: 144.4 kB / 419.9 MB, free: 9.488 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.5986, allocations: 29.27 kB / 419.9 MB, free: 9.457 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/0.5987, allocations: 158.3 kB / 420.1 MB, free: 9.305 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.5987, allocations: 11.78 kB / 420.1 MB, free: 9.297 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-06/0.5988, allocations: 3.812 kB / 420.1 MB, free: 9.297 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5989, allocations: 326.7 kB / 420.4 MB, free: 8.973 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.488e-05/0.599, allocations: 16.25 kB / 420.4 MB, free: 8.957 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.5991, allocations: 130.2 kB / 420.5 MB, free: 8.793 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.5993, allocations: 47.3 kB / 420.6 MB, free: 8.758 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.5993, allocations: 4 kB / 420.6 MB, free: 8.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003369/0.5996, allocations: 153 kB / 420.7 MB, free: 8.617 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.5997, allocations: 8 kB / 420.7 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.5997, allocations: 4 kB / 420.7 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.5997, allocations: 4 kB / 420.7 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.5999, allocations: 31.92 kB / 420.8 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.176e-05/0.6, allocations: 7.984 kB / 420.8 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.6002, allocations: 15.56 kB / 420.8 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.6002, allocations: 8 kB / 420.8 MB, free: 8.543 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001141/0.6003, allocations: 135.6 kB / 420.9 MB, free: 8.414 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000266/0.6006, allocations: 112.5 kB / 421.1 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.932e-05/0.6007, allocations: 16.44 kB / 421.1 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.6007, allocations: 4 kB / 421.1 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6007, allocations: 0 / 421.1 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.6007, allocations: 3.984 kB / 421.1 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.601, allocations: 200.7 kB / 421.3 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.601, allocations: 4 kB / 421.3 MB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.6012, allocations: 27.92 kB / 421.3 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.6013, allocations: 3.984 kB / 421.3 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.6013, allocations: 11.94 kB / 421.3 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.6013, allocations: 4.094 kB / 421.3 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6013, allocations: 7.938 kB / 421.3 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.6017, allocations: 259.7 kB / 421.6 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.6018, allocations: 104.6 kB / 421.7 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.6019, allocations: 7.875 kB / 421.7 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.602, allocations: 11.42 kB / 421.7 MB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.6021, allocations: 3.938 kB / 421.7 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.6021, allocations: 4 kB / 421.7 MB, free: 7.617 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.6022, allocations: 115.1 kB / 421.8 MB, free: 7.516 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6022, allocations: 0 / 421.8 MB, free: 7.516 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004045/0.6027, allocations: 19.69 kB / 421.8 MB, free: 7.5 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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0008957/0.6036, allocations: 0.9848 MB / 422.8 MB, free: 6.531 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.6039, allocations: 94.98 kB / 422.9 MB, free: 6.453 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6039, allocations: 0 / 422.9 MB, free: 6.453 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.662e-05/0.6039, allocations: 4 kB / 422.9 MB, free: 6.449 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.6044, allocations: 75.09 kB / 423 MB, free: 6.395 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008317/0.6053, allocations: 254.7 kB / 423.2 MB, free: 6.125 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.6057, allocations: 0.7282 MB / 424 MB, free: 5.375 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.012e-05/0.6058, allocations: 34.61 kB / 424 MB, free: 5.355 MB / 346.7 MB Notification: Performance of SimCode: time 8.62e-07/0.6058, allocations: 0 / 424 MB, free: 5.355 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.494/3.1, allocations: 1.922 MB / 425.9 MB, free: 3.445 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1_res.mat does not exist to compare? outputFormat=mat