Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.04/2.04, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.469e-05, allocations: 4 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09896/0.09903, allocations: 44.51 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4577/0.5568, allocations: 70.99 MB / 370.9 MB, free: 21.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/0.5572, allocations: 66.36 kB / 371 MB, free: 21.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009538/0.5668, allocations: 1.986 MB / 373 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5668, allocations: 0 / 373 MB, free: 21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.5668, allocations: 0 / 373 MB, free: 21 MB / 314.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.000435/0.5673, allocations: 349.2 kB / 373.3 MB, free: 20.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.5674, allocations: 9.406 kB / 373.3 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.482e-05/0.5674, allocations: 32.73 kB / 373.4 MB, free: 20.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.5675, allocations: 10.19 kB / 373.4 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.578e-05/0.5676, allocations: 167.9 kB / 373.6 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.5676, allocations: 1.094 kB / 373.6 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.5676, allocations: 3.75 kB / 373.6 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.5677, allocations: 35.5 kB / 373.6 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.5678, allocations: 5.312 kB / 373.6 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.5678, allocations: 0 / 373.6 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5678, allocations: 0 / 373.6 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.452e-05/0.5679, allocations: 12.78 kB / 373.6 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.5683, allocations: 254.3 kB / 373.9 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.451e-05/0.5684, allocations: 24.77 kB / 373.9 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.264e-05/0.5684, allocations: 11.19 kB / 373.9 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.5684, allocations: 0 / 373.9 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/0.5686, allocations: 54.75 kB / 373.9 MB, free: 20 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.814e-06/0.5686, allocations: 4 kB / 374 MB, free: 20 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001914/0.5688, allocations: 54.83 kB / 374 MB, free: 19.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.5688, allocations: 57.28 kB / 374.1 MB, free: 19.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.5689, allocations: 100.4 kB / 374.2 MB, free: 19.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.569, allocations: 30.92 kB / 374.2 MB, free: 19.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.569, allocations: 84.27 kB / 374.3 MB, free: 19.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.569, allocations: 9.156 kB / 374.3 MB, free: 19.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.5691, allocations: 3.125 kB / 374.3 MB, free: 19.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.177e-05/0.5691, allocations: 317.9 kB / 374.6 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.852e-05/0.5692, allocations: 7.969 kB / 374.6 MB, free: 19.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.812e-05/0.5692, allocations: 21 kB / 374.6 MB, free: 19.35 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.572e-05/0.5693, allocations: 11.33 kB / 374.6 MB, free: 19.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5693, allocations: 0 / 374.6 MB, free: 19.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001243/0.5694, allocations: 53.75 kB / 374.7 MB, free: 19.31 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.5694, allocations: 5.406 kB / 374.7 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5695, allocations: 1 kB / 374.7 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.5695, allocations: 5.984 kB / 374.7 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/0.5696, allocations: 9.812 kB / 374.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.5696, allocations: 2.156 kB / 374.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.88e-05/0.5696, allocations: 4.875 kB / 374.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.5697, allocations: 6.844 kB / 374.7 MB, free: 19.3 MB / 314.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 6.378e-05/0.5697, allocations: 110.7 kB / 374.8 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.5698, allocations: 9.5 kB / 374.8 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.5698, allocations: 4.781 kB / 374.8 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.5698, allocations: 1.031 kB / 374.8 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.5698, allocations: 4 kB / 374.9 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5699, allocations: 0.7031 kB / 374.9 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.5701, allocations: 287.6 kB / 375.1 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.5702, allocations: 0 / 375.1 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.563e-05/0.5702, allocations: 2.625 kB / 375.1 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.5702, allocations: 1.156 kB / 375.1 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.5702, allocations: 4.016 kB / 375.1 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.5702, allocations: 1.406 kB / 375.1 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5703, allocations: 0 / 375.1 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.5704, allocations: 147.5 kB / 375.3 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.5705, allocations: 82.67 kB / 375.4 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.5705, allocations: 3.875 kB / 375.4 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.737e-05/0.5705, allocations: 1.797 kB / 375.4 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.5706, allocations: 1.641 kB / 375.4 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.5706, allocations: 1.688 kB / 375.4 MB, free: 18.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.521e-05/0.5707, allocations: 88.97 kB / 375.5 MB, free: 18.56 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5707, allocations: 4 kB / 375.5 MB, free: 18.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004489/0.5711, allocations: 36.8 kB / 375.5 MB, free: 18.54 MB / 314.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.0009029/0.5721, allocations: 0.7791 MB / 376.3 MB, free: 17.85 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.5722, allocations: 23.17 kB / 376.3 MB, free: 17.85 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5723, allocations: 0 / 376.3 MB, free: 17.85 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.913e-05/0.5723, allocations: 10.47 kB / 376.3 MB, free: 17.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.5725, allocations: 1.031 kB / 376.3 MB, free: 17.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005986/0.5731, allocations: 119.4 kB / 376.4 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.5733, allocations: 0.6808 MB / 377.1 MB, free: 17.03 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.012e-05/0.5734, allocations: 6.781 kB / 377.1 MB, free: 17.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.5734, allocations: 18.08 kB / 377.1 MB, free: 17.02 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5734, allocations: 0 / 377.1 MB, free: 17.02 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.5986, allocations: 1.854 MB / 379 MB, free: 16.73 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/0.5989, allocations: 211.3 kB / 379.2 MB, free: 16.49 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.522/3.121, allocations: 0 / 379.2 MB, free: 16.49 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat does not exist to compare? outputFormat=mat