Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.355/2.355, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.869e-05/5.844e-05, allocations: 11.98 kB / 284.4 MB, free: 8.094 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 50.36 MB / 334.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4806/0.5918, allocations: 78.49 MB / 413.3 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/0.5921, allocations: 81.25 kB / 413.4 MB, free: 15.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008512/0.6007, allocations: 1.987 MB / 415.4 MB, free: 13.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6007, allocations: 4 kB / 415.4 MB, free: 13.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.6008, allocations: 4 kB / 415.4 MB, free: 13.73 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.0004995/0.6013, allocations: 365 kB / 415.7 MB, free: 13.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.6013, allocations: 8.031 kB / 415.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.092e-05/0.6014, allocations: 37.88 kB / 415.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.6014, allocations: 11.81 kB / 415.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.6017, allocations: 194 kB / 416 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.6017, allocations: 4 kB / 416 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.6018, allocations: 4 kB / 416 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.6021, allocations: 105.5 kB / 416.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.6021, allocations: 4 kB / 416.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.6021, allocations: 0 / 416.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.6022, allocations: 0 / 416.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.6023, allocations: 15.06 kB / 416.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.6028, allocations: 280.2 kB / 416.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.6029, allocations: 67.17 kB / 416.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.406e-05/0.603, allocations: 36.12 kB / 416.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.603, allocations: 3.984 kB / 416.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.6031, allocations: 37.56 kB / 416.5 MB, free: 12.42 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.6031, allocations: 0 / 416.5 MB, free: 12.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.00022/0.6033, allocations: 67.06 kB / 416.6 MB, free: 12.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/0.6034, allocations: 106.8 kB / 416.7 MB, free: 12.22 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.6036, allocations: 137 kB / 416.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.6036, allocations: 25.7 kB / 416.8 MB, free: 12.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.6037, allocations: 91.12 kB / 416.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.6037, allocations: 0 / 416.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.6037, allocations: 4 kB / 416.9 MB, free: 11.97 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6038, allocations: 318.5 kB / 417.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/0.6039, allocations: 4 kB / 417.2 MB, free: 11.65 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-05/0.6039, allocations: 31.23 kB / 417.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.656e-05/0.604, allocations: 11 kB / 417.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.604, allocations: 0 / 417.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001308/0.6041, allocations: 64.53 kB / 417.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.6042, allocations: 7.938 kB / 417.4 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6042, allocations: 4 kB / 417.4 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.6042, allocations: 0 / 417.4 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.6043, allocations: 11.98 kB / 417.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.6044, allocations: 0 / 417.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.82e-05/0.6044, allocations: 4 kB / 417.4 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.6045, allocations: 7.953 kB / 417.4 MB, free: 11.5 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 8.249e-05/0.6046, allocations: 111.6 kB / 417.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.6047, allocations: 57.22 kB / 417.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.6047, allocations: 6.906 kB / 417.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.6048, allocations: 4 kB / 417.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6048, allocations: 0 / 417.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6048, allocations: 0 / 417.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.605, allocations: 180.5 kB / 417.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.605, allocations: 3.984 kB / 417.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.809e-05/0.6051, allocations: 15.44 kB / 417.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.6052, allocations: 4 kB / 417.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.6052, allocations: 0 / 417.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.6052, allocations: 0 / 417.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6052, allocations: 0 / 417.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.6054, allocations: 198.7 kB / 418 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.791e-05/0.6055, allocations: 99.75 kB / 418 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.6055, allocations: 0 / 418 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.6057, allocations: 4 kB / 418.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.6057, allocations: 3.953 kB / 418.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.6057, allocations: 4 kB / 418.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001046/0.6058, allocations: 114.5 kB / 418.2 MB, free: 10.65 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6059, allocations: 0 / 418.2 MB, free: 10.65 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003346/0.6062, allocations: 12 kB / 418.2 MB, free: 10.64 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.0005429/0.6068, allocations: 0.8645 MB / 419 MB, free: 9.742 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.6069, allocations: 15.31 kB / 419.1 MB, free: 9.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6069, allocations: 0 / 419.1 MB, free: 9.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.482e-05/0.607, allocations: 11.92 kB / 419.1 MB, free: 9.719 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.6073, allocations: 22.72 kB / 419.1 MB, free: 9.703 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/0.6078, allocations: 144.8 kB / 419.2 MB, free: 9.531 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.6082, allocations: 0.6965 MB / 419.9 MB, free: 8.809 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.621e-05/0.6082, allocations: 4.188 kB / 419.9 MB, free: 8.801 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.561e-05/0.6083, allocations: 18.31 kB / 420 MB, free: 8.793 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6083, allocations: 0 / 420 MB, free: 8.793 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.6272, allocations: 1.41 MB / 421.4 MB, free: 7.441 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/0.6275, allocations: 174.5 kB / 421.5 MB, free: 7.215 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/2.952, allocations: 3.906 kB / 421.5 MB, free: 7.211 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample_res.mat does not exist to compare? outputFormat=mat