Running command: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.406/2.406, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.731e-05, allocations: 0 / 348.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1435, allocations: 61.89 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5109/0.6545, allocations: 86.79 MB / 497.2 MB, free: 1.207 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.6548, allocations: 59.97 kB / 497.2 MB, free: 1.148 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008208/0.663, allocations: 1.758 MB / 499 MB, free: 15.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6631, allocations: 0 / 499 MB, free: 15.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.6631, allocations: 4 kB / 499 MB, free: 15.39 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.0006967/0.6638, allocations: 382.1 kB / 499.3 MB, free: 14.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.6639, allocations: 8.031 kB / 499.4 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.681e-05/0.664, allocations: 42.55 kB / 499.4 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.664, allocations: 7.906 kB / 499.4 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.6644, allocations: 209.7 kB / 499.6 MB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.6645, allocations: 8 kB / 499.6 MB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.6645, allocations: 15.94 kB / 499.6 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.6648, allocations: 85.66 kB / 499.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.6648, allocations: 3.938 kB / 499.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.6648, allocations: 4 kB / 499.7 MB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.6649, allocations: 4 kB / 499.7 MB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.665, allocations: 39.98 kB / 499.8 MB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008135/0.6659, allocations: 388.4 kB / 0.4884 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.666, allocations: 50.56 kB / 0.4885 GB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.951e-05/0.6661, allocations: 20.95 kB / 0.4885 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.6662, allocations: 8 kB / 0.4885 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/0.6664, allocations: 91.34 kB / 0.4886 GB, free: 13.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 3.346e-06/0.6664, allocations: 0 / 0.4886 GB, free: 13.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.000333/0.6668, allocations: 93.52 kB / 0.4887 GB, free: 13.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.6668, allocations: 59.36 kB / 0.4887 GB, free: 13.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.667, allocations: 121.2 kB / 0.4888 GB, free: 13.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.6671, allocations: 37.64 kB / 0.4889 GB, free: 13.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.751e-05/0.6672, allocations: 108 kB / 0.489 GB, free: 13.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.6672, allocations: 31.75 kB / 0.489 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/0.6672, allocations: 8 kB / 0.489 GB, free: 13.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6674, allocations: 318.8 kB / 0.4893 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.127e-05/0.6675, allocations: 20 kB / 0.4893 GB, free: 13.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.6676, allocations: 76.44 kB / 0.4894 GB, free: 12.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.6677, allocations: 27.98 kB / 0.4894 GB, free: 12.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.6677, allocations: 7.938 kB / 0.4895 GB, free: 12.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003119/0.6681, allocations: 121.4 kB / 0.4896 GB, free: 12.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.6681, allocations: 11.59 kB / 0.4896 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.6681, allocations: 0 / 0.4896 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.6682, allocations: 4 kB / 0.4896 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.6684, allocations: 32.02 kB / 0.4896 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.6685, allocations: 4 kB / 0.4896 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.6686, allocations: 24 kB / 0.4896 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.6686, allocations: 7.984 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.000111/0.6688, allocations: 113.2 kB / 0.4898 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.6688, allocations: 11.91 kB / 0.4898 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.046e-05/0.6689, allocations: 12.62 kB / 0.4898 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.6689, allocations: 3.938 kB / 0.4898 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.6689, allocations: 8 kB / 0.4898 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.6689, allocations: 3.984 kB / 0.4898 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.6692, allocations: 205.5 kB / 0.49 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.6692, allocations: 0 / 0.49 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.6694, allocations: 11.98 kB / 0.49 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.6694, allocations: 4 kB / 0.49 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.6694, allocations: 0 / 0.49 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.6694, allocations: 3.984 kB / 0.49 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.6694, allocations: 0 / 0.49 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.6698, allocations: 161 kB / 0.4902 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.6699, allocations: 85.08 kB / 0.4902 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.67, allocations: 4 kB / 0.4902 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.6701, allocations: 3.984 kB / 0.4903 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.6702, allocations: 8 kB / 0.4903 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.6702, allocations: 7.984 kB / 0.4903 GB, free: 11.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.6703, allocations: 99.28 kB / 0.4904 GB, free: 11.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6703, allocations: 0 / 0.4904 GB, free: 11.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003457/0.6707, allocations: 31.89 kB / 0.4904 GB, free: 11.86 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.000756/0.6714, allocations: 0.6958 MB / 0.4911 GB, free: 11.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002348/0.6717, allocations: 59.88 kB / 0.4911 GB, free: 11.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6717, allocations: 3.938 kB / 0.4911 GB, free: 11.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.6718, allocations: 35.92 kB / 0.4912 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.6721, allocations: 4.5 kB / 0.4912 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007882/0.6729, allocations: 215 kB / 0.4914 GB, free: 10.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.6732, allocations: 0.7121 MB / 0.4921 GB, free: 10.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.146e-05/0.6733, allocations: 4.562 kB / 0.4921 GB, free: 10.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.843e-05/0.6734, allocations: 31.8 kB / 0.4921 GB, free: 10.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6734, allocations: 4 kB / 0.4921 GB, free: 10 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.6992, allocations: 1.99 MB / 0.4941 GB, free: 8.102 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000318/0.6996, allocations: 143.2 kB / 0.4942 GB, free: 7.875 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/3.069, allocations: 64 / 0.4942 GB, free: 7.875 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.mat does not exist to compare? outputFormat=mat