Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.085/2.085, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.365e-05, allocations: 11.8 kB / 292.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1117, allocations: 50.4 MB / 342.6 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4642/0.5759, allocations: 77.25 MB / 419.9 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.5763, allocations: 78.83 kB / 420 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009028/0.5853, allocations: 2.114 MB / 422.1 MB, free: 14.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5854, allocations: 4 kB / 422.1 MB, free: 14.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.5854, allocations: 0 / 422.1 MB, free: 14.76 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.0004447/0.5858, allocations: 356.8 kB / 422.4 MB, free: 14.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.5859, allocations: 8.031 kB / 422.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.765e-05/0.586, allocations: 42.02 kB / 422.5 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.586, allocations: 11.84 kB / 422.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.5863, allocations: 196.1 kB / 422.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.5863, allocations: 0 / 422.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.5863, allocations: 8 kB / 422.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.5866, allocations: 104.5 kB / 422.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.5867, allocations: 3.953 kB / 422.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.5867, allocations: 0 / 422.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.5867, allocations: 0 / 422.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.841e-05/0.5868, allocations: 15.44 kB / 422.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/0.5873, allocations: 284.1 kB / 423.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.5874, allocations: 65.92 kB / 423.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.548e-05/0.5875, allocations: 38.39 kB / 423.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.5875, allocations: 7.969 kB / 423.2 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.5875, allocations: 34.56 kB / 423.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.894e-06/0.5876, allocations: 0 / 423.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002215/0.5878, allocations: 64.59 kB / 423.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.5879, allocations: 106.8 kB / 423.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.588, allocations: 126 kB / 423.5 MB, free: 13.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.5881, allocations: 28.64 kB / 423.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.5881, allocations: 91.47 kB / 423.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.5882, allocations: 7.812 kB / 423.7 MB, free: 13.01 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-06/0.5882, allocations: 0 / 423.7 MB, free: 13.01 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.5883, allocations: 314.8 kB / 424 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-05/0.5883, allocations: 15.75 kB / 424 MB, free: 12.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.244e-05/0.5884, allocations: 34.48 kB / 424 MB, free: 12.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.624e-05/0.5884, allocations: 8 kB / 424 MB, free: 12.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.5885, allocations: 0 / 424 MB, free: 12.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001318/0.5886, allocations: 65.42 kB / 424.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.5886, allocations: 8 kB / 424.1 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.5887, allocations: 0 / 424.1 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.5887, allocations: 0 / 424.1 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.5888, allocations: 8 kB / 424.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.5888, allocations: 7.984 kB / 424.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.928e-05/0.5889, allocations: 3.375 kB / 424.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.5889, allocations: 4 kB / 424.1 MB, free: 12.54 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 6.983e-05/0.589, allocations: 109 kB / 424.2 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.5892, allocations: 56.61 kB / 424.3 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.5892, allocations: 10.28 kB / 424.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.5892, allocations: 0 / 424.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5892, allocations: 0 / 424.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5892, allocations: 0 / 424.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.5895, allocations: 175 kB / 424.5 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5895, allocations: 0 / 424.5 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.5896, allocations: 19.98 kB / 424.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.5896, allocations: 7.953 kB / 424.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.5896, allocations: 0 / 424.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.5897, allocations: 0 / 424.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.5897, allocations: 4 kB / 424.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.5899, allocations: 197.2 kB / 424.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.129e-05/0.59, allocations: 92.69 kB / 424.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.59, allocations: 0 / 424.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.5901, allocations: 4 kB / 424.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.5902, allocations: 0 / 424.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.5902, allocations: 4 kB / 424.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001026/0.5903, allocations: 112.2 kB / 424.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5903, allocations: 3.938 kB / 424.9 MB, free: 11.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003236/0.5907, allocations: 8 kB / 424.9 MB, free: 11.68 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005674/0.5912, allocations: 0.8647 MB / 425.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.5914, allocations: 22.81 kB / 425.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5914, allocations: 0 / 425.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.88e-05/0.5914, allocations: 7.984 kB / 425.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.5918, allocations: 31.17 kB / 425.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/0.5923, allocations: 147.4 kB / 426 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.5927, allocations: 0.7004 MB / 426.7 MB, free: 9.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.844e-05/0.5927, allocations: 4.188 kB / 426.7 MB, free: 9.832 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.437e-05/0.5928, allocations: 22.56 kB / 426.7 MB, free: 9.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5928, allocations: 0 / 426.7 MB, free: 9.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.6131, allocations: 1.392 MB / 428.1 MB, free: 8.5 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002894/0.6134, allocations: 161.9 kB / 428.2 MB, free: 8.277 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/2.953, allocations: 0 / 428.2 MB, free: 8.277 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat does not exist to compare? outputFormat=mat