Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.123/2.123, allocations: 225.8 MB / 239.3 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/3.982e-05, allocations: 4 kB / 292.8 MB, free: 8.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1356, allocations: 50.41 MB / 343.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4973/0.633, allocations: 79.99 MB / 423.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.6334, allocations: 73.22 kB / 423.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04045/0.6738, allocations: 6.688 MB / 429.9 MB, free: 8.031 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.6739, allocations: 0 / 429.9 MB, free: 8.031 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.661e-05/0.674, allocations: 4 kB / 429.9 MB, free: 8.027 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001999/0.676, allocations: 0.5333 MB / 430.5 MB, free: 7.465 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.893e-05/0.6761, allocations: 12.03 kB / 430.5 MB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.6763, allocations: 49.47 kB / 430.5 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004725/0.6768, allocations: 39.7 kB / 430.6 MB, free: 7.363 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005794/0.6774, allocations: 242.6 kB / 430.8 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.337e-05/0.6775, allocations: 22.05 kB / 430.8 MB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.903e-05/0.6776, allocations: 19.19 kB / 430.8 MB, free: 7.078 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007228/0.6783, allocations: 157.8 kB / 431 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.6784, allocations: 3.953 kB / 431 MB, free: 6.949 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.986e-05/0.6785, allocations: 10.62 kB / 431 MB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.6785, allocations: 0 / 431 MB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005243/0.679, allocations: 101.4 kB / 431.1 MB, free: 6.875 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002546/0.6816, allocations: 0.6074 MB / 431.7 MB, free: 6.316 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.6833, allocations: 223.9 kB / 431.9 MB, free: 6.133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003718/0.6837, allocations: 83.41 kB / 432 MB, free: 6.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.415e-05/0.6838, allocations: 8.062 kB / 432 MB, free: 6.066 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005113/0.6843, allocations: 130.6 kB / 432.1 MB, free: 5.953 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 5.22e-06/0.6844, allocations: 4 kB / 432.1 MB, free: 5.949 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009507/0.6853, allocations: 200.7 kB / 432.3 MB, free: 5.789 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.6854, allocations: 59.53 kB / 432.4 MB, free: 5.719 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004247/0.6859, allocations: 187 kB / 432.6 MB, free: 5.559 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.686, allocations: 37.02 kB / 432.6 MB, free: 5.523 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.6862, allocations: 134 kB / 432.8 MB, free: 5.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.6864, allocations: 77.23 kB / 432.8 MB, free: 5.344 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.6864, allocations: 3.5 kB / 432.8 MB, free: 5.344 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.6867, allocations: 337.2 kB / 433.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/0.6871, allocations: 91.8 kB / 433.2 MB, free: 4.957 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004881/0.6876, allocations: 116.4 kB / 433.4 MB, free: 4.875 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.6881, allocations: 88.22 kB / 433.4 MB, free: 4.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.6882, allocations: 0 / 433.4 MB, free: 4.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00127/0.6895, allocations: 294 kB / 433.7 MB, free: 4.598 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.6895, allocations: 7.938 kB / 433.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/0.6896, allocations: 4 kB / 433.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/0.6896, allocations: 3.953 kB / 433.8 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009768/0.6906, allocations: 82.88 kB / 433.8 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-05/0.6907, allocations: 4 kB / 433.8 MB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/0.6912, allocations: 47.33 kB / 433.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-05/0.6913, allocations: 15.3 kB / 433.9 MB, free: 4.445 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0002354/0.6916, allocations: 121.7 kB / 434 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.462e-05/0.6917, allocations: 23.72 kB / 434 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.966e-05/0.6918, allocations: 22.95 kB / 434.1 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.6918, allocations: 3.953 kB / 434.1 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.6919, allocations: 3.938 kB / 434.1 MB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.6919, allocations: 0 / 434.1 MB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.6939, allocations: 0.5812 MB / 434.7 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.694, allocations: 0 / 434.7 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000766/0.6948, allocations: 55.89 kB / 434.7 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.448e-05/0.6948, allocations: 3.953 kB / 434.7 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/0.6949, allocations: 7.484 kB / 434.7 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/0.6949, allocations: 7.938 kB / 434.7 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.695, allocations: 4 kB / 434.7 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.6963, allocations: 381.3 kB / 435.1 MB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.6965, allocations: 92.86 kB / 435.2 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.6966, allocations: 15.88 kB / 435.2 MB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005427/0.6972, allocations: 27.98 kB / 435.2 MB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.6973, allocations: 19.84 kB / 435.3 MB, free: 3.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-05/0.6974, allocations: 4 kB / 435.3 MB, free: 3.172 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003046/0.6977, allocations: 148.7 kB / 435.4 MB, free: 3.047 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.072e-06/0.6977, allocations: 0 / 435.4 MB, free: 3.047 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001194/0.699, allocations: 130 kB / 435.5 MB, free: 2.93 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003598/0.7026, allocations: 1.143 MB / 436.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.7038, allocations: 237.2 kB / 436.9 MB, free: 1.699 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.7038, allocations: 0 / 436.9 MB, free: 1.699 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003974/0.7042, allocations: 75.86 kB / 437 MB, free: 1.645 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005841/0.7048, allocations: 22.56 kB / 437 MB, free: 1.629 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.7069, allocations: 443.4 kB / 437.4 MB, free: 1.211 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/0.7075, allocations: 0.7481 MB / 438.2 MB, free: 448 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003519/0.7079, allocations: 34.06 kB / 438.2 MB, free: 416 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/0.7082, allocations: 65.84 kB / 438.3 MB, free: 388 kB / 346.7 MB Notification: Performance of SimCode: time 1.853e-06/0.7082, allocations: 0 / 438.3 MB, free: 388 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.7386, allocations: 5.775 MB / 444.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003007/0.739, allocations: 203.1 kB / 444.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/3.487, allocations: 3.938 kB / 444.3 MB, free: 10.45 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat does not exist to compare? outputFormat=mat