Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Distributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.183/2.183, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.345e-05/3.363e-05, allocations: 4 kB / 292.7 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1155, allocations: 50.42 MB / 343.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4709/0.5865, allocations: 79.27 MB / 422.4 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.5868, allocations: 72.83 kB / 422.5 MB, free: 14.97 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03615/0.623, allocations: 7.573 MB / 430.1 MB, free: 8.398 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6231, allocations: 0 / 430.1 MB, free: 8.398 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.6231, allocations: 0 / 430.1 MB, free: 8.398 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.001042/0.6241, allocations: 0.4994 MB / 430.6 MB, free: 7.867 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.6242, allocations: 8.031 kB / 430.6 MB, free: 7.859 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.202e-05/0.6243, allocations: 50.39 kB / 430.6 MB, free: 7.805 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003055/0.6246, allocations: 31.8 kB / 430.7 MB, free: 7.773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.6249, allocations: 199.8 kB / 430.8 MB, free: 7.543 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.6249, allocations: 4 kB / 430.9 MB, free: 7.539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.625, allocations: 10.67 kB / 430.9 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.6253, allocations: 128.4 kB / 431 MB, free: 7.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.6253, allocations: 0 / 431 MB, free: 7.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.6253, allocations: 3.812 kB / 431 MB, free: 7.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.098e-06/0.6253, allocations: 4 kB / 431 MB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.6255, allocations: 41.8 kB / 431 MB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.6266, allocations: 0.5747 MB / 431.6 MB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/0.627, allocations: 129.4 kB / 431.7 MB, free: 6.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.6271, allocations: 55.83 kB / 431.8 MB, free: 6.609 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.6272, allocations: 0 / 431.8 MB, free: 6.609 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003146/0.6275, allocations: 144.7 kB / 431.9 MB, free: 6.469 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.054e-06/0.6275, allocations: 0 / 431.9 MB, free: 6.469 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005281/0.6281, allocations: 181.3 kB / 432.1 MB, free: 6.316 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.472e-05/0.6282, allocations: 118.5 kB / 432.2 MB, free: 6.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.6284, allocations: 172.2 kB / 432.4 MB, free: 6.027 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.376e-05/0.6285, allocations: 48.73 kB / 432.4 MB, free: 5.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.6286, allocations: 109.9 kB / 432.5 MB, free: 5.883 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.656e-05/0.6287, allocations: 53.73 kB / 432.6 MB, free: 5.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.972e-05/0.6287, allocations: 3.188 kB / 432.6 MB, free: 5.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.6289, allocations: 331.7 kB / 432.9 MB, free: 5.516 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.6292, allocations: 79.98 kB / 433 MB, free: 5.465 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.6294, allocations: 109 kB / 433.1 MB, free: 5.375 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.6297, allocations: 102.9 kB / 433.2 MB, free: 5.301 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6297, allocations: 0 / 433.2 MB, free: 5.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006808/0.6304, allocations: 256.5 kB / 433.5 MB, free: 5.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.6305, allocations: 4 kB / 433.5 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.6305, allocations: 4 kB / 433.5 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.6305, allocations: 0 / 433.5 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.6308, allocations: 35.91 kB / 433.5 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.6308, allocations: 0 / 433.5 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.631, allocations: 35.14 kB / 433.5 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.898e-05/0.6311, allocations: 11.19 kB / 433.6 MB, free: 5.023 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.0001755/0.6313, allocations: 139.1 kB / 433.7 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.721e-05/0.6313, allocations: 15.81 kB / 433.7 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.704e-05/0.6314, allocations: 19.08 kB / 433.7 MB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.6314, allocations: 0 / 433.7 MB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.6314, allocations: 0 / 433.7 MB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.6314, allocations: 8 kB / 433.7 MB, free: 4.848 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.6318, allocations: 217 kB / 433.9 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.6318, allocations: 7.953 kB / 433.9 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.6319, allocations: 11.5 kB / 434 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.6319, allocations: 0 / 434 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.632, allocations: 7.984 kB / 434 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.632, allocations: 0 / 434 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.632, allocations: 7.984 kB / 434 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.6325, allocations: 246.3 kB / 434.2 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.475e-05/0.6326, allocations: 96.86 kB / 434.3 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.49e-05/0.6327, allocations: 11.42 kB / 434.3 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.6328, allocations: 15.02 kB / 434.3 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.067e-05/0.6329, allocations: 15.92 kB / 434.4 MB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.6329, allocations: 8 kB / 434.4 MB, free: 4.176 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001865/0.6331, allocations: 140.2 kB / 434.5 MB, free: 4.059 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6331, allocations: 0 / 434.5 MB, free: 4.059 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00088/0.634, allocations: 156.4 kB / 434.6 MB, free: 3.918 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.002585/0.6366, allocations: 1.269 MB / 435.9 MB, free: 2.707 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005993/0.6373, allocations: 224 kB / 436.1 MB, free: 2.523 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.6373, allocations: 0 / 436.1 MB, free: 2.523 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.6375, allocations: 57.55 kB / 436.2 MB, free: 2.484 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.6377, allocations: 11.77 kB / 436.2 MB, free: 2.473 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.6388, allocations: 334.8 kB / 436.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.6392, allocations: 0.7162 MB / 437.2 MB, free: 1.395 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.6393, allocations: 21.19 kB / 437.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.6394, allocations: 48.11 kB / 437.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6395, allocations: 0 / 437.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03613/0.6756, allocations: 5.257 MB / 442.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000262/0.6759, allocations: 191.5 kB / 442.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.728/3.404, allocations: 8 kB / 442.8 MB, free: 11.95 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions_res.mat does not exist to compare? outputFormat=mat