Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.067/2.067, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.058e-05/6.013e-05, allocations: 4 kB / 292.7 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1332, allocations: 50.42 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4716/0.6048, allocations: 76.43 MB / 419.6 MB, free: 1.395 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.6051, allocations: 70.08 kB / 419.6 MB, free: 1.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008638/0.6138, allocations: 2.003 MB / 421.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6138, allocations: 7.938 kB / 421.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.6139, allocations: 0 / 421.7 MB, free: 15.62 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004162/0.6143, allocations: 346.1 kB / 422 MB, free: 15.24 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.6144, allocations: 8.031 kB / 422 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.729e-05/0.6144, allocations: 34.55 kB / 422 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.6145, allocations: 7.906 kB / 422 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.6146, allocations: 159.1 kB / 422.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.6146, allocations: 0 / 422.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.6147, allocations: 4 kB / 422.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.6148, allocations: 37.62 kB / 422.2 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.6148, allocations: 0 / 422.2 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.6148, allocations: 11.89 kB / 422.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.6149, allocations: 0 / 422.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.75e-05/0.6149, allocations: 4 kB / 422.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.6153, allocations: 252.2 kB / 422.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.645e-05/0.6154, allocations: 18.58 kB / 422.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.415e-05/0.6155, allocations: 16.86 kB / 422.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.6155, allocations: 7.938 kB / 422.5 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/0.6156, allocations: 59.23 kB / 422.6 MB, free: 14.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.034e-06/0.6156, allocations: 0 / 422.6 MB, free: 14.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001772/0.6158, allocations: 49.47 kB / 422.7 MB, free: 14.47 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.6159, allocations: 51.41 kB / 422.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.616, allocations: 105.4 kB / 422.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.616, allocations: 25.7 kB / 422.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.6161, allocations: 88.14 kB / 422.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.6161, allocations: 11.72 kB / 422.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-06/0.6161, allocations: 0 / 422.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6163, allocations: 310.8 kB / 423.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.904e-05/0.6163, allocations: 11.61 kB / 423.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.282e-05/0.6164, allocations: 25.72 kB / 423.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.595e-05/0.6164, allocations: 7.938 kB / 423.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6164, allocations: 0 / 423.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001283/0.6166, allocations: 53.62 kB / 423.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.6166, allocations: 11.95 kB / 423.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.6166, allocations: 0 / 423.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.6166, allocations: 0 / 423.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.203e-05/0.6167, allocations: 15.92 kB / 423.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.6168, allocations: 0 / 423.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/0.6168, allocations: 3.938 kB / 423.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.6168, allocations: 0 / 423.4 MB, free: 13.74 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: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 7.896e-05/0.6169, allocations: 105.1 kB / 423.5 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.6169, allocations: 11.92 kB / 423.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.617, allocations: 15.42 kB / 423.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.617, allocations: 0 / 423.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.617, allocations: 0 / 423.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.617, allocations: 3.984 kB / 423.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.6174, allocations: 282.5 kB / 423.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.6174, allocations: 0 / 423.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.973e-05/0.6174, allocations: 0 / 423.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.6174, allocations: 3.953 kB / 423.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.6174, allocations: 4 kB / 423.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.6175, allocations: 7.938 kB / 423.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.6175, allocations: 3.938 kB / 423.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.6176, allocations: 147.2 kB / 423.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.6177, allocations: 81.02 kB / 424 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.6177, allocations: 7.891 kB / 424 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.841e-05/0.6178, allocations: 0 / 424 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.6178, allocations: 0 / 424 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.6179, allocations: 8 kB / 424 MB, free: 12.99 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.845e-05/0.6179, allocations: 87.14 kB / 424.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6179, allocations: 0 / 424.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003996/0.6183, allocations: 32 kB / 424.1 MB, free: 12.88 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009569/0.6193, allocations: 0.781 MB / 424.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.6194, allocations: 19.55 kB / 424.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6195, allocations: 0 / 424.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.791e-05/0.6195, allocations: 15.75 kB / 425 MB, free: 12.08 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.6197, allocations: 3.953 kB / 425 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.6202, allocations: 118.3 kB / 425.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.6205, allocations: 0.6809 MB / 425.8 MB, free: 11.22 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.431e-05/0.6205, allocations: 7.984 kB / 425.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.6206, allocations: 15.31 kB / 425.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of SimCode: time 9.31e-07/0.6206, allocations: 0 / 425.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.6457, allocations: 1.857 MB / 427.6 MB, free: 9.406 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.646, allocations: 193.4 kB / 427.8 MB, free: 9.184 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/3.05, allocations: 4 kB / 427.8 MB, free: 9.18 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat does not exist to compare? outputFormat=mat