Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Mean,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_Mean",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.179/3.179, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.093e-05, allocations: 0 / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5414/0.5415, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2025/0.744, allocations: 81.56 MB / 436 MB, free: 13.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.7444, allocations: 63.97 kB / 436 MB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02582/0.7702, allocations: 4.112 MB / 440.1 MB, free: 9.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.7703, allocations: 0 / 440.1 MB, free: 9.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.403e-05/0.7703, allocations: 11.94 kB / 440.1 MB, free: 9.332 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001914/0.7723, allocations: 0.5246 MB / 440.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.861e-05/0.7724, allocations: 12.03 kB / 440.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002421/0.7726, allocations: 74.83 kB / 440.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.7728, allocations: 35.62 kB / 440.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.7739, allocations: 306.1 kB / 441.1 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.841e-05/0.7739, allocations: 16.5 kB / 441.1 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.7741, allocations: 24 kB / 441.1 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007791/0.7749, allocations: 149 kB / 441.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009615/0.7759, allocations: 223.7 kB / 441.5 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.7759, allocations: 3.906 kB / 441.5 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.621e-05/0.776, allocations: 0 / 441.5 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.776, allocations: 8 kB / 441.5 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00332/0.7794, allocations: 0.7479 MB / 442.2 MB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007489/0.7802, allocations: 174.8 kB / 442.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.7806, allocations: 84.84 kB / 442.5 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.373e-05/0.7806, allocations: 0 / 442.5 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008128/0.7815, allocations: 199.2 kB / 442.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 3.918e-06/0.7815, allocations: 7.938 kB / 442.7 MB, free: 6.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.001156/0.7827, allocations: 241.3 kB / 442.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/0.7828, allocations: 59.41 kB / 443 MB, free: 6.293 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.7832, allocations: 192.4 kB / 443.2 MB, free: 6.094 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.796e-05/0.7833, allocations: 33.69 kB / 443.2 MB, free: 6.055 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.7836, allocations: 168.8 kB / 443.4 MB, free: 5.887 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.7838, allocations: 94.61 kB / 443.5 MB, free: 5.793 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.7838, allocations: 0 / 443.5 MB, free: 5.793 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002427/0.7841, allocations: 342.8 kB / 443.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.7844, allocations: 64.75 kB / 443.9 MB, free: 5.383 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000502/0.785, allocations: 198.6 kB / 444.1 MB, free: 5.129 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004503/0.7854, allocations: 103.8 kB / 444.2 MB, free: 5.027 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.7855, allocations: 0 / 444.2 MB, free: 5.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001311/0.7868, allocations: 297 kB / 444.5 MB, free: 4.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.7869, allocations: 15.92 kB / 444.5 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.7869, allocations: 4 kB / 444.5 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.567e-05/0.787, allocations: 8 kB / 444.5 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009081/0.7879, allocations: 76 kB / 444.6 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.253e-05/0.7879, allocations: 15.92 kB / 444.6 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005328/0.7885, allocations: 32 kB / 444.6 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-05/0.7886, allocations: 19.98 kB / 444.6 MB, free: 4.562 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.mean.y,mean.y,$PRE.rectifiedMean.mean.y,rectifiedMean.mean.y,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y,$PRE.harmonic.mean1.y,harmonic.mean1.y,$PRE.harmonic.mean2.y,harmonic.mean2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0002511/0.7888, allocations: 120.8 kB / 444.7 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.789, allocations: 31.62 kB / 444.8 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.7903, allocations: 276.7 kB / 445 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.7904, allocations: 0 / 445 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.7904, allocations: 7.953 kB / 445.1 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.7904, allocations: 3.984 kB / 445.1 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.7923, allocations: 0.6081 MB / 445.7 MB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.7924, allocations: 0 / 445.7 MB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008461/0.7932, allocations: 51.91 kB / 445.7 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.658e-05/0.7933, allocations: 4 kB / 445.7 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.139e-05/0.7934, allocations: 12 kB / 445.7 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.387e-06/0.7934, allocations: 3.984 kB / 445.7 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.7934, allocations: 3.953 kB / 445.7 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.7952, allocations: 459.5 kB / 446.2 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.7954, allocations: 104.8 kB / 446.3 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.7955, allocations: 8.062 kB / 446.3 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000549/0.7961, allocations: 15.98 kB / 446.3 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.7963, allocations: 23.92 kB / 446.3 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.66e-05/0.7964, allocations: 19.92 kB / 446.4 MB, free: 2.738 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003422/0.7967, allocations: 152.5 kB / 446.5 MB, free: 2.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.7967, allocations: 0 / 446.5 MB, free: 2.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001075/0.7978, allocations: 59.75 kB / 446.6 MB, free: 2.531 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.x,rectifiedMean.mean.x,rootMeanSquare.mean.x,harmonic.mean1.x,harmonic.mean2.x) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y,rectifiedMean.mean.y,rootMeanSquare.mean.y,harmonic.mean1.y,harmonic.mean2.y) * Number of discrete states: 5 (harmonic.mean2.x,harmonic.mean1.x,rootMeanSquare.mean.x,rectifiedMean.mean.x,mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002407/0.8003, allocations: 1.015 MB / 447.6 MB, free: 1.492 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.8014, allocations: 207.8 kB / 447.8 MB, free: 1.289 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/0.8014, allocations: 4 kB / 447.8 MB, free: 1.285 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005351/0.802, allocations: 103.9 kB / 447.9 MB, free: 1.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006823/0.8027, allocations: 22.27 kB / 447.9 MB, free: 1.164 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.8055, allocations: 0.5137 MB / 448.4 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007629/0.8063, allocations: 0.7925 MB / 449.2 MB, free: 15.79 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004621/0.8068, allocations: 42.05 kB / 449.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004292/0.8073, allocations: 107.4 kB / 449.4 MB, free: 15.64 MB / 394.7 MB Notification: Performance of SimCode: time 1.533e-06/0.8073, allocations: 0 / 449.4 MB, free: 15.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1165/0.9238, allocations: 4.578 MB / 453.9 MB, free: 11.09 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004095/0.9243, allocations: 120.6 kB / 454.1 MB, free: 10.89 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.385/4.309, allocations: 0 / 454.1 MB, free: 10.89 MB / 394.7 MB "" Variables in the reference:time,mean.x,mean.y Variables in the result:_D_cse1,_D_cse2,_D_outputAlias_yHarmonicAbs,_D_outputAlias_yHarmonicArg,_D_outputAlias_yHarmonicCos,_D_outputAlias_yHarmonicSin,_D_outputAlias_yMean,_D_outputAlias_yRectifiedMean,_D_outputAlias_yRootMeanSquare,_D_whenCondition1,_D_whenCondition2,_D_whenCondition3,_D_whenCondition4,_D_whenCondition5,cosine.amplitude,cosine.freqHz,cosine.offset,cosine.phase,cosine.startTime,cosine.y,der(harmonic.mean1.x),der(harmonic.mean2.x),der(mean.x),der(rectifiedMean.mean.x),der(rootMeanSquare.mean.x),harmonic.f,harmonic.k,harmonic.mean1.f,harmonic.mean1.t0,harmonic.mean1.u,harmonic.mean1.x,harmonic.mean1.x0,harmonic.mean1.y,harmonic.mean1.yGreaterOrEqualZero,harmonic.mean2.f,harmonic.mean2.t0,harmonic.mean2.u,harmonic.mean2.x,harmonic.mean2.x0,harmonic.mean2.y,harmonic.mean2.yGreaterOrEqualZero,harmonic.product1.nu,harmonic.product1.significantDigits,harmonic.product1.u[1],harmonic.product1.u[2],harmonic.product1.y,harmonic.product2.nu,harmonic.product2.significantDigits,harmonic.product2.u[1],harmonic.product2.u[2],harmonic.product2.y,harmonic.rectangularToPolar.u_im,harmonic.rectangularToPolar.u_re,harmonic.rectangularToPolar.y_abs,harmonic.rectangularToPolar.y_arg,harmonic.sin1.amplitude,harmonic.sin1.freqHz,harmonic.sin1.offset,harmonic.sin1.phase,harmonic.sin1.startTime,harmonic.sin1.y,harmonic.sin2.amplitude,harmonic.sin2.freqHz,harmonic.sin2.offset,harmonic.sin2.phase,harmonic.sin2.startTime,harmonic.sin2.y,harmonic.u,harmonic.x0Cos,harmonic.x0Sin,harmonic.y_arg,harmonic.y_rms,mean.f,mean.t0,mean.u,mean.x,mean.x0,mean.y,mean.yGreaterOrEqualZero,polarToRectangular.u_abs,polarToRectangular.u_arg,polarToRectangular.y_im,polarToRectangular.y_re,rectangularToPolar.u_im,rectangularToPolar.u_re,rectangularToPolar.y_abs,rectangularToPolar.y_arg,rectifiedMean.abs1.generateEvent,rectifiedMean.abs1.u,rectifiedMean.abs1.y,rectifiedMean.f,rectifiedMean.mean.f,rectifiedMean.mean.t0,rectifiedMean.mean.u,rectifiedMean.mean.x,rectifiedMean.mean.x0,rectifiedMean.mean.y,rectifiedMean.mean.yGreaterOrEqualZero,rectifiedMean.u,rectifiedMean.x0,rectifiedMean.y,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,yHarmonicAbs,yHarmonicArg,yHarmonicCos,yHarmonicSin,yMean,yRectifiedMean,yRootMeanSquare