Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.324/2.324, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.98e-05/2.991e-05, allocations: 3.656 kB / 249.8 MB, free: 5.25 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1016, allocations: 44.5 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5102/0.6119, allocations: 70.33 MB / 364.6 MB, free: 7.23 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.6122, allocations: 67.94 kB / 364.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0105/0.6228, allocations: 1.98 MB / 366.7 MB, free: 22.81 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6228, allocations: 0 / 366.7 MB, free: 22.81 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.6228, allocations: 0 / 366.7 MB, free: 22.81 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.0004116/0.6233, allocations: 342.6 kB / 367 MB, free: 22.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.6233, allocations: 16.55 kB / 367 MB, free: 22.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.481e-05/0.6234, allocations: 1.125 kB / 367 MB, free: 22.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.6235, allocations: 176 kB / 367.2 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.6235, allocations: 0 / 367.2 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.6236, allocations: 0 / 367.2 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.33e-05/0.6236, allocations: 7.25 kB / 367.2 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.675e-05/0.6237, allocations: 36.45 kB / 367.2 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.6237, allocations: 0 / 367.2 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.6238, allocations: 0 / 367.2 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.6238, allocations: 0 / 367.2 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.6241, allocations: 224.2 kB / 367.4 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.954e-05/0.6242, allocations: 30.42 kB / 367.5 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.178e-05/0.6242, allocations: 11.14 kB / 367.5 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.6243, allocations: 0 / 367.5 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/0.6244, allocations: 55.16 kB / 367.5 MB, free: 21.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.735e-06/0.6244, allocations: 0 / 367.5 MB, free: 21.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001886/0.6246, allocations: 44.38 kB / 367.6 MB, free: 21.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.6247, allocations: 55.34 kB / 367.6 MB, free: 21.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.746e-05/0.6247, allocations: 103.4 kB / 367.7 MB, free: 21.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.6248, allocations: 27.48 kB / 367.8 MB, free: 21.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.6248, allocations: 80.14 kB / 367.8 MB, free: 21.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.6249, allocations: 10.78 kB / 367.9 MB, free: 21.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.6249, allocations: 3.938 kB / 367.9 MB, free: 21.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.318e-05/0.6249, allocations: 324.2 kB / 368.2 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.697e-05/0.625, allocations: 7.219 kB / 368.2 MB, free: 21.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.711e-05/0.625, allocations: 17.41 kB / 368.2 MB, free: 21.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.463e-05/0.6251, allocations: 8.609 kB / 368.2 MB, free: 21.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.6251, allocations: 0 / 368.2 MB, free: 21.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001546/0.6253, allocations: 55.02 kB / 368.3 MB, free: 21.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.6253, allocations: 7.781 kB / 368.3 MB, free: 21.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.6254, allocations: 32 / 368.3 MB, free: 21.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.6254, allocations: 7.938 kB / 368.3 MB, free: 21.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.792e-05/0.6255, allocations: 7.75 kB / 368.3 MB, free: 21.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.6255, allocations: 0 / 368.3 MB, free: 21.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.257e-05/0.6256, allocations: 3.188 kB / 368.3 MB, free: 21.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.6256, allocations: 3.875 kB / 368.3 MB, free: 21.19 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 9.477e-05/0.6257, allocations: 112.7 kB / 368.4 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001076/0.6258, allocations: 47.72 kB / 368.4 MB, free: 21.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.6258, allocations: 3.906 kB / 368.5 MB, free: 21.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.6259, allocations: 6.656 kB / 368.5 MB, free: 21.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.6259, allocations: 4 kB / 368.5 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.6259, allocations: 0 / 368.5 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.6259, allocations: 7.062 kB / 368.5 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.6262, allocations: 263.5 kB / 368.7 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.6263, allocations: 0 / 368.7 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.6263, allocations: 0 / 368.7 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.6263, allocations: 3.969 kB / 368.7 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.6263, allocations: 3.188 kB / 368.7 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.6264, allocations: 0 / 368.7 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.6264, allocations: 4 kB / 368.7 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.6265, allocations: 154.8 kB / 368.9 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.6266, allocations: 77.11 kB / 369 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.6267, allocations: 0 / 369 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.6268, allocations: 0 / 369 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.6268, allocations: 7.75 kB / 369 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.6268, allocations: 6.703 kB / 369 MB, free: 20.51 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.298e-05/0.6269, allocations: 83.03 kB / 369.1 MB, free: 20.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6269, allocations: 4 kB / 369.1 MB, free: 20.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005395/0.6275, allocations: 29.33 kB / 369.1 MB, free: 20.43 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.001085/0.6286, allocations: 0.7867 MB / 369.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.6287, allocations: 18.56 kB / 369.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.6287, allocations: 64 / 369.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.546e-05/0.6288, allocations: 15.19 kB / 369.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.629, allocations: 2.438 kB / 369.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005708/0.6296, allocations: 112.9 kB / 370 MB, free: 19.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.63, allocations: 0.6775 MB / 370.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.689e-05/0.63, allocations: 6.312 kB / 370.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.6301, allocations: 17.97 kB / 370.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6301, allocations: 0 / 370.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05509/0.6852, allocations: 1.564 MB / 372.3 MB, free: 18.74 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002979/0.6856, allocations: 192.8 kB / 372.5 MB, free: 18.54 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.065/3.75, allocations: 0 / 372.5 MB, free: 18.54 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat does not exist to compare? outputFormat=mat