Running command: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.383/2.383, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.095e-05/4.149e-05, allocations: 5.828 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1364, allocations: 61.88 MB / 410.3 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5385/0.675, allocations: 86.78 MB / 497.1 MB, free: 1.203 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.6753, allocations: 56.5 kB / 497.2 MB, free: 1.148 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008116/0.6834, allocations: 1.767 MB / 499 MB, free: 15.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.6835, allocations: 0 / 499 MB, free: 15.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.6835, allocations: 4 kB / 499 MB, free: 15.38 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006657/0.6842, allocations: 390.1 kB / 499.3 MB, free: 14.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.6842, allocations: 8.031 kB / 499.3 MB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.694e-05/0.6843, allocations: 38.56 kB / 499.4 MB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.6844, allocations: 11.91 kB / 499.4 MB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.6847, allocations: 210.8 kB / 499.6 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.6848, allocations: 10.84 kB / 499.6 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.6848, allocations: 11.95 kB / 499.6 MB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.6851, allocations: 89.66 kB / 499.7 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.6851, allocations: 0 / 499.7 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.6851, allocations: 4 kB / 499.7 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.6852, allocations: 4 kB / 499.7 MB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.6853, allocations: 39.98 kB / 499.8 MB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007847/0.6861, allocations: 388.4 kB / 0.4884 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.6863, allocations: 58.58 kB / 0.4885 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.012e-05/0.6864, allocations: 16.92 kB / 0.4885 GB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.6864, allocations: 4 kB / 0.4885 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.6867, allocations: 95.5 kB / 0.4886 GB, free: 13.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 3.246e-06/0.6867, allocations: 0 / 0.4886 GB, free: 13.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.000326/0.687, allocations: 101.5 kB / 0.4887 GB, free: 13.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.6871, allocations: 55.36 kB / 0.4887 GB, free: 13.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.6873, allocations: 124 kB / 0.4888 GB, free: 13.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.6873, allocations: 29.7 kB / 0.4889 GB, free: 13.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.143e-05/0.6874, allocations: 108 kB / 0.489 GB, free: 13.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.6875, allocations: 31.61 kB / 0.489 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-06/0.6875, allocations: 0 / 0.489 GB, free: 13.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6876, allocations: 322.8 kB / 0.4893 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.241e-05/0.6877, allocations: 20 kB / 0.4893 GB, free: 13.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.6879, allocations: 80.36 kB / 0.4894 GB, free: 12.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.688, allocations: 31.98 kB / 0.4894 GB, free: 12.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.688, allocations: 0 / 0.4894 GB, free: 12.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003222/0.6883, allocations: 117.6 kB / 0.4896 GB, free: 12.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.6884, allocations: 19.91 kB / 0.4896 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.6884, allocations: 0 / 0.4896 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.6884, allocations: 4 kB / 0.4896 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.6886, allocations: 27.98 kB / 0.4896 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.6887, allocations: 4 kB / 0.4896 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.6888, allocations: 15.8 kB / 0.4896 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.6888, allocations: 4 kB / 0.4896 GB, free: 12.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.mean1.y_last,mean1.y_last,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001159/0.689, allocations: 125.1 kB / 0.4897 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.689, allocations: 11.91 kB / 0.4898 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.279e-05/0.6891, allocations: 12.62 kB / 0.4898 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.6891, allocations: 0 / 0.4898 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6891, allocations: 0 / 0.4898 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.6891, allocations: 8.078 kB / 0.4898 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.6894, allocations: 205.5 kB / 0.49 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6894, allocations: 0 / 0.49 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.6895, allocations: 11.98 kB / 0.49 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.6896, allocations: 4 kB / 0.49 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.6896, allocations: 8 kB / 0.49 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.6896, allocations: 3.938 kB / 0.49 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6896, allocations: 0 / 0.49 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.69, allocations: 156.9 kB / 0.4901 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.6901, allocations: 85.05 kB / 0.4902 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.6902, allocations: 0 / 0.4902 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.6903, allocations: 12 kB / 0.4902 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.6903, allocations: 8.047 kB / 0.4902 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.6904, allocations: 8 kB / 0.4903 GB, free: 11.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.6905, allocations: 106.9 kB / 0.4904 GB, free: 11.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6905, allocations: 0 / 0.4904 GB, free: 11.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003628/0.6909, allocations: 23.91 kB / 0.4904 GB, free: 11.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007506/0.6916, allocations: 0.6953 MB / 0.4911 GB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002408/0.6919, allocations: 67.92 kB / 0.4911 GB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.6919, allocations: 0 / 0.4911 GB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.692, allocations: 35.92 kB / 0.4912 GB, free: 11.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.6923, allocations: 11.98 kB / 0.4912 GB, free: 11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00075/0.693, allocations: 214.9 kB / 0.4914 GB, free: 10.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.6934, allocations: 0.709 MB / 0.4921 GB, free: 10.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.325e-05/0.6935, allocations: 8.547 kB / 0.4921 GB, free: 10.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.602e-05/0.6936, allocations: 31.42 kB / 0.4921 GB, free: 9.984 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6936, allocations: 3.938 kB / 0.4921 GB, free: 9.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.7179, allocations: 1.985 MB / 0.494 GB, free: 8.082 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003484/0.7183, allocations: 139.2 kB / 0.4942 GB, free: 7.859 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.378/3.096, allocations: 0 / 0.4942 GB, free: 7.859 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.mat does not exist to compare? outputFormat=mat