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.267/2.267, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.536e-05/4.542e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4071, allocations: 54.85 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1664/0.5736, allocations: 80.81 MB / 440.7 MB, free: 20 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.5739, allocations: 64.83 kB / 440.8 MB, free: 15.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007398/0.5813, allocations: 1.648 MB / 442.4 MB, free: 14.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.5814, allocations: 0 / 442.4 MB, free: 14.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.5814, allocations: 7.5 kB / 442.4 MB, free: 14.32 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.000612/0.582, allocations: 382.2 kB / 442.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.5821, allocations: 8.031 kB / 442.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.104e-05/0.5821, allocations: 46.48 kB / 442.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.5822, allocations: 7.906 kB / 442.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.5825, allocations: 200.6 kB / 443 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.5826, allocations: 8 kB / 443 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.5826, allocations: 7.984 kB / 443.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.5829, allocations: 81.67 kB / 443.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.5829, allocations: 4 kB / 443.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.5829, allocations: 3.953 kB / 443.1 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.5829, allocations: 7.984 kB / 443.1 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.5831, allocations: 43.92 kB / 443.2 MB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007209/0.5838, allocations: 368.5 kB / 443.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.584, allocations: 58.5 kB / 443.6 MB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.073e-05/0.5841, allocations: 24.95 kB / 443.6 MB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.5841, allocations: 0 / 443.6 MB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.5844, allocations: 90.03 kB / 443.7 MB, free: 12.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.994e-06/0.5844, allocations: 4 kB / 443.7 MB, free: 12.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.000309/0.5847, allocations: 93.52 kB / 443.8 MB, free: 12.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.5848, allocations: 55.41 kB / 443.9 MB, free: 12.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.5849, allocations: 122 kB / 444 MB, free: 12.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.585, allocations: 37.69 kB / 444 MB, free: 12.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.585, allocations: 100.3 kB / 444.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.5851, allocations: 35.06 kB / 444.2 MB, free: 12.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.5851, allocations: 4 kB / 444.2 MB, free: 12.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.5853, allocations: 322.8 kB / 444.5 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.994e-05/0.5853, allocations: 20 kB / 444.5 MB, free: 12.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.5855, allocations: 76.52 kB / 444.6 MB, free: 11.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.98e-05/0.5856, allocations: 35.94 kB / 444.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.5856, allocations: 0 / 444.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000299/0.5859, allocations: 125.3 kB / 444.7 MB, free: 11.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.5859, allocations: 9.719 kB / 444.7 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.586, allocations: 4.219 kB / 444.7 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.586, allocations: 4 kB / 444.7 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.5862, allocations: 23.98 kB / 444.8 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.5862, allocations: 9.109 kB / 444.8 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.5864, allocations: 13.02 kB / 444.8 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.5864, allocations: 8 kB / 444.8 MB, free: 11.68 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 9.933e-05/0.5865, allocations: 116.9 kB / 444.9 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.5865, allocations: 7.906 kB / 444.9 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.805e-05/0.5866, allocations: 12.62 kB / 444.9 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.5866, allocations: 4.094 kB / 444.9 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.5866, allocations: 3.984 kB / 444.9 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.5867, allocations: 4.797 kB / 444.9 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.5869, allocations: 201.5 kB / 445.1 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5869, allocations: 3.953 kB / 445.1 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.5871, allocations: 15.92 kB / 445.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.175e-06/0.5871, allocations: 0.6562 kB / 445.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.5871, allocations: 4.75 kB / 445.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.5871, allocations: 7.984 kB / 445.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5871, allocations: 0 / 445.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.5875, allocations: 149.9 kB / 445.3 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.5876, allocations: 89 kB / 445.4 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.5876, allocations: 4 kB / 445.4 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.5878, allocations: 11.55 kB / 445.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.5878, allocations: 4 kB / 445.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.5878, allocations: 8.047 kB / 445.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.236e-05/0.5879, allocations: 107 kB / 445.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.588, allocations: 0 / 445.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003139/0.5883, allocations: 27.92 kB / 445.6 MB, free: 10.83 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.0006815/0.589, allocations: 0.6942 MB / 446.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.5892, allocations: 68.22 kB / 446.3 MB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5892, allocations: 0 / 446.3 MB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.244e-05/0.5893, allocations: 27.92 kB / 446.4 MB, free: 10.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.5895, allocations: 8 kB / 446.4 MB, free: 10 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006689/0.5902, allocations: 204.3 kB / 446.6 MB, free: 9.773 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.5906, allocations: 0.7048 MB / 447.3 MB, free: 9.043 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.457e-05/0.5907, allocations: 12.55 kB / 447.3 MB, free: 9.031 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.637e-05/0.5908, allocations: 35.42 kB / 447.3 MB, free: 8.996 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.5908, allocations: 0 / 447.3 MB, free: 8.996 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.6119, allocations: 1.977 MB / 449.3 MB, free: 7.102 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003165/0.6123, allocations: 142.2 kB / 449.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.411/3.024, allocations: 7.875 kB / 449.4 MB, free: 6.867 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