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.36/2.36, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.884e-05/2.889e-05, allocations: 4 kB / 249.8 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1034, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.457/0.5604, allocations: 73.29 MB / 367.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.5608, allocations: 73.12 kB / 367.7 MB, free: 7.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03814/0.5989, allocations: 7.415 MB / 375.1 MB, free: 22.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.599, allocations: 3.875 kB / 375.1 MB, free: 22.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.599, allocations: 6.688 kB / 375.1 MB, free: 22.48 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.001093/0.6001, allocations: 0.496 MB / 375.6 MB, free: 22.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.6002, allocations: 7.719 kB / 375.6 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003459/0.6005, allocations: 30.66 kB / 375.6 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.6008, allocations: 208.3 kB / 375.8 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.6008, allocations: 3.844 kB / 375.8 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.6009, allocations: 7.844 kB / 375.8 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001563/0.601, allocations: 41.16 kB / 375.9 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.6013, allocations: 107.9 kB / 376 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.6013, allocations: 7.875 kB / 376 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.6013, allocations: 3.125 kB / 376 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.6013, allocations: 0 / 376 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.6024, allocations: 0.5297 MB / 376.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.6027, allocations: 123.7 kB / 376.6 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.6028, allocations: 46.77 kB / 376.7 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.6029, allocations: 6.469 kB / 376.7 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003126/0.6032, allocations: 143.1 kB / 376.8 MB, free: 21.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 3.336e-06/0.6032, allocations: 0 / 376.8 MB, free: 21.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.00116/0.6044, allocations: 201.7 kB / 377 MB, free: 21.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.6045, allocations: 113.5 kB / 377.1 MB, free: 20.99 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.6047, allocations: 172.6 kB / 377.3 MB, free: 20.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.974e-05/0.6048, allocations: 39.64 kB / 377.3 MB, free: 20.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.683e-05/0.6049, allocations: 115.2 kB / 377.5 MB, free: 20.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.605, allocations: 46.31 kB / 377.5 MB, free: 20.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.605, allocations: 0 / 377.5 MB, free: 20.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.6051, allocations: 337.3 kB / 377.8 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.6054, allocations: 75.28 kB / 377.9 MB, free: 20.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.6056, allocations: 113.5 kB / 378 MB, free: 20.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.6067, allocations: 142 kB / 378.2 MB, free: 20.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.6067, allocations: 0 / 378.2 MB, free: 20.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001349/0.6081, allocations: 289.4 kB / 378.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.6081, allocations: 3.906 kB / 378.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.997e-05/0.6082, allocations: 3.875 kB / 378.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.6082, allocations: 0 / 378.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.6085, allocations: 38.77 kB / 378.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.6085, allocations: 7.859 kB / 378.5 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.6087, allocations: 23.48 kB / 378.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.971e-05/0.6088, allocations: 7.75 kB / 378.5 MB, free: 20.23 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.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,$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,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.000189/0.609, allocations: 141.4 kB / 378.7 MB, free: 20.1 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009246/0.6099, allocations: 212.3 kB / 378.9 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.61, allocations: 15.72 kB / 378.9 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.565e-05/0.61, allocations: 16.78 kB / 378.9 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.61, allocations: 3.875 kB / 378.9 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.6101, allocations: 3.984 kB / 378.9 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.6101, allocations: 3.953 kB / 378.9 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.6104, allocations: 192.4 kB / 379.1 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.6104, allocations: 3.938 kB / 379.1 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.6105, allocations: 11.59 kB / 379.1 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.6105, allocations: 4.031 kB / 379.1 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.6106, allocations: 7.891 kB / 379.1 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.6106, allocations: 0 / 379.1 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6106, allocations: 0 / 379.1 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009336/0.6116, allocations: 273.5 kB / 379.4 MB, free: 19.65 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.003e-05/0.6117, allocations: 96.72 kB / 379.5 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.015e-05/0.6117, allocations: 15.48 kB / 379.5 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.6119, allocations: 3.875 kB / 379.5 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.899e-05/0.612, allocations: 19.64 kB / 379.5 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.612, allocations: 7.781 kB / 379.5 MB, free: 19.53 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001603/0.6122, allocations: 127.8 kB / 379.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6122, allocations: 4 kB / 379.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009002/0.6131, allocations: 155.8 kB / 379.8 MB, free: 19.39 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,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.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.00326/0.6164, allocations: 1.297 MB / 381.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005855/0.617, allocations: 219.4 kB / 381.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6171, allocations: 3.844 kB / 381.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.6172, allocations: 54.23 kB / 381.4 MB, free: 18.35 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.6175, allocations: 3.312 kB / 381.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.6187, allocations: 312.6 kB / 381.7 MB, free: 18.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.6191, allocations: 0.7194 MB / 382.4 MB, free: 17.4 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001408/0.6193, allocations: 20.88 kB / 382.4 MB, free: 17.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.6195, allocations: 44.14 kB / 382.5 MB, free: 17.38 MB / 314.7 MB Notification: Performance of SimCode: time 1.322e-06/0.6195, allocations: 3.938 kB / 382.5 MB, free: 17.38 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05415/0.6736, allocations: 4.925 MB / 387.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002628/0.674, allocations: 178.9 kB / 387.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.249/3.923, allocations: 3.938 kB / 387.6 MB, free: 14.77 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat does not exist to compare? outputFormat=mat