Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.204/2.204, allocations: 194.9 MB / 208 MB, free: 3.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.946e-05/3.959e-05, allocations: 3.984 kB / 255.4 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 44.51 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4317/0.5437, allocations: 73.95 MB / 373.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.5441, allocations: 71.25 kB / 374 MB, free: 12.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0344/0.5785, allocations: 7.459 MB / 381.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5785, allocations: 0 / 381.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.5786, allocations: 2.875 kB / 381.4 MB, free: 11.73 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.001174/0.5797, allocations: 0.4957 MB / 381.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.5798, allocations: 13.47 kB / 381.9 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.437e-05/0.5799, allocations: 48.69 kB / 382 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003381/0.5803, allocations: 31.14 kB / 382 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.5805, allocations: 209 kB / 382.2 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.5806, allocations: 5.203 kB / 382.2 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/0.5806, allocations: 9.719 kB / 382.2 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.5809, allocations: 119.6 kB / 382.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.581, allocations: 4 kB / 382.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.581, allocations: 5.031 kB / 382.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.581, allocations: 1.281 kB / 382.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.5812, allocations: 45.36 kB / 382.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.5822, allocations: 0.5777 MB / 383 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.5825, allocations: 127.1 kB / 383.1 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.5827, allocations: 57.77 kB / 383.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.5827, allocations: 1.188 kB / 383.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002978/0.583, allocations: 148.9 kB / 383.3 MB, free: 10.31 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 3.687e-06/0.5831, allocations: 0 / 383.3 MB, free: 10.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005635/0.5836, allocations: 181.8 kB / 383.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.5837, allocations: 122.8 kB / 383.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.584, allocations: 170.8 kB / 383.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.078e-05/0.584, allocations: 45.23 kB / 383.8 MB, free: 10.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.402e-05/0.5841, allocations: 120.6 kB / 383.9 MB, free: 9.922 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.54e-05/0.5842, allocations: 42.38 kB / 384 MB, free: 9.898 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.5842, allocations: 4.781 kB / 384 MB, free: 9.898 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.971e-05/0.5843, allocations: 338.5 kB / 384.3 MB, free: 9.582 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.5846, allocations: 81.61 kB / 384.4 MB, free: 9.578 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.5848, allocations: 112.4 kB / 384.5 MB, free: 9.547 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.5851, allocations: 87.91 kB / 384.6 MB, free: 9.547 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5851, allocations: 0 / 384.6 MB, free: 9.547 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007105/0.5858, allocations: 266.4 kB / 384.9 MB, free: 9.492 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.5859, allocations: 5.5 kB / 384.9 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/0.5859, allocations: 2.75 kB / 384.9 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.5859, allocations: 9.312 kB / 384.9 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.5862, allocations: 34.95 kB / 384.9 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.5863, allocations: 2.75 kB / 384.9 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.5865, allocations: 25.88 kB / 384.9 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.184e-05/0.5865, allocations: 12.66 kB / 384.9 MB, free: 9.469 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.0001536/0.5867, allocations: 138.9 kB / 385.1 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.5867, allocations: 14.69 kB / 385.1 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.384e-05/0.5868, allocations: 18.67 kB / 385.1 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.5868, allocations: 5.328 kB / 385.1 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5868, allocations: 1.375 kB / 385.1 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.5869, allocations: 1.375 kB / 385.1 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.5871, allocations: 217.9 kB / 385.3 MB, free: 9.145 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5871, allocations: 8.281 kB / 385.3 MB, free: 9.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.5873, allocations: 12.48 kB / 385.4 MB, free: 9.141 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.5873, allocations: 1.375 kB / 385.4 MB, free: 9.141 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.5873, allocations: 6.688 kB / 385.4 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.5873, allocations: 1.375 kB / 385.4 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.5873, allocations: 9.328 kB / 385.4 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004433/0.5878, allocations: 244.3 kB / 385.6 MB, free: 9 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.5879, allocations: 93.17 kB / 385.7 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-05/0.5879, allocations: 15.84 kB / 385.7 MB, free: 8.895 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.5881, allocations: 8.484 kB / 385.7 MB, free: 8.895 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-05/0.5882, allocations: 18.81 kB / 385.7 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.5882, allocations: 7.891 kB / 385.8 MB, free: 8.891 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001664/0.5884, allocations: 144.3 kB / 385.9 MB, free: 8.809 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5884, allocations: 0 / 385.9 MB, free: 8.809 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001002/0.5894, allocations: 160.3 kB / 386.1 MB, free: 8.762 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.002696/0.5922, allocations: 1.262 MB / 387.3 MB, free: 7.863 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006949/0.5929, allocations: 229.4 kB / 387.5 MB, free: 7.793 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.5929, allocations: 192 / 387.5 MB, free: 7.793 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.5931, allocations: 62.62 kB / 387.6 MB, free: 7.785 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.5934, allocations: 10.28 kB / 387.6 MB, free: 7.777 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.5948, allocations: 320.6 kB / 387.9 MB, free: 7.578 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.5951, allocations: 0.7267 MB / 388.7 MB, free: 6.879 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.5953, allocations: 18.36 kB / 388.7 MB, free: 6.879 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.5954, allocations: 50.52 kB / 388.7 MB, free: 6.867 MB / 314.7 MB Notification: Performance of SimCode: time 1.683e-06/0.5954, allocations: 1.344 kB / 388.7 MB, free: 6.867 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03556/0.631, allocations: 5.319 MB / 394 MB, free: 6.273 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002623/0.6314, allocations: 203 kB / 394.2 MB, free: 6.047 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.794/3.425, allocations: 4 kB / 394.2 MB, free: 6.043 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat does not exist to compare? outputFormat=mat