Running command: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_RootMeanSquare",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.617/2.617, allocations: 235.2 MB / 242.3 MB, free: 15.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.235e-05/2.239e-05, allocations: 0 / 299.6 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4184, allocations: 54.86 MB / 354.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1656/0.5841, allocations: 80.14 MB / 434.6 MB, free: 2.055 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.5844, allocations: 67.97 kB / 434.6 MB, free: 1.988 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008878/0.5933, allocations: 1.633 MB / 436.3 MB, free: 368 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5933, allocations: 0 / 436.3 MB, free: 368 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.5934, allocations: 4 kB / 436.3 MB, free: 364 kB / 362.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.0007435/0.5941, allocations: 392 kB / 436.7 MB, free: 15.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.5942, allocations: 8.031 kB / 436.7 MB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.191e-05/0.5943, allocations: 11.91 kB / 436.7 MB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.5946, allocations: 208.9 kB / 436.9 MB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.5947, allocations: 4 kB / 436.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/0.5947, allocations: 4 kB / 436.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000177/0.5949, allocations: 32 kB / 436.9 MB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.5952, allocations: 81.66 kB / 437 MB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.5952, allocations: 0 / 437 MB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.5952, allocations: 7.953 kB / 437 MB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.5953, allocations: 7.938 kB / 437 MB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008268/0.5961, allocations: 337.2 kB / 437.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.5963, allocations: 62.39 kB / 437.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.163e-05/0.5964, allocations: 20.95 kB / 437.4 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.5964, allocations: 4 kB / 437.4 MB, free: 15.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.5967, allocations: 87.41 kB / 437.5 MB, free: 14.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.545e-06/0.5967, allocations: 0 / 437.5 MB, free: 14.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003358/0.597, allocations: 93.42 kB / 437.6 MB, free: 14.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.5971, allocations: 55.41 kB / 437.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.5973, allocations: 121.2 kB / 437.8 MB, free: 14.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.5973, allocations: 25.7 kB / 437.8 MB, free: 14.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.817e-05/0.5974, allocations: 104.2 kB / 437.9 MB, free: 14.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.5975, allocations: 27.64 kB / 437.9 MB, free: 14.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.5975, allocations: 0 / 437.9 MB, free: 14.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.5976, allocations: 318.8 kB / 438.2 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.509e-05/0.5977, allocations: 19.98 kB / 438.3 MB, free: 14.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.5979, allocations: 75.67 kB / 438.3 MB, free: 14.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.598, allocations: 31.98 kB / 438.4 MB, free: 14.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.598, allocations: 0 / 438.4 MB, free: 14.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003395/0.5984, allocations: 121.4 kB / 438.5 MB, free: 13.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.5984, allocations: 4 kB / 438.5 MB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.5984, allocations: 7.938 kB / 438.5 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.5985, allocations: 4 kB / 438.5 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.5987, allocations: 24.2 kB / 438.5 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.5987, allocations: 4 kB / 438.5 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.5989, allocations: 11.91 kB / 438.5 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.5989, allocations: 4 kB / 438.5 MB, free: 13.85 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.0001154/0.599, allocations: 120.8 kB / 438.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002613/0.5993, allocations: 97.5 kB / 438.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.5994, allocations: 7.906 kB / 438.8 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.552e-05/0.5994, allocations: 12.61 kB / 438.8 MB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5995, allocations: 8 kB / 438.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5995, allocations: 0 / 438.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.5995, allocations: 0 / 438.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.5997, allocations: 170.3 kB / 438.9 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.5998, allocations: 0 / 438.9 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.6, allocations: 15.98 kB / 439 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.6, allocations: 3.953 kB / 439 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.6, allocations: 4 kB / 439 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.6, allocations: 0 / 439 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.139e-05/0.6001, allocations: 4.094 kB / 439 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.6005, allocations: 152.8 kB / 439.1 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.6006, allocations: 85.02 kB / 439.2 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.6006, allocations: 7.984 kB / 439.2 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.6007, allocations: 0 / 439.2 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.6008, allocations: 7.984 kB / 439.2 MB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.6008, allocations: 4 kB / 439.2 MB, free: 13.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000107/0.601, allocations: 105.1 kB / 439.3 MB, free: 12.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.601, allocations: 8.062 kB / 439.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004256/0.6014, allocations: 19.94 kB / 439.4 MB, free: 12.95 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.0007748/0.6022, allocations: 0.6793 MB / 440 MB, free: 12.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.6025, allocations: 56.2 kB / 440.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6025, allocations: 0.5 kB / 440.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.6026, allocations: 35.88 kB / 440.1 MB, free: 12.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.6029, allocations: 11.94 kB / 440.1 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000823/0.6037, allocations: 203.5 kB / 440.3 MB, free: 11.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.6041, allocations: 0.7041 MB / 441 MB, free: 11.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.835e-05/0.6042, allocations: 16.55 kB / 441.1 MB, free: 11.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.6043, allocations: 27.44 kB / 441.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of SimCode: time 8.71e-07/0.6044, allocations: 0 / 441.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04647/0.6508, allocations: 1.663 MB / 442.7 MB, free: 9.477 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003659/0.6513, allocations: 135.2 kB / 442.9 MB, free: 9.277 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.642/3.294, allocations: 0 / 442.9 MB, free: 9.277 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.RootMeanSquare_res.mat does not exist to compare? outputFormat=mat