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 1.899/1.899, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.668e-05/3.685e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09942/0.09948, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4444/0.544, allocations: 74.45 MB / 396.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.5443, allocations: 63.97 kB / 396.4 MB, free: 15.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007217/0.5515, allocations: 1.646 MB / 398 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.5516, allocations: 4 kB / 398 MB, free: 13.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.5516, allocations: 0 / 398 MB, free: 13.68 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.0006275/0.5522, allocations: 388 kB / 398.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.5523, allocations: 8.031 kB / 398.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.097e-05/0.5524, allocations: 34.56 kB / 398.4 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.5524, allocations: 15.84 kB / 398.4 MB, free: 13.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.5528, allocations: 210.8 kB / 398.6 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.5528, allocations: 12 kB / 398.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.5528, allocations: 8 kB / 398.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.5531, allocations: 85.66 kB / 398.8 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.5531, allocations: 7.984 kB / 398.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.5532, allocations: 0 / 398.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.5532, allocations: 0 / 398.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.5533, allocations: 39.94 kB / 398.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007502/0.5541, allocations: 368.6 kB / 399.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.5543, allocations: 54.52 kB / 399.2 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.267e-05/0.5543, allocations: 28.92 kB / 399.2 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.5544, allocations: 8.141 kB / 399.2 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.5546, allocations: 95.22 kB / 399.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.054e-06/0.5546, allocations: 0 / 399.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003125/0.555, allocations: 97.52 kB / 399.4 MB, free: 12.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.555, allocations: 51.41 kB / 399.5 MB, free: 12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.5552, allocations: 128.1 kB / 399.6 MB, free: 11.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.5552, allocations: 29.7 kB / 399.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.94e-05/0.5553, allocations: 162.8 kB / 399.8 MB, free: 11.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.5554, allocations: 35.58 kB / 399.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/0.5554, allocations: 4 kB / 399.8 MB, free: 11.63 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5556, allocations: 318.8 kB / 400.1 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.803e-05/0.5557, allocations: 16 kB / 400.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.5558, allocations: 79.66 kB / 400.2 MB, free: 11.19 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.5559, allocations: 31.98 kB / 400.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.556, allocations: 4 kB / 400.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003022/0.5563, allocations: 125.3 kB / 400.4 MB, free: 11.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.5563, allocations: 8 kB / 400.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.5563, allocations: 0 / 400.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.5563, allocations: 4 kB / 400.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.5566, allocations: 23.98 kB / 400.4 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.5566, allocations: 4 kB / 400.4 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.5567, allocations: 15.84 kB / 400.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.5568, allocations: 7.938 kB / 400.5 MB, free: 10.96 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.339e-05/0.5569, allocations: 117.2 kB / 400.6 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.5569, allocations: 15.86 kB / 400.6 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.184e-05/0.557, allocations: 12.7 kB / 400.6 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.557, allocations: 4 kB / 400.6 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.557, allocations: 0 / 400.6 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.557, allocations: 0 / 400.6 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.5572, allocations: 205.6 kB / 400.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.5573, allocations: 0 / 400.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.5574, allocations: 19.92 kB / 400.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.5575, allocations: 4 kB / 400.8 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.5575, allocations: 3.953 kB / 400.8 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.5575, allocations: 0 / 400.8 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.5575, allocations: 3.938 kB / 400.8 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.5579, allocations: 148.9 kB / 401 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.564e-05/0.558, allocations: 97.03 kB / 401.1 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.558, allocations: 0 / 401.1 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.5582, allocations: 16.02 kB / 401.1 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.5582, allocations: 7.984 kB / 401.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.5583, allocations: 4.094 kB / 401.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.5584, allocations: 111.2 kB / 401.2 MB, free: 10.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5584, allocations: 0 / 401.2 MB, free: 10.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003164/0.5587, allocations: 27.84 kB / 401.2 MB, free: 10.09 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.0006867/0.5594, allocations: 0.6866 MB / 401.9 MB, free: 9.375 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.5597, allocations: 63.86 kB / 402 MB, free: 9.312 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5597, allocations: 0 / 402 MB, free: 9.312 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.5598, allocations: 28 kB / 402 MB, free: 9.285 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.56, allocations: 15.94 kB / 402 MB, free: 9.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007191/0.5607, allocations: 237.2 kB / 402.3 MB, free: 9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.5611, allocations: 0.7084 MB / 403 MB, free: 8.266 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.47e-05/0.5612, allocations: 35.42 kB / 403 MB, free: 8.23 MB / 330.7 MB Notification: Performance of SimCode: time 2.865e-06/0.5612, allocations: 0 / 403 MB, free: 8.23 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.361/2.922, allocations: 1.759 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