Running command: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.634/2.634, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.37e-05/4.373e-05, allocations: 7.938 kB / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4006, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.5677, allocations: 85.77 MB / 468.1 MB, free: 6.645 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.568, allocations: 55.97 kB / 468.1 MB, free: 6.59 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.007768/0.5758, allocations: 1.689 MB / 469.8 MB, free: 4.895 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5758, allocations: 0 / 469.8 MB, free: 4.895 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.5759, allocations: 4 kB / 469.8 MB, free: 4.891 MB / 394.8 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.0006832/0.5766, allocations: 376.9 kB / 470.2 MB, free: 4.48 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.5766, allocations: 8.031 kB / 470.2 MB, free: 4.473 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.71e-05/0.5767, allocations: 38.55 kB / 470.2 MB, free: 4.426 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.5768, allocations: 15.86 kB / 470.2 MB, free: 4.41 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.5771, allocations: 206.8 kB / 470.4 MB, free: 4.168 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.5772, allocations: 4 kB / 470.4 MB, free: 4.164 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.5772, allocations: 23.92 kB / 470.5 MB, free: 4.141 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.5775, allocations: 81.66 kB / 470.5 MB, free: 4.055 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.5775, allocations: 0 / 470.5 MB, free: 4.055 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.5775, allocations: 4 kB / 470.6 MB, free: 4.051 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.5775, allocations: 4 kB / 470.6 MB, free: 4.047 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.5777, allocations: 35.98 kB / 470.6 MB, free: 4.012 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007803/0.5785, allocations: 372.5 kB / 471 MB, free: 3.598 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.5787, allocations: 50.56 kB / 471 MB, free: 3.539 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.004e-05/0.5788, allocations: 24.89 kB / 471 MB, free: 3.512 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.5788, allocations: 0 / 471 MB, free: 3.512 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002661/0.5791, allocations: 107.2 kB / 471.1 MB, free: 3.395 MB / 394.8 MB Notification: Performance of pre-optimization done (n=9): time 2.705e-06/0.5791, allocations: 0 / 471.1 MB, free: 3.395 MB / 394.8 MB Notification: Performance of matching and sorting (n=9): time 0.0003337/0.5795, allocations: 97.45 kB / 471.2 MB, free: 3.293 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.5795, allocations: 55.41 kB / 471.3 MB, free: 3.227 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.5797, allocations: 123.5 kB / 471.4 MB, free: 3.098 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.5797, allocations: 29.7 kB / 471.4 MB, free: 3.062 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.528e-05/0.5798, allocations: 104.3 kB / 471.5 MB, free: 2.953 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.523e-05/0.5799, allocations: 31.78 kB / 471.6 MB, free: 2.922 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.5799, allocations: 4 kB / 471.6 MB, free: 2.918 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.5801, allocations: 322.8 kB / 471.9 MB, free: 2.594 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.553e-05/0.5802, allocations: 20 kB / 471.9 MB, free: 2.574 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.5803, allocations: 71.67 kB / 472 MB, free: 2.477 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.5804, allocations: 31.98 kB / 472 MB, free: 2.445 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5804, allocations: 0 / 472 MB, free: 2.445 MB / 394.8 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003157/0.5808, allocations: 133.4 kB / 472.1 MB, free: 2.309 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.5808, allocations: 7.953 kB / 472.1 MB, free: 2.301 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.5808, allocations: 4 kB / 472.1 MB, free: 2.297 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.5808, allocations: 0 / 472.1 MB, free: 2.297 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.5811, allocations: 27.92 kB / 472.2 MB, free: 2.27 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.5811, allocations: 4 kB / 472.2 MB, free: 2.266 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.5812, allocations: 8.031 kB / 472.2 MB, free: 2.258 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.5813, allocations: 15.98 kB / 472.2 MB, free: 2.242 MB / 394.8 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.0001157/0.5814, allocations: 121 kB / 472.3 MB, free: 2.117 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.5814, allocations: 7.906 kB / 472.3 MB, free: 2.109 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.993e-05/0.5815, allocations: 12.58 kB / 472.3 MB, free: 2.102 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.5815, allocations: 4 kB / 472.3 MB, free: 2.098 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.5815, allocations: 3.938 kB / 472.3 MB, free: 2.094 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.5815, allocations: 0 / 472.3 MB, free: 2.094 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.5818, allocations: 201.5 kB / 472.5 MB, free: 1.848 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5818, allocations: 0 / 472.5 MB, free: 1.848 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.582, allocations: 15.98 kB / 472.6 MB, free: 1.832 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.582, allocations: 8 kB / 472.6 MB, free: 1.824 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.5821, allocations: 4 kB / 472.6 MB, free: 1.82 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.5821, allocations: 3.953 kB / 472.6 MB, free: 1.816 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5821, allocations: 0 / 472.6 MB, free: 1.816 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.5825, allocations: 157 kB / 472.7 MB, free: 1.645 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.5826, allocations: 81.02 kB / 472.8 MB, free: 1.547 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.5826, allocations: 4 kB / 472.8 MB, free: 1.543 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.5828, allocations: 12.05 kB / 472.8 MB, free: 1.531 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.5828, allocations: 11.89 kB / 472.8 MB, free: 1.52 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.5829, allocations: 7.984 kB / 472.8 MB, free: 1.512 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.000108/0.583, allocations: 101.6 kB / 472.9 MB, free: 1.414 MB / 394.8 MB Notification: Performance of sort global known variables: time 4.1e-07/0.583, allocations: 0 / 472.9 MB, free: 1.414 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0003364/0.5833, allocations: 23.94 kB / 473 MB, free: 1.391 MB / 394.8 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.0008056/0.5842, allocations: 0.6982 MB / 473.7 MB, free: 0.6602 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0002533/0.5844, allocations: 59.88 kB / 473.7 MB, free: 0.6016 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.5845, allocations: 0 / 473.7 MB, free: 0.6016 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.5846, allocations: 31.98 kB / 473.8 MB, free: 0.5703 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.5848, allocations: 11.95 kB / 473.8 MB, free: 0.5586 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007909/0.5856, allocations: 204.7 kB / 474 MB, free: 336 kB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.5861, allocations: 0.7125 MB / 474.7 MB, free: 15.59 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.33e-05/0.5862, allocations: 12.55 kB / 474.7 MB, free: 15.57 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.206e-05/0.5863, allocations: 31.73 kB / 474.7 MB, free: 15.54 MB / 410.8 MB Notification: Performance of SimCode: time 1.463e-06/0.5863, allocations: 0 / 474.7 MB, free: 15.54 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.6101, allocations: 1.975 MB / 476.7 MB, free: 13.64 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003158/0.6105, allocations: 146.2 kB / 476.8 MB, free: 13.41 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/3.067, allocations: 0 / 476.8 MB, free: 13.41 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat does not exist to compare? outputFormat=mat