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.924/2.924, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.216e-05/2.219e-05, allocations: 0 / 299.6 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5119/0.5119, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.7093, allocations: 80.14 MB / 434.5 MB, free: 14.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.7097, allocations: 63.97 kB / 434.6 MB, free: 14.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009058/0.7187, allocations: 1.64 MB / 436.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.7188, allocations: 3.938 kB / 436.3 MB, free: 13.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.7188, allocations: 0 / 436.3 MB, free: 13.22 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.0007375/0.7196, allocations: 386.6 kB / 436.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.7196, allocations: 12.03 kB / 436.6 MB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.998e-05/0.7197, allocations: 38.48 kB / 436.7 MB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.082e-05/0.7198, allocations: 11.91 kB / 436.7 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.7202, allocations: 207.5 kB / 436.9 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.7202, allocations: 8 kB / 436.9 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/0.7203, allocations: 8 kB / 436.9 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001791/0.7204, allocations: 32 kB / 436.9 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.7207, allocations: 73.59 kB / 437 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.7208, allocations: 3.953 kB / 437 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.7208, allocations: 4 kB / 437 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.7208, allocations: 0 / 437 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000809/0.7216, allocations: 329.3 kB / 437.3 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.7218, allocations: 58.45 kB / 437.4 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.118e-05/0.7219, allocations: 24.89 kB / 437.4 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.7219, allocations: 160 / 437.4 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002739/0.7222, allocations: 95.39 kB / 437.5 MB, free: 11.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.455e-06/0.7222, allocations: 0 / 437.5 MB, free: 11.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003568/0.7226, allocations: 93.42 kB / 437.6 MB, free: 11.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.7227, allocations: 51.41 kB / 437.7 MB, free: 11.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.7229, allocations: 122.4 kB / 437.8 MB, free: 11.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.7229, allocations: 29.7 kB / 437.8 MB, free: 11.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.546e-05/0.723, allocations: 108.2 kB / 437.9 MB, free: 11.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.246e-05/0.7231, allocations: 27.66 kB / 437.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.096e-05/0.7231, allocations: 0 / 437.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.7233, allocations: 318.8 kB / 438.3 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.816e-05/0.7233, allocations: 16 kB / 438.3 MB, free: 11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.7235, allocations: 85.62 kB / 438.4 MB, free: 10.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.7236, allocations: 23.98 kB / 438.4 MB, free: 10.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.7236, allocations: 96 / 438.4 MB, free: 10.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003538/0.724, allocations: 129.3 kB / 438.5 MB, free: 10.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.724, allocations: 9.875 kB / 438.5 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.7241, allocations: 3.984 kB / 438.5 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.7241, allocations: 4 kB / 438.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.7244, allocations: 23.98 kB / 438.5 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.7244, allocations: 7.938 kB / 438.5 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.7245, allocations: 7.906 kB / 438.6 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.7246, allocations: 8 kB / 438.6 MB, free: 10.67 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.0001163/0.7247, allocations: 113.1 kB / 438.7 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.7248, allocations: 11.86 kB / 438.7 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.816e-05/0.7248, allocations: 16.61 kB / 438.7 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.7249, allocations: 0 / 438.7 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7249, allocations: 0 / 438.7 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.7249, allocations: 0 / 438.7 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.7251, allocations: 170.2 kB / 438.9 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.7251, allocations: 0 / 438.9 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.7254, allocations: 19.92 kB / 438.9 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.7254, allocations: 4 kB / 438.9 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.7254, allocations: 4 kB / 438.9 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.7254, allocations: 3.953 kB / 438.9 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.7255, allocations: 3.938 kB / 438.9 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.7259, allocations: 148.8 kB / 439 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.997e-05/0.726, allocations: 85.05 kB / 439.1 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.726, allocations: 0 / 439.1 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.7262, allocations: 8.062 kB / 439.1 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.7262, allocations: 11.94 kB / 439.2 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.7263, allocations: 3.984 kB / 439.2 MB, free: 9.996 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001133/0.7264, allocations: 103.3 kB / 439.3 MB, free: 9.895 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7264, allocations: 0 / 439.3 MB, free: 9.895 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003849/0.7268, allocations: 24.06 kB / 439.3 MB, free: 9.871 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.0007882/0.7276, allocations: 0.6827 MB / 440 MB, free: 9.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.7279, allocations: 63.86 kB / 440 MB, free: 9.098 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7279, allocations: 0 / 440 MB, free: 9.098 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.728, allocations: 24 kB / 440 MB, free: 9.074 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.7283, allocations: 15.94 kB / 440.1 MB, free: 9.059 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008377/0.7291, allocations: 197.9 kB / 440.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.7295, allocations: 0.708 MB / 441 MB, free: 8.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.7296, allocations: 14.92 kB / 441 MB, free: 8.078 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.7298, allocations: 27.42 kB / 441 MB, free: 8.051 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.7298, allocations: 3.938 kB / 441 MB, free: 8.047 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06693/0.7967, allocations: 1.715 MB / 442.7 MB, free: 6.348 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0009355/0.7978, allocations: 145.6 kB / 442.9 MB, free: 6.141 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.066/3.863, allocations: 0 / 442.9 MB, free: 6.141 MB / 378.7 MB "" Variables in the reference:time,mean1.x,rootMeanSquare.mean.x,mean1.y,rootMeanSquare.mean.y Variables in the result:_D_whenCondition1,_D_whenCondition2,der(mean1.x),der(rootMeanSquare.mean.x),expSine.amplitude,expSine.damping,expSine.freqHz,expSine.offset,expSine.phase,expSine.startTime,expSine.y,mean1.f,mean1.t0,mean1.u,mean1.x,mean1.x0,mean1.y,mean1.yGreaterOrEqualZero,rootMeanSquare.f,rootMeanSquare.mean.f,rootMeanSquare.mean.t0,rootMeanSquare.mean.u,rootMeanSquare.mean.x,rootMeanSquare.mean.x0,rootMeanSquare.mean.y,rootMeanSquare.mean.yGreaterOrEqualZero,rootMeanSquare.product.nu,rootMeanSquare.product.significantDigits,rootMeanSquare.product.u[1],rootMeanSquare.product.u[2],rootMeanSquare.product.y,rootMeanSquare.sqrt1.u,rootMeanSquare.sqrt1.y,rootMeanSquare.u,rootMeanSquare.x0,rootMeanSquare.y,time