Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.255/2.255, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.983e-05/3.999e-05, allocations: 0 / 269.4 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1072, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4285/0.5358, allocations: 78.16 MB / 395.2 MB, free: 9.516 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.5361, allocations: 71.08 kB / 395.2 MB, free: 9.477 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03707/0.5732, allocations: 7.467 MB / 402.7 MB, free: 3.008 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5733, allocations: 0 / 402.7 MB, free: 3.008 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.5733, allocations: 4 kB / 402.7 MB, free: 3.004 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.001063/0.5744, allocations: 0.5054 MB / 403.2 MB, free: 2.469 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.5744, allocations: 11.97 kB / 403.2 MB, free: 2.457 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.067e-05/0.5745, allocations: 38.38 kB / 403.3 MB, free: 2.414 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002956/0.5748, allocations: 35.72 kB / 403.3 MB, free: 2.379 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.5751, allocations: 199.9 kB / 403.5 MB, free: 2.145 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.5752, allocations: 11.77 kB / 403.5 MB, free: 2.137 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.047e-05/0.5752, allocations: 4 kB / 403.5 MB, free: 2.133 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.5755, allocations: 121.7 kB / 403.6 MB, free: 2.023 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.5755, allocations: 4 kB / 403.6 MB, free: 2.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.5756, allocations: 0 / 403.6 MB, free: 2.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.5756, allocations: 0 / 403.6 MB, free: 2.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.5758, allocations: 46.36 kB / 403.7 MB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.5769, allocations: 0.5809 MB / 404.3 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.5773, allocations: 127.7 kB / 404.4 MB, free: 1.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.5774, allocations: 51.83 kB / 404.4 MB, free: 1.223 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.5774, allocations: 4 kB / 404.4 MB, free: 1.219 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003048/0.5777, allocations: 137.6 kB / 404.6 MB, free: 1.086 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.896e-06/0.5778, allocations: 0 / 404.6 MB, free: 1.086 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005255/0.5783, allocations: 180.9 kB / 404.7 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.173e-05/0.5784, allocations: 118.8 kB / 404.9 MB, free: 0.793 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.5787, allocations: 184.1 kB / 405 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.51e-05/0.5788, allocations: 48.44 kB / 405.1 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.5789, allocations: 114.9 kB / 405.2 MB, free: 496 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.655e-05/0.579, allocations: 45.94 kB / 405.2 MB, free: 456 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.96e-05/0.579, allocations: 3.188 kB / 405.3 MB, free: 456 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.5792, allocations: 328.2 kB / 405.6 MB, free: 128 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.5794, allocations: 84.41 kB / 405.7 MB, free: 72 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.5797, allocations: 119.9 kB / 405.8 MB, free: 15.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.58, allocations: 93.94 kB / 405.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.58, allocations: 0 / 405.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006959/0.5807, allocations: 261.3 kB / 406.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.5807, allocations: 4 kB / 406.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/0.5808, allocations: 4 kB / 406.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.5808, allocations: 0 / 406.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.5811, allocations: 43.5 kB / 406.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.5811, allocations: 0 / 406.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.5813, allocations: 27.64 kB / 406.2 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.122e-05/0.5814, allocations: 15.25 kB / 406.2 MB, free: 15.62 MB / 330.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.0001662/0.5816, allocations: 136.3 kB / 406.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.5816, allocations: 19.81 kB / 406.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.922e-05/0.5817, allocations: 20.64 kB / 406.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.5817, allocations: 0 / 406.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.5817, allocations: 0 / 406.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.5817, allocations: 4 kB / 406.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.5821, allocations: 229 kB / 406.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5821, allocations: 3.938 kB / 406.6 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.5822, allocations: 12 kB / 406.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.5822, allocations: 0 / 406.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.5823, allocations: 7.984 kB / 406.6 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.5823, allocations: 4 kB / 406.6 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.5823, allocations: 3.938 kB / 406.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004742/0.5828, allocations: 239 kB / 406.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.5829, allocations: 92.11 kB / 407 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/0.5829, allocations: 19.11 kB / 407 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.5831, allocations: 11.98 kB / 407 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/0.5832, allocations: 14.94 kB / 407 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.5832, allocations: 4 kB / 407 MB, free: 14.78 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001706/0.5834, allocations: 144.4 kB / 407.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5834, allocations: 0 / 407.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008499/0.5843, allocations: 158 kB / 407.3 MB, free: 14.52 MB / 330.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.002458/0.5868, allocations: 1.286 MB / 408.6 MB, free: 13.28 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006035/0.5874, allocations: 217.3 kB / 408.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5874, allocations: 0 / 408.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.5876, allocations: 56.17 kB / 408.9 MB, free: 13.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.5878, allocations: 14.5 kB / 408.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.589, allocations: 328.3 kB / 409.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.5893, allocations: 0.724 MB / 409.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.5895, allocations: 17.2 kB / 409.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.5896, allocations: 45.3 kB / 410 MB, free: 11.93 MB / 330.7 MB Notification: Performance of SimCode: time 1.563e-06/0.5896, allocations: 4 kB / 410 MB, free: 11.93 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.6197, allocations: 5.3 MB / 415.3 MB, free: 6.68 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002888/0.6201, allocations: 193 kB / 415.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/3.271, allocations: 0 / 415.5 MB, free: 6.457 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat does not exist to compare? outputFormat=mat