Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.39/2.39, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.012e-05/3.03e-05, allocations: 3.344 kB / 249.7 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1044, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5421/0.6465, allocations: 73.29 MB / 367.6 MB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.6469, allocations: 76.89 kB / 367.6 MB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04596/0.6929, allocations: 7.411 MB / 375 MB, free: 22.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.693, allocations: 0 / 375 MB, free: 22.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.693, allocations: 3.875 kB / 375 MB, free: 22.15 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001291/0.6943, allocations: 0.5062 MB / 375.5 MB, free: 21.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.6944, allocations: 7.75 kB / 375.6 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.6945, allocations: 45.23 kB / 375.6 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000422/0.6949, allocations: 30.36 kB / 375.6 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.6952, allocations: 202.9 kB / 375.8 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/0.6953, allocations: 3.875 kB / 375.8 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.132e-05/0.6953, allocations: 6.281 kB / 375.8 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002251/0.6956, allocations: 46.39 kB / 375.9 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.6959, allocations: 113.4 kB / 376 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.6959, allocations: 0 / 376 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.696, allocations: 2.906 kB / 376 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.696, allocations: 7.859 kB / 376 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.6972, allocations: 0.5371 MB / 376.5 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.6977, allocations: 125.5 kB / 376.7 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.6978, allocations: 52.39 kB / 376.7 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.6979, allocations: 0 / 376.7 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003311/0.6982, allocations: 144.3 kB / 376.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.975e-06/0.6982, allocations: 0 / 376.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.001335/0.6996, allocations: 212.7 kB / 377.1 MB, free: 20.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.6997, allocations: 116.6 kB / 377.2 MB, free: 20.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.7, allocations: 165.1 kB / 377.3 MB, free: 20.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.7001, allocations: 45.19 kB / 377.4 MB, free: 20.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.7003, allocations: 113.8 kB / 377.5 MB, free: 20.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/0.7004, allocations: 46.02 kB / 377.5 MB, free: 20.35 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.7004, allocations: 3 kB / 377.5 MB, free: 20.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.7006, allocations: 330.1 kB / 377.9 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.7008, allocations: 74.72 kB / 377.9 MB, free: 20.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.7011, allocations: 113.9 kB / 378 MB, free: 19.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.7023, allocations: 144.9 kB / 378.2 MB, free: 19.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.7024, allocations: 0 / 378.2 MB, free: 19.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001674/0.704, allocations: 289.9 kB / 378.5 MB, free: 19.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.7041, allocations: 3.781 kB / 378.5 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.919e-05/0.7042, allocations: 3.875 kB / 378.5 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.7042, allocations: 0 / 378.5 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.7045, allocations: 43.22 kB / 378.5 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.7046, allocations: 0 / 378.5 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.7048, allocations: 23.52 kB / 378.5 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-05/0.7049, allocations: 11.5 kB / 378.6 MB, free: 19.82 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0002224/0.7051, allocations: 136.5 kB / 378.7 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.7052, allocations: 19.47 kB / 378.7 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/0.7053, allocations: 18.94 kB / 378.7 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.7053, allocations: 0 / 378.7 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.7053, allocations: 3.953 kB / 378.7 MB, free: 19.67 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.7054, allocations: 3.906 kB / 378.7 MB, free: 19.67 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/0.7057, allocations: 190.5 kB / 378.9 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.7057, allocations: 3.938 kB / 378.9 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.7059, allocations: 7.688 kB / 378.9 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.7059, allocations: 3.844 kB / 378.9 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.7059, allocations: 3.984 kB / 378.9 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.706, allocations: 3.906 kB / 378.9 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.706, allocations: 7.938 kB / 379 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.7072, allocations: 269.6 kB / 379.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.7073, allocations: 92.81 kB / 379.3 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.775e-05/0.7074, allocations: 18.98 kB / 379.3 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.7076, allocations: 11.36 kB / 379.3 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.7078, allocations: 18.94 kB / 379.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.7078, allocations: 3.719 kB / 379.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001985/0.708, allocations: 130 kB / 379.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.708, allocations: 0 / 379.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001054/0.7091, allocations: 159.1 kB / 379.6 MB, free: 19.06 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,n) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.004195/0.7134, allocations: 1.307 MB / 380.9 MB, free: 18.1 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006599/0.7141, allocations: 224.5 kB / 381.2 MB, free: 18.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.7141, allocations: 0 / 381.2 MB, free: 18.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.7143, allocations: 52.75 kB / 381.2 MB, free: 18.01 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.7146, allocations: 11.53 kB / 381.2 MB, free: 18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.7159, allocations: 309.7 kB / 381.5 MB, free: 17.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.7164, allocations: 0.723 MB / 382.3 MB, free: 17.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.7167, allocations: 20.86 kB / 382.3 MB, free: 17.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.7168, allocations: 47.11 kB / 382.3 MB, free: 17.04 MB / 314.7 MB Notification: Performance of SimCode: time 3.367e-06/0.7168, allocations: 0 / 382.3 MB, free: 17.04 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08544/0.8023, allocations: 5.081 MB / 387.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002767/0.8027, allocations: 178.9 kB / 387.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.383/4.186, allocations: 0 / 387.6 MB, free: 14.35 MB / 314.7 MB "" Variables in the reference:time,uniformNoise_y,truncatedNormalNoise_y Variables in the result:_D_outputAlias_truncatedNormalNoise_y,_D_outputAlias_uniformNoise_y,_D_whenCondition1,_D_whenCondition2,globalSeed.enableNoise,globalSeed.fixedSeed,globalSeed.id_impure,globalSeed.seed,globalSeed.useAutomaticSeed,n,samplePeriod,time,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.enableNoise,truncatedNormalNoise.fixedLocalSeed,truncatedNormalNoise.generateNoise,truncatedNormalNoise.localSeed,truncatedNormalNoise.mu,truncatedNormalNoise.r,truncatedNormalNoise.r_raw,truncatedNormalNoise.samplePeriod,truncatedNormalNoise.sigma,truncatedNormalNoise.startTime,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.useAutomaticLocalSeed,truncatedNormalNoise.useGlobalSeed,truncatedNormalNoise.y,truncatedNormalNoise.y_max,truncatedNormalNoise.y_min,truncatedNormalNoise.y_off,truncatedNormalNoise_y,uniformNoise.actualGlobalSeed,uniformNoise.enableNoise,uniformNoise.fixedLocalSeed,uniformNoise.generateNoise,uniformNoise.localSeed,uniformNoise.r,uniformNoise.r_raw,uniformNoise.samplePeriod,uniformNoise.startTime,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.useAutomaticLocalSeed,uniformNoise.useGlobalSeed,uniformNoise.y,uniformNoise.y_max,uniformNoise.y_min,uniformNoise.y_off,uniformNoise_y,y_max,y_min