Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Distributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.229/2.229, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.568e-05/3.572e-05, allocations: 4 kB / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 50.41 MB / 342.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4772/0.5854, allocations: 79.3 MB / 421.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.5858, allocations: 67.09 kB / 422 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03609/0.6219, allocations: 7.577 MB / 429.6 MB, free: 7.934 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.6219, allocations: 0 / 429.6 MB, free: 7.934 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.622, allocations: 4 kB / 429.6 MB, free: 7.93 MB / 346.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.001121/0.6231, allocations: 0.4975 MB / 430.1 MB, free: 7.402 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.6232, allocations: 8.031 kB / 430.1 MB, free: 7.395 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.506e-05/0.6233, allocations: 46.27 kB / 430.1 MB, free: 7.344 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000306/0.6236, allocations: 27.8 kB / 430.2 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.6239, allocations: 204.1 kB / 430.4 MB, free: 7.078 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.6239, allocations: 7.938 kB / 430.4 MB, free: 7.074 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.6239, allocations: 4 kB / 430.4 MB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.6242, allocations: 123.6 kB / 430.5 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.6243, allocations: 4 kB / 430.5 MB, free: 6.949 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.6243, allocations: 3.812 kB / 430.5 MB, free: 6.949 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.6243, allocations: 3.984 kB / 430.5 MB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.6245, allocations: 43.5 kB / 430.6 MB, free: 6.914 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.6256, allocations: 0.5798 MB / 431.1 MB, free: 6.328 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003261/0.6259, allocations: 123 kB / 431.3 MB, free: 6.199 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.6261, allocations: 55.86 kB / 431.3 MB, free: 6.148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.6261, allocations: 4 kB / 431.3 MB, free: 6.145 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003066/0.6264, allocations: 142.8 kB / 431.4 MB, free: 6.004 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.765e-06/0.6264, allocations: 0 / 431.4 MB, free: 6.004 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005202/0.6269, allocations: 176.9 kB / 431.6 MB, free: 5.855 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.225e-05/0.6271, allocations: 122.4 kB / 431.7 MB, free: 5.715 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.6273, allocations: 178.2 kB / 431.9 MB, free: 5.559 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.359e-05/0.6274, allocations: 44.88 kB / 432 MB, free: 5.516 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.766e-05/0.6275, allocations: 110.4 kB / 432.1 MB, free: 5.418 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.895e-05/0.6276, allocations: 54.66 kB / 432.1 MB, free: 5.371 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.6277, allocations: 3.125 kB / 432.1 MB, free: 5.371 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.6278, allocations: 333.8 kB / 432.4 MB, free: 5.047 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.628, allocations: 76.73 kB / 432.5 MB, free: 4.996 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.6283, allocations: 120.3 kB / 432.6 MB, free: 4.902 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.6286, allocations: 98.12 kB / 432.7 MB, free: 4.832 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.6286, allocations: 0 / 432.7 MB, free: 4.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006646/0.6293, allocations: 259.3 kB / 433 MB, free: 4.633 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.6293, allocations: 4 kB / 433 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.6293, allocations: 0 / 433 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.6293, allocations: 4 kB / 433 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.6296, allocations: 27.92 kB / 433 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.6297, allocations: 4 kB / 433 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.6298, allocations: 31.45 kB / 433.1 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.6299, allocations: 15.25 kB / 433.1 MB, free: 4.555 MB / 346.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.0001665/0.6301, allocations: 136 kB / 433.2 MB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.6301, allocations: 11.81 kB / 433.2 MB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/0.6302, allocations: 12.94 kB / 433.2 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.6302, allocations: 7.984 kB / 433.2 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.6302, allocations: 4 kB / 433.2 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6302, allocations: 0 / 433.2 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.6305, allocations: 231.2 kB / 433.5 MB, free: 4.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.6306, allocations: 3.953 kB / 433.5 MB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.6307, allocations: 15.98 kB / 433.5 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.6307, allocations: 0 / 433.5 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.6307, allocations: 4 kB / 433.5 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.6308, allocations: 0 / 433.5 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6308, allocations: 3.938 kB / 433.5 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004942/0.6313, allocations: 247.7 kB / 433.7 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.386e-05/0.6314, allocations: 96.84 kB / 433.8 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/0.6314, allocations: 11.38 kB / 433.8 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.6316, allocations: 7.984 kB / 433.9 MB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.6317, allocations: 23.84 kB / 433.9 MB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.6317, allocations: 4 kB / 433.9 MB, free: 3.715 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001697/0.6319, allocations: 139.8 kB / 434 MB, free: 3.598 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6319, allocations: 3.938 kB / 434 MB, free: 3.594 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007897/0.6327, allocations: 157.8 kB / 434.2 MB, free: 3.449 MB / 346.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.002335/0.635, allocations: 1.268 MB / 435.4 MB, free: 2.242 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005678/0.6357, allocations: 221.1 kB / 435.7 MB, free: 2.059 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6357, allocations: 0 / 435.7 MB, free: 2.059 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.6358, allocations: 54 kB / 435.7 MB, free: 2.023 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.636, allocations: 19.69 kB / 435.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.6371, allocations: 329.4 kB / 436.1 MB, free: 1.672 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.6374, allocations: 0.7201 MB / 436.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.6376, allocations: 17.2 kB / 436.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.6377, allocations: 48.78 kB / 436.8 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6377, allocations: 4 kB / 436.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03437/0.6721, allocations: 5.251 MB / 442.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002601/0.6724, allocations: 194.1 kB / 442.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.759/3.432, allocations: 3.938 kB / 442.3 MB, free: 11.49 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat does not exist to compare? outputFormat=mat