Running command: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.197/2.197, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.976e-05/7.016e-05, allocations: 7.984 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3856, allocations: 54.86 MB / 359.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1454/0.5311, allocations: 80.8 MB / 440.7 MB, free: 128 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.5314, allocations: 67.95 kB / 440.7 MB, free: 60 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007585/0.539, allocations: 1.647 MB / 442.4 MB, free: 14.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.539, allocations: 0 / 442.4 MB, free: 14.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.539, allocations: 7.5 kB / 442.4 MB, free: 14.43 MB / 378.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.0006267/0.5397, allocations: 378.2 kB / 442.7 MB, free: 14.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.5397, allocations: 11.97 kB / 442.8 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.614e-05/0.5398, allocations: 46.55 kB / 442.8 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.5399, allocations: 8.656 kB / 442.8 MB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.5402, allocations: 198.9 kB / 443 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.5402, allocations: 8 kB / 443 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.5403, allocations: 7.984 kB / 443 MB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.5405, allocations: 81.67 kB / 443.1 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.5405, allocations: 0 / 443.1 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.5406, allocations: 9.438 kB / 443.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.5406, allocations: 7.938 kB / 443.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.5408, allocations: 40 kB / 443.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007239/0.5415, allocations: 378.7 kB / 443.5 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.5416, allocations: 50.59 kB / 443.6 MB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.764e-05/0.5418, allocations: 28.86 kB / 443.6 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.5418, allocations: 0 / 443.6 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.542, allocations: 95.34 kB / 443.7 MB, free: 12.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.5421, allocations: 0 / 443.7 MB, free: 12.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003125/0.5424, allocations: 90.33 kB / 443.8 MB, free: 12.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.5424, allocations: 55.34 kB / 443.8 MB, free: 12.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.5426, allocations: 135.2 kB / 444 MB, free: 12.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.5426, allocations: 29.7 kB / 444 MB, free: 12.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.5427, allocations: 101.1 kB / 444.1 MB, free: 12.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.5428, allocations: 31.08 kB / 444.1 MB, free: 12.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.5428, allocations: 4 kB / 444.1 MB, free: 12.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.5429, allocations: 322.8 kB / 444.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.824e-05/0.543, allocations: 16 kB / 444.5 MB, free: 12.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.5432, allocations: 84.84 kB / 444.5 MB, free: 12.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.5433, allocations: 35.89 kB / 444.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.5433, allocations: 3.984 kB / 444.6 MB, free: 11.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003063/0.5436, allocations: 126.7 kB / 444.7 MB, free: 11.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.5436, allocations: 8 kB / 444.7 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.5437, allocations: 0 / 444.7 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.5437, allocations: 4 kB / 444.7 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.5439, allocations: 24.2 kB / 444.7 MB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.5439, allocations: 11.94 kB / 444.8 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.5441, allocations: 7.984 kB / 444.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.5441, allocations: 12 kB / 444.8 MB, free: 11.78 MB / 378.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 0.0001004/0.5442, allocations: 116.9 kB / 444.9 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.5442, allocations: 7.906 kB / 444.9 MB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.579e-05/0.5443, allocations: 8.625 kB / 444.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.5443, allocations: 7.984 kB / 444.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5443, allocations: 4 kB / 444.9 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.5444, allocations: 0 / 444.9 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.5446, allocations: 201.5 kB / 445.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.5446, allocations: 5.828 kB / 445.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.5448, allocations: 16.8 kB / 445.1 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5448, allocations: 0 / 445.1 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.5448, allocations: 11.98 kB / 445.1 MB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.5448, allocations: 0 / 445.1 MB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5448, allocations: 0 / 445.1 MB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.5452, allocations: 152.9 kB / 445.3 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.5453, allocations: 89 kB / 445.4 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.5454, allocations: 3.5 kB / 445.4 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.5455, allocations: 11.98 kB / 445.4 MB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.5455, allocations: 4.094 kB / 445.4 MB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.5456, allocations: 11.97 kB / 445.4 MB, free: 11.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.28e-05/0.5457, allocations: 103.5 kB / 445.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5457, allocations: 0 / 445.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000319/0.546, allocations: 31.92 kB / 445.5 MB, free: 10.92 MB / 378.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.0006801/0.5467, allocations: 0.6982 MB / 446.2 MB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.547, allocations: 59.88 kB / 446.3 MB, free: 10.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.547, allocations: 0.5 kB / 446.3 MB, free: 10.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.5471, allocations: 39.92 kB / 446.3 MB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.5473, allocations: 8 kB / 446.3 MB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006843/0.548, allocations: 200.4 kB / 446.5 MB, free: 9.859 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.5483, allocations: 0.7045 MB / 447.2 MB, free: 9.129 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.112e-05/0.5484, allocations: 12.56 kB / 447.3 MB, free: 9.117 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.219e-05/0.5485, allocations: 31.42 kB / 447.3 MB, free: 9.086 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5485, allocations: 0 / 447.3 MB, free: 9.086 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.5729, allocations: 1.992 MB / 449.3 MB, free: 7.18 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.5732, allocations: 151.5 kB / 449.4 MB, free: 6.945 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/2.842, allocations: 7.938 kB / 449.4 MB, free: 6.938 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare_res.mat does not exist to compare? outputFormat=mat