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.161/2.161, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.48e-05/4.487e-05, allocations: 4 kB / 255.5 MB, free: 2.648 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1505, allocations: 44.5 MB / 300 MB, free: 6.09 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4023/0.5528, allocations: 70.99 MB / 371 MB, free: 21.3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.5531, allocations: 69.94 kB / 371 MB, free: 21.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009211/0.5624, allocations: 1.991 MB / 373 MB, free: 20.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5624, allocations: 1.406 kB / 373 MB, free: 20.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.5625, allocations: 0 / 373 MB, free: 20.88 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.0004336/0.5629, allocations: 345.3 kB / 373.4 MB, free: 20.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.563, allocations: 11.44 kB / 373.4 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.647e-05/0.563, allocations: 32.66 kB / 373.4 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.5631, allocations: 8.969 kB / 373.4 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.5632, allocations: 165.9 kB / 373.6 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.5632, allocations: 6.266 kB / 373.6 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.5633, allocations: 2.094 kB / 373.6 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.5634, allocations: 32.97 kB / 373.6 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.5634, allocations: 7.875 kB / 373.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.5634, allocations: 1.156 kB / 373.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.5634, allocations: 0 / 373.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.317e-05/0.5635, allocations: 6.938 kB / 373.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.5639, allocations: 254.6 kB / 373.9 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.253e-05/0.564, allocations: 24.38 kB / 373.9 MB, free: 19.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.564, allocations: 13.34 kB / 373.9 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.564, allocations: 4.906 kB / 373.9 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.5641, allocations: 56.17 kB / 374 MB, free: 19.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.104e-06/0.5642, allocations: 0 / 374 MB, free: 19.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001882/0.5644, allocations: 53.92 kB / 374 MB, free: 19.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.5644, allocations: 53.09 kB / 374.1 MB, free: 19.78 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.842e-05/0.5645, allocations: 104.5 kB / 374.2 MB, free: 19.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.5645, allocations: 26.77 kB / 374.2 MB, free: 19.65 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.5646, allocations: 83.98 kB / 374.3 MB, free: 19.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.5646, allocations: 12.98 kB / 374.3 MB, free: 19.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.5646, allocations: 0 / 374.3 MB, free: 19.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.118e-05/0.5647, allocations: 317.1 kB / 374.6 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.663e-05/0.5647, allocations: 8.938 kB / 374.6 MB, free: 19.24 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.69e-05/0.5648, allocations: 23.41 kB / 374.6 MB, free: 19.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.623e-05/0.5648, allocations: 6.453 kB / 374.7 MB, free: 19.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.5648, allocations: 1.219 kB / 374.7 MB, free: 19.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001157/0.5649, allocations: 52.97 kB / 374.7 MB, free: 19.19 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.565, allocations: 6.344 kB / 374.7 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.565, allocations: 9.594 kB / 374.7 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.565, allocations: 1.125 kB / 374.7 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.022e-05/0.5651, allocations: 7.875 kB / 374.7 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.5651, allocations: 3.938 kB / 374.7 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.981e-05/0.5652, allocations: 5.656 kB / 374.7 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.5652, allocations: 5.547 kB / 374.7 MB, free: 19.17 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.301e-05/0.5653, allocations: 110.7 kB / 374.9 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.5653, allocations: 5.594 kB / 374.9 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.5653, allocations: 6.188 kB / 374.9 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.5654, allocations: 4 kB / 374.9 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5654, allocations: 1.281 kB / 374.9 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5654, allocations: 0.6562 kB / 374.9 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.5657, allocations: 286.7 kB / 375.2 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5657, allocations: 0 / 375.2 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.117e-05/0.5657, allocations: 2.859 kB / 375.2 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.5657, allocations: 0 / 375.2 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.5657, allocations: 4.906 kB / 375.2 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5657, allocations: 1.078 kB / 375.2 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5658, allocations: 1 kB / 375.2 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.5659, allocations: 146.8 kB / 375.3 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.939e-05/0.566, allocations: 82.88 kB / 375.4 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.566, allocations: 8.5 kB / 375.4 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.114e-05/0.5661, allocations: 1.938 kB / 375.4 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.5661, allocations: 1.75 kB / 375.4 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.5661, allocations: 1.5 kB / 375.4 MB, free: 18.51 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.564e-05/0.5662, allocations: 89.5 kB / 375.5 MB, free: 18.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5662, allocations: 4 kB / 375.5 MB, free: 18.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000499/0.5667, allocations: 36.45 kB / 375.5 MB, free: 18.42 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.000837/0.5675, allocations: 0.7738 MB / 376.3 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.5677, allocations: 22.67 kB / 376.3 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5677, allocations: 0 / 376.3 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.964e-05/0.5678, allocations: 9.984 kB / 376.3 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.5679, allocations: 2.688 kB / 376.3 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.5684, allocations: 119.2 kB / 376.4 MB, free: 17.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.5686, allocations: 0.6805 MB / 377.1 MB, free: 16.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.871e-05/0.5687, allocations: 7.031 kB / 377.1 MB, free: 16.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.5687, allocations: 13.75 kB / 377.2 MB, free: 16.91 MB / 314.7 MB Notification: Performance of SimCode: time 7.42e-07/0.5687, allocations: 0 / 377.2 MB, free: 16.91 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.5945, allocations: 1.853 MB / 379 MB, free: 16.61 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003886/0.5949, allocations: 208.6 kB / 379.2 MB, free: 16.38 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/3.036, allocations: 0 / 379.2 MB, free: 16.38 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