Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.175/2.175, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.417e-05/3.43e-05, allocations: 0 / 292.7 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1129, allocations: 50.42 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4697/0.5827, allocations: 77.26 MB / 420.4 MB, free: 0.918 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.5831, allocations: 73.77 kB / 420.5 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01923/0.6023, allocations: 4.193 MB / 424.7 MB, free: 13.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6024, allocations: 0 / 424.7 MB, free: 13.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.6024, allocations: 4 kB / 424.7 MB, free: 13.23 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008391/0.6033, allocations: 435.1 kB / 425.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.6033, allocations: 8.031 kB / 425.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.666e-05/0.6034, allocations: 38.55 kB / 425.2 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004376/0.6039, allocations: 47.75 kB / 425.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.6041, allocations: 187.2 kB / 425.4 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.6042, allocations: 11.88 kB / 425.4 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/0.6042, allocations: 7.984 kB / 425.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.6045, allocations: 102.6 kB / 425.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.6045, allocations: 0 / 425.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.6046, allocations: 11.88 kB / 425.5 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.6046, allocations: 0 / 425.5 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.6047, allocations: 39.69 kB / 425.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.6058, allocations: 473 kB / 426 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.6061, allocations: 98.64 kB / 426.1 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.6062, allocations: 48.34 kB / 426.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.6062, allocations: 7.953 kB / 426.2 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.6066, allocations: 123.5 kB / 426.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.025e-06/0.6066, allocations: 4 kB / 426.3 MB, free: 11.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005383/0.6071, allocations: 168.5 kB / 426.5 MB, free: 11.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.17e-05/0.6072, allocations: 100.6 kB / 426.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.6075, allocations: 163.2 kB / 426.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.429e-05/0.6076, allocations: 41 kB / 426.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.6077, allocations: 110.2 kB / 426.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.898e-05/0.6078, allocations: 50.62 kB / 426.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.6078, allocations: 3.75 kB / 426.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.608, allocations: 326 kB / 427.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.6082, allocations: 80.05 kB / 427.3 MB, free: 10.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.6085, allocations: 112.4 kB / 427.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.6087, allocations: 93.33 kB / 427.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.6088, allocations: 0 / 427.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000662/0.6094, allocations: 245.6 kB / 427.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.6095, allocations: 15.88 kB / 427.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.543e-05/0.6095, allocations: 4 kB / 427.8 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.6095, allocations: 4.062 kB / 427.8 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.6098, allocations: 27.17 kB / 427.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.6098, allocations: 0 / 427.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.61, allocations: 22.66 kB / 427.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.6101, allocations: 23.42 kB / 427.9 MB, free: 10.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * 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.0001688/0.6102, allocations: 123.9 kB / 428 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.6103, allocations: 19.31 kB / 428 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.536e-05/0.6104, allocations: 21.16 kB / 428 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.6104, allocations: 0 / 428 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6104, allocations: 0 / 428 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.6104, allocations: 4 kB / 428 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.6107, allocations: 206.5 kB / 428.2 MB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.6107, allocations: 7.938 kB / 428.2 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.622e-05/0.6108, allocations: 11.94 kB / 428.2 MB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.6108, allocations: 3.984 kB / 428.2 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.6109, allocations: 4 kB / 428.2 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.6109, allocations: 7.953 kB / 428.3 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.6109, allocations: 0 / 428.3 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.6113, allocations: 215.4 kB / 428.5 MB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.6114, allocations: 88.92 kB / 428.5 MB, free: 9.434 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-05/0.6115, allocations: 15.38 kB / 428.6 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.6116, allocations: 8 kB / 428.6 MB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.6117, allocations: 19.47 kB / 428.6 MB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.6117, allocations: 4 kB / 428.6 MB, free: 9.395 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001407/0.6119, allocations: 120.8 kB / 428.7 MB, free: 9.289 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.414e-06/0.6119, allocations: 0 / 428.7 MB, free: 9.289 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004598/0.6124, allocations: 66.8 kB / 428.8 MB, free: 9.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.001451/0.6138, allocations: 1.003 MB / 429.8 MB, free: 8.285 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004994/0.6143, allocations: 226.4 kB / 430 MB, free: 8.098 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6144, allocations: 3.938 kB / 430 MB, free: 8.094 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.6145, allocations: 55.72 kB / 430.1 MB, free: 8.055 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.6147, allocations: 11.19 kB / 430.1 MB, free: 8.047 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007783/0.6155, allocations: 240.1 kB / 430.3 MB, free: 7.797 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.6159, allocations: 0.72 MB / 431 MB, free: 7.051 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.119e-05/0.616, allocations: 12.88 kB / 431 MB, free: 7.035 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.6161, allocations: 46.22 kB / 431.1 MB, free: 7.012 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6161, allocations: 0 / 431.1 MB, free: 7.012 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.6468, allocations: 3.667 MB / 434.8 MB, free: 3.422 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003488/0.6473, allocations: 201.2 kB / 434.9 MB, free: 3.191 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/3.323, allocations: 0 / 434.9 MB, free: 3.191 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat does not exist to compare? outputFormat=mat