Running command: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.041/2.041, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.154e-05/4.172e-05, allocations: 7.984 kB / 273.1 MB, free: 0.6602 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1054, allocations: 48.69 MB / 321.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.42/0.5254, allocations: 74.44 MB / 396.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.5257, allocations: 66.56 kB / 396.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007149/0.5329, allocations: 1.654 MB / 398 MB, free: 13.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5329, allocations: 0 / 398 MB, free: 13.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.533, allocations: 4 kB / 398 MB, free: 13.69 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005932/0.5336, allocations: 383.9 kB / 398.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.5336, allocations: 8.031 kB / 398.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.313e-05/0.5337, allocations: 42.55 kB / 398.4 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.5338, allocations: 7.906 kB / 398.4 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.5341, allocations: 210.8 kB / 398.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.5341, allocations: 8 kB / 398.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.5341, allocations: 8 kB / 398.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.5344, allocations: 89.59 kB / 398.7 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.5344, allocations: 0 / 398.7 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.5345, allocations: 7.984 kB / 398.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.5345, allocations: 0 / 398.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.5346, allocations: 39.98 kB / 398.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007149/0.5354, allocations: 368.5 kB / 399.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.5355, allocations: 58.53 kB / 399.2 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.809e-05/0.5356, allocations: 24.86 kB / 399.2 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.5356, allocations: 4 kB / 399.2 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.5359, allocations: 103.2 kB / 399.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.913e-06/0.5359, allocations: 0 / 399.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003047/0.5362, allocations: 93.52 kB / 399.4 MB, free: 12.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.5363, allocations: 51.41 kB / 399.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.5364, allocations: 128.6 kB / 399.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.5365, allocations: 33.7 kB / 399.6 MB, free: 11.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.5366, allocations: 170.9 kB / 399.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.5366, allocations: 27.64 kB / 399.8 MB, free: 11.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-06/0.5367, allocations: 0 / 399.8 MB, free: 11.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.5368, allocations: 322.8 kB / 400.1 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.011e-05/0.5369, allocations: 16 kB / 400.1 MB, free: 11.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.537, allocations: 79.72 kB / 400.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.5371, allocations: 35.92 kB / 400.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5371, allocations: 0 / 400.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003019/0.5375, allocations: 129.3 kB / 400.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.5375, allocations: 4 kB / 400.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.5375, allocations: 4 kB / 400.4 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.5375, allocations: 4 kB / 400.4 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.5377, allocations: 19.98 kB / 400.4 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.5378, allocations: 11.92 kB / 400.4 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.5379, allocations: 16.06 kB / 400.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.5379, allocations: 12 kB / 400.4 MB, free: 10.97 MB / 330.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,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * 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 9.56e-05/0.538, allocations: 109 kB / 400.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.5381, allocations: 11.86 kB / 400.6 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.797e-05/0.5381, allocations: 20.69 kB / 400.6 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.5381, allocations: 0 / 400.6 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5382, allocations: 0 / 400.6 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.5382, allocations: 0 / 400.6 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.5384, allocations: 201.6 kB / 400.8 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5384, allocations: 3.938 kB / 400.8 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.5386, allocations: 16 kB / 400.8 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.5386, allocations: 0 / 400.8 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.5386, allocations: 15.94 kB / 400.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.5386, allocations: 7.938 kB / 400.8 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5386, allocations: 0 / 400.8 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.539, allocations: 145 kB / 401 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.563e-05/0.5391, allocations: 93.03 kB / 401.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.5392, allocations: 4.062 kB / 401.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.5393, allocations: 11.94 kB / 401.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.5393, allocations: 8 kB / 401.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.5394, allocations: 7.984 kB / 401.1 MB, free: 10.24 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.705e-05/0.5395, allocations: 99.28 kB / 401.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5395, allocations: 0 / 401.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002914/0.5398, allocations: 31.83 kB / 401.2 MB, free: 10.11 MB / 330.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,rootMeanSquare.mean.y) * 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.0007729/0.5406, allocations: 0.6905 MB / 401.9 MB, free: 9.387 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.5408, allocations: 59.88 kB / 402 MB, free: 9.328 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5408, allocations: 0 / 402 MB, free: 9.328 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.5409, allocations: 36.11 kB / 402 MB, free: 9.293 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.5411, allocations: 16.08 kB / 402 MB, free: 9.277 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006795/0.5418, allocations: 241.4 kB / 402.3 MB, free: 9.004 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.5422, allocations: 0.7043 MB / 403 MB, free: 8.273 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.518e-05/0.5423, allocations: 35.42 kB / 403 MB, free: 8.238 MB / 330.7 MB Notification: Performance of SimCode: time 7.32e-07/0.5423, allocations: 3.938 kB / 403 MB, free: 8.234 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.338/2.88, allocations: 1.763 MB / 404.8 MB, free: 6.469 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.RootMeanSquare_res.mat does not exist to compare? outputFormat=mat