Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.AutomaticSeed,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_AutomaticSeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.223/2.223, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.137e-05, allocations: 0 / 292.7 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1167, allocations: 50.42 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4728/0.5897, allocations: 77.64 MB / 420.8 MB, free: 0.543 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.59, allocations: 69.83 kB / 420.9 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03813/0.6281, allocations: 8.41 MB / 429.3 MB, free: 9.164 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6282, allocations: 0 / 429.3 MB, free: 9.164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.6282, allocations: 4 kB / 429.3 MB, free: 9.16 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001378/0.6296, allocations: 0.6059 MB / 429.9 MB, free: 8.527 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.6296, allocations: 12.03 kB / 429.9 MB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.6298, allocations: 53.16 kB / 429.9 MB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.631, allocations: 115.4 kB / 430.1 MB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.6313, allocations: 257.6 kB / 430.3 MB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.386e-05/0.6314, allocations: 11.44 kB / 430.3 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.6315, allocations: 25.67 kB / 430.3 MB, free: 8.039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006166/0.6322, allocations: 255.4 kB / 430.6 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.6322, allocations: 3.938 kB / 430.6 MB, free: 7.816 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/0.6322, allocations: 19.89 kB / 430.6 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.6323, allocations: 4 kB / 430.6 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000352/0.6326, allocations: 124.1 kB / 430.7 MB, free: 7.707 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/0.6349, allocations: 1.078 MB / 431.8 MB, free: 6.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008028/0.6358, allocations: 301.8 kB / 432.1 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.6361, allocations: 142.4 kB / 432.3 MB, free: 6.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.6362, allocations: 11.92 kB / 432.3 MB, free: 6.258 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000677/0.6369, allocations: 314.6 kB / 432.6 MB, free: 5.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 4.819e-06/0.6369, allocations: 3.938 kB / 432.6 MB, free: 5.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.001292/0.6382, allocations: 446.8 kB / 433 MB, free: 5.617 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001723/0.6384, allocations: 229 kB / 433.2 MB, free: 5.359 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000509/0.6389, allocations: 292.4 kB / 433.5 MB, free: 5.125 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002146/0.6391, allocations: 85.16 kB / 433.6 MB, free: 5.055 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.6393, allocations: 168.6 kB / 433.8 MB, free: 4.934 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.6395, allocations: 118.3 kB / 433.9 MB, free: 4.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.6396, allocations: 14.81 kB / 433.9 MB, free: 4.832 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.6398, allocations: 363.5 kB / 434.3 MB, free: 4.488 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000628/0.6404, allocations: 224.3 kB / 434.5 MB, free: 4.348 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007017/0.6411, allocations: 297.5 kB / 434.8 MB, free: 4.129 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006959/0.6418, allocations: 269.7 kB / 435 MB, free: 3.941 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.6419, allocations: 0 / 435 MB, free: 3.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001749/0.6436, allocations: 0.6603 MB / 435.7 MB, free: 3.449 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.6437, allocations: 4 kB / 435.7 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.804e-05/0.6437, allocations: 7.984 kB / 435.7 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.6437, allocations: 4 kB / 435.7 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000599/0.6444, allocations: 83.33 kB / 435.8 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.6444, allocations: 4 kB / 435.8 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.6448, allocations: 64.48 kB / 435.9 MB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.933e-05/0.6449, allocations: 38.73 kB / 435.9 MB, free: 3.266 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 92 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.automaticSeed3.state[1],automaticSeed3.state[1],$PRE.automaticSeed3.state[2],automaticSeed3.state[2],$PRE.automaticSeed3.state[3],automaticSeed3.state[3],$PRE.automaticSeed3.state[4],automaticSeed3.state[4],$PRE.automaticSeed3.r,automaticSeed3.r,$PRE.automaticSeed3.r_raw,automaticSeed3.r_raw,$PRE.automaticSeed2.state[1],automaticSeed2.state[1],$PRE.automaticSeed2.state[2],automaticSeed2.state[2],$PRE.automaticSeed2.state[3],automaticSeed2.state[3],$PRE.automaticSeed2.state[4],automaticSeed2.state[4],$PRE.automaticSeed2.r,automaticSeed2.r,$PRE.automaticSeed2.r_raw,automaticSeed2.r_raw,$PRE.automaticSeed1.state[1],automaticSeed1.state[1],$PRE.automaticSeed1.state[2],automaticSeed1.state[2],$PRE.automaticSeed1.state[3],automaticSeed1.state[3],$PRE.automaticSeed1.state[4],automaticSeed1.state[4],$PRE.automaticSeed1.r,automaticSeed1.r,$PRE.automaticSeed1.r_raw,automaticSeed1.r_raw,$PRE.manualSeed1.state[1],manualSeed1.state[1],$PRE.manualSeed1.state[2],manualSeed1.state[2],$PRE.manualSeed1.state[3],manualSeed1.state[3],$PRE.manualSeed1.state[4],manualSeed1.state[4],$PRE.manualSeed1.r,manualSeed1.r,$PRE.manualSeed1.r_raw,manualSeed1.r_raw,$PRE.manualSeed2.state[1],manualSeed2.state[1],$PRE.manualSeed2.state[2],manualSeed2.state[2],$PRE.manualSeed2.state[3],manualSeed2.state[3],$PRE.manualSeed2.state[4],manualSeed2.state[4],$PRE.manualSeed2.r,manualSeed2.r,$PRE.manualSeed2.r_raw,manualSeed2.r_raw,$PRE.manualSeed3.state[1],manualSeed3.state[1],$PRE.manualSeed3.state[2],manualSeed3.state[2],$PRE.manualSeed3.state[3],manualSeed3.state[3],$PRE.manualSeed3.state[4],manualSeed3.state[4],$PRE.manualSeed3.r,manualSeed3.r,$PRE.manualSeed3.r_raw,manualSeed3.r_raw,globalSeed.id_impure,automaticSeed1.localSeed,automaticSeed1.actualGlobalSeed,automaticSeed2.localSeed,automaticSeed2.actualGlobalSeed,automaticSeed3.localSeed,automaticSeed3.actualGlobalSeed,manualSeed1.localSeed,manualSeed1.actualGlobalSeed,manualSeed2.localSeed,manualSeed2.actualGlobalSeed,manualSeed3.localSeed,manualSeed3.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 68 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 6 * 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.0002904/0.6452, allocations: 181.6 kB / 436.1 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.6453, allocations: 42.64 kB / 436.1 MB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.944e-05/0.6454, allocations: 29.64 kB / 436.1 MB, free: 3.031 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.6455, allocations: 4 kB / 436.1 MB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.6455, allocations: 4 kB / 436.1 MB, free: 3.023 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.6455, allocations: 0 / 436.1 MB, free: 3.023 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005853/0.6461, allocations: 357.8 kB / 436.5 MB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.6461, allocations: 3.953 kB / 436.5 MB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.6463, allocations: 27.98 kB / 436.5 MB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.6464, allocations: 4 kB / 436.5 MB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.6464, allocations: 11.73 kB / 436.5 MB, free: 2.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.6464, allocations: 4 kB / 436.5 MB, free: 2.629 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6464, allocations: 3.938 kB / 436.6 MB, free: 2.625 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.6476, allocations: 0.5651 MB / 437.1 MB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.6477, allocations: 115.9 kB / 437.2 MB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.6479, allocations: 39.66 kB / 437.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/0.6482, allocations: 23.73 kB / 437.3 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.6483, allocations: 46.44 kB / 437.3 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.582e-05/0.6484, allocations: 15.98 kB / 437.4 MB, free: 1.859 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003342/0.6487, allocations: 217.5 kB / 437.6 MB, free: 1.684 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6487, allocations: 0 / 437.6 MB, free: 1.684 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007112/0.6495, allocations: 119.1 kB / 437.7 MB, free: 1.582 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition6,manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed3.r,manualSeed3.r_raw,$whenCondition5,manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed2.r,manualSeed2.r_raw,$whenCondition4,manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed1.r,manualSeed1.r_raw,$whenCondition3,automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed1.r,automaticSeed1.r_raw,$whenCondition2,automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed2.r,automaticSeed2.r_raw,$whenCondition1,automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed3.r,automaticSeed3.r_raw) * Number of discrete states: 24 (automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.002648/0.6521, allocations: 1.777 MB / 439.5 MB, free: 15.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.6535, allocations: 0.633 MB / 440.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.6536, allocations: 4.312 kB / 440.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004573/0.654, allocations: 167 kB / 440.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.6543, allocations: 19.03 kB / 440.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.656, allocations: 0.5314 MB / 440.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.6565, allocations: 0.7962 MB / 441.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000194/0.6567, allocations: 42.95 kB / 441.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/0.6569, allocations: 114.3 kB / 441.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6569, allocations: 4 kB / 441.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03971/0.6967, allocations: 7.538 MB / 449.3 MB, free: 6.41 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003043/0.697, allocations: 208.2 kB / 449.5 MB, free: 6.172 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.843/3.54, allocations: 0 / 449.5 MB, free: 6.172 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed_res.mat does not exist to compare? outputFormat=mat