Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.041/2.041, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.482e-05/4.498e-05, allocations: 4 kB / 269.4 MB, free: 6.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1335, allocations: 47.58 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4398/0.5734, allocations: 75.2 MB / 392.2 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.5737, allocations: 71.58 kB / 392.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008459/0.5822, allocations: 1.989 MB / 394.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5822, allocations: 0 / 394.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.5823, allocations: 0 / 394.3 MB, free: 10.68 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.0003996/0.5827, allocations: 338.2 kB / 394.6 MB, free: 10.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.5827, allocations: 17.53 kB / 394.6 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.258e-05/0.5828, allocations: 30.56 kB / 394.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.5829, allocations: 6.781 kB / 394.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.583, allocations: 171 kB / 394.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.583, allocations: 7.953 kB / 394.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.5831, allocations: 4 kB / 394.8 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.5832, allocations: 37 kB / 394.9 MB, free: 9.992 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.5832, allocations: 0 / 394.9 MB, free: 9.992 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.5832, allocations: 0 / 394.9 MB, free: 9.992 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5832, allocations: 0 / 394.9 MB, free: 9.992 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.679e-05/0.5833, allocations: 11.8 kB / 394.9 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.5837, allocations: 256.1 kB / 395.1 MB, free: 9.691 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.985e-05/0.5838, allocations: 25.95 kB / 395.2 MB, free: 9.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.376e-05/0.5838, allocations: 12.91 kB / 395.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.5838, allocations: 4 kB / 395.2 MB, free: 9.641 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001142/0.584, allocations: 47.34 kB / 395.2 MB, free: 9.586 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.014e-06/0.584, allocations: 0 / 395.2 MB, free: 9.586 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001827/0.5842, allocations: 57.28 kB / 395.3 MB, free: 9.527 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.5842, allocations: 55.41 kB / 395.3 MB, free: 9.461 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.34e-05/0.5844, allocations: 96.88 kB / 395.4 MB, free: 9.363 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.5844, allocations: 25.7 kB / 395.5 MB, free: 9.332 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.5844, allocations: 82.83 kB / 395.5 MB, free: 9.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.5845, allocations: 15.83 kB / 395.6 MB, free: 9.234 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.5845, allocations: 3.438 kB / 395.6 MB, free: 9.234 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5846, allocations: 314.8 kB / 395.9 MB, free: 8.918 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.684e-05/0.5847, allocations: 7.688 kB / 395.9 MB, free: 8.914 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.31e-05/0.5847, allocations: 21.31 kB / 395.9 MB, free: 8.891 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.957e-05/0.5848, allocations: 15.36 kB / 395.9 MB, free: 8.879 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5848, allocations: 3.938 kB / 395.9 MB, free: 8.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001221/0.5849, allocations: 53.25 kB / 396 MB, free: 8.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.585, allocations: 4 kB / 396 MB, free: 8.816 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.585, allocations: 4 kB / 396 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.585, allocations: 0 / 396 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.512e-05/0.5851, allocations: 4.875 kB / 396 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.5851, allocations: 4.031 kB / 396 MB, free: 8.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.644e-05/0.5852, allocations: 10.34 kB / 396 MB, free: 8.797 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.5852, allocations: 0 / 396 MB, free: 8.797 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 8.38e-05/0.5853, allocations: 119.7 kB / 396.1 MB, free: 8.676 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.5853, allocations: 0 / 396.1 MB, free: 8.676 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.5853, allocations: 4.031 kB / 396.1 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.5854, allocations: 4 kB / 396.1 MB, free: 8.664 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5854, allocations: 0 / 396.1 MB, free: 8.664 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.5854, allocations: 0 / 396.1 MB, free: 8.664 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.5857, allocations: 288.1 kB / 396.4 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5857, allocations: 0 / 396.4 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.5857, allocations: 11.98 kB / 396.4 MB, free: 8.324 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5857, allocations: 0 / 396.4 MB, free: 8.324 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.5858, allocations: 0 / 396.4 MB, free: 8.324 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.5858, allocations: 0 / 396.4 MB, free: 8.324 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.5858, allocations: 3.984 kB / 396.4 MB, free: 8.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.5859, allocations: 145.3 kB / 396.6 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.586, allocations: 89.2 kB / 396.6 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.586, allocations: 0 / 396.6 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.754e-05/0.5861, allocations: 7.922 kB / 396.7 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.5861, allocations: 3.984 kB / 396.7 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.5861, allocations: 7.438 kB / 396.7 MB, free: 8.047 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.265e-05/0.5862, allocations: 79.28 kB / 396.7 MB, free: 7.969 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5862, allocations: 0 / 396.7 MB, free: 7.969 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003824/0.5866, allocations: 35.06 kB / 396.8 MB, free: 7.938 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.0008963/0.5875, allocations: 0.7873 MB / 397.6 MB, free: 7.164 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.5876, allocations: 27.34 kB / 397.6 MB, free: 7.141 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5877, allocations: 0 / 397.6 MB, free: 7.141 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.244e-05/0.5877, allocations: 4 kB / 397.6 MB, free: 7.137 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.5879, allocations: 7.922 kB / 397.6 MB, free: 7.129 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.5884, allocations: 118.2 kB / 397.7 MB, free: 6.984 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.5887, allocations: 0.6849 MB / 398.4 MB, free: 6.273 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.55e-05/0.5887, allocations: 11.92 kB / 398.4 MB, free: 6.262 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.5888, allocations: 10.94 kB / 398.4 MB, free: 6.254 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5888, allocations: 4 kB / 398.4 MB, free: 6.25 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.614, allocations: 1.851 MB / 400.3 MB, free: 4.445 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003005/0.6144, allocations: 203.2 kB / 400.5 MB, free: 4.215 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/3.006, allocations: 3.938 kB / 400.5 MB, free: 4.211 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat does not exist to compare? outputFormat=mat