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.308/2.308, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.218e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3387, allocations: 44.49 MB / 294.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.4772, allocations: 73.29 MB / 367.5 MB, free: 8.617 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.4776, allocations: 71.95 kB / 367.6 MB, free: 8.547 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03533/0.5129, allocations: 7.408 MB / 375 MB, free: 1.109 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.513, allocations: 3.938 kB / 375 MB, free: 1.105 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.513, allocations: 4 kB / 375 MB, free: 1.102 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.001041/0.5141, allocations: 0.5022 MB / 375.5 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.5141, allocations: 8.031 kB / 375.5 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/0.5144, allocations: 35.8 kB / 375.5 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.5147, allocations: 207.9 kB / 375.8 MB, free: 272 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.5147, allocations: 0 / 375.8 MB, free: 272 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.009e-05/0.5148, allocations: 8 kB / 375.8 MB, free: 264 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001537/0.5149, allocations: 43.92 kB / 375.8 MB, free: 220 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.5152, allocations: 108.2 kB / 375.9 MB, free: 96 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.5152, allocations: 0 / 375.9 MB, free: 96 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.5153, allocations: 0 / 375.9 MB, free: 96 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.5153, allocations: 4 kB / 375.9 MB, free: 92 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.5164, allocations: 0.5364 MB / 376.4 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.5167, allocations: 123.8 kB / 376.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.5169, allocations: 58.08 kB / 376.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.5169, allocations: 0 / 376.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003173/0.5172, allocations: 137.9 kB / 376.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 2.154e-06/0.5172, allocations: 4 kB / 376.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.001015/0.5183, allocations: 209.7 kB / 377 MB, free: 14.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.966e-05/0.5184, allocations: 118.8 kB / 377.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.5186, allocations: 170.2 kB / 377.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.027e-05/0.5187, allocations: 41.69 kB / 377.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.5188, allocations: 104.6 kB / 377.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.182e-05/0.5189, allocations: 43.45 kB / 377.4 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.815e-05/0.519, allocations: 3.938 kB / 377.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.5191, allocations: 343.5 kB / 377.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.5194, allocations: 71.98 kB / 377.8 MB, free: 14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.5196, allocations: 107.3 kB / 378 MB, free: 13.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008972/0.5205, allocations: 141.5 kB / 378.1 MB, free: 13.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5206, allocations: 4 kB / 378.1 MB, free: 13.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001286/0.5219, allocations: 285.3 kB / 378.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.5219, allocations: 11.94 kB / 378.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/0.5219, allocations: 0 / 378.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.522, allocations: 4 kB / 378.4 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.5222, allocations: 27.98 kB / 378.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.5223, allocations: 4 kB / 378.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.5225, allocations: 27.83 kB / 378.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.727e-05/0.5225, allocations: 8 kB / 378.5 MB, free: 13.38 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.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.0001867/0.5227, allocations: 137.9 kB / 378.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009106/0.5236, allocations: 213.3 kB / 378.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.5237, allocations: 11.81 kB / 378.8 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.9e-05/0.5238, allocations: 17.88 kB / 378.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.5238, allocations: 4 kB / 378.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5238, allocations: 0 / 378.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.5238, allocations: 7.938 kB / 378.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.5241, allocations: 186.2 kB / 379 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.5241, allocations: 0 / 379 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.5242, allocations: 11.94 kB / 379 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.5243, allocations: 4 kB / 379 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.5243, allocations: 3.984 kB / 379 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.5243, allocations: 8 kB / 379 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5243, allocations: 0 / 379 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009196/0.5253, allocations: 266.7 kB / 379.3 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.086e-05/0.5254, allocations: 108.7 kB / 379.4 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.955e-05/0.5255, allocations: 11.98 kB / 379.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.5256, allocations: 8.188 kB / 379.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.5257, allocations: 15.92 kB / 379.4 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.5257, allocations: 11.98 kB / 379.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001614/0.5259, allocations: 128.1 kB / 379.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5259, allocations: 0 / 379.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008317/0.5268, allocations: 159.7 kB / 379.7 MB, free: 11.98 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,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.00303/0.5298, allocations: 1.28 MB / 381 MB, free: 10.69 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006012/0.5305, allocations: 223.2 kB / 381.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5305, allocations: 0 / 381.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.5306, allocations: 52.19 kB / 381.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.5309, allocations: 12.12 kB / 381.3 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.532, allocations: 312.5 kB / 381.6 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.5324, allocations: 0.7201 MB / 382.3 MB, free: 9.293 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.5325, allocations: 33.17 kB / 382.4 MB, free: 9.262 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.5327, allocations: 43.42 kB / 382.4 MB, free: 9.219 MB / 330.7 MB Notification: Performance of SimCode: time 1.282e-06/0.5327, allocations: 0 / 382.4 MB, free: 9.219 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04779/0.5805, allocations: 4.917 MB / 387.3 MB, free: 4.301 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003268/0.5809, allocations: 178.9 kB / 387.5 MB, free: 4.102 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.613/3.194, allocations: 0 / 387.5 MB, free: 4.102 MB / 330.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