Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Math_Random_TestDistributions",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.508/2.508, allocations: 235.2 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.589e-05/2.598e-05, allocations: 0 / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4011, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.5938, allocations: 81.38 MB / 435.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.5941, allocations: 67.97 kB / 435.9 MB, free: 13.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.878/3.473, allocations: 81.5 MB / 0.5053 GB, free: 56.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.214e-06/3.473, allocations: 0 / 0.5053 GB, free: 56.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/3.473, allocations: 0 / 0.5053 GB, free: 56.09 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.006035/3.479, allocations: 441.1 kB / 0.5057 GB, free: 55.65 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/3.479, allocations: 12.03 kB / 0.5057 GB, free: 55.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/3.479, allocations: 3.719 kB / 0.5057 GB, free: 55.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.894e-05/3.479, allocations: 163.1 kB / 0.5059 GB, free: 55.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/3.479, allocations: 0 / 0.5059 GB, free: 55.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/3.479, allocations: 7.938 kB / 0.5059 GB, free: 55.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.954e-05/3.479, allocations: 3.938 kB / 0.5059 GB, free: 55.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.926e-05/3.479, allocations: 33.47 kB / 0.5059 GB, free: 55.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/3.479, allocations: 0 / 0.5059 GB, free: 55.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/3.479, allocations: 4 kB / 0.5059 GB, free: 55.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/3.479, allocations: 0 / 0.5059 GB, free: 55.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.623e-05/3.479, allocations: 130.2 kB / 0.506 GB, free: 55.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.653e-05/3.479, allocations: 14.58 kB / 0.506 GB, free: 55.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/3.479, allocations: 8.953 kB / 0.506 GB, free: 55.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/3.479, allocations: 0 / 0.506 GB, free: 55.19 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/3.479, allocations: 64.2 kB / 0.5061 GB, free: 55.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.774e-06/3.479, allocations: 0 / 0.5061 GB, free: 55.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001953/3.48, allocations: 37.7 kB / 0.5061 GB, free: 55.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/3.48, allocations: 77.11 kB / 0.5062 GB, free: 54.97 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.465e-05/3.48, allocations: 92.89 kB / 0.5063 GB, free: 54.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/3.48, allocations: 25.7 kB / 0.5063 GB, free: 54.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.512e-05/3.48, allocations: 80.14 kB / 0.5064 GB, free: 54.76 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/3.48, allocations: 0 / 0.5064 GB, free: 54.76 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/3.48, allocations: 0 / 0.5064 GB, free: 54.76 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.762e-05/3.48, allocations: 318.8 kB / 0.5067 GB, free: 54.44 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/3.48, allocations: 4 kB / 0.5067 GB, free: 54.44 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-06/3.48, allocations: 4.031 kB / 0.5067 GB, free: 54.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.222e-05/3.48, allocations: 0 / 0.5067 GB, free: 54.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/3.48, allocations: 0 / 0.5067 GB, free: 54.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.713e-05/3.48, allocations: 37.64 kB / 0.5068 GB, free: 54.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/3.48, allocations: 33.69 kB / 0.5068 GB, free: 54.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/3.48, allocations: 0 / 0.5068 GB, free: 54.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/3.48, allocations: 4 kB / 0.5068 GB, free: 54.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.462e-06/3.48, allocations: 0 / 0.5068 GB, free: 54.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/3.48, allocations: 3.984 kB / 0.5068 GB, free: 54.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/3.48, allocations: 4.094 kB / 0.5068 GB, free: 54.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/3.48, allocations: 4.375 kB / 0.5068 GB, free: 54.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.545e-05/3.48, allocations: 134.6 kB / 0.5069 GB, free: 54.2 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.369e-05/3.48, allocations: 41.69 kB / 0.507 GB, free: 54.15 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-06/3.48, allocations: 0 / 0.507 GB, free: 54.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.393e-05/3.48, allocations: 7.703 kB / 0.507 GB, free: 54.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/3.48, allocations: 0 / 0.507 GB, free: 54.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/3.48, allocations: 4 kB / 0.507 GB, free: 54.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/3.48, allocations: 3.953 kB / 0.507 GB, free: 54.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.193e-05/3.481, allocations: 131.7 kB / 0.5071 GB, free: 53.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/3.481, allocations: 0 / 0.5071 GB, free: 53.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-06/3.481, allocations: 3.938 kB / 0.5071 GB, free: 53.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/3.481, allocations: 0 / 0.5071 GB, free: 53.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/3.481, allocations: 7.938 kB / 0.5071 GB, free: 53.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/3.481, allocations: 0 / 0.5071 GB, free: 53.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/3.481, allocations: 0 / 0.5071 GB, free: 53.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/3.481, allocations: 61.09 kB / 0.5072 GB, free: 53.88 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/3.481, allocations: 86.2 kB / 0.5073 GB, free: 53.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/3.481, allocations: 4 kB / 0.5073 GB, free: 53.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.372e-05/3.481, allocations: 3.812 kB / 0.5073 GB, free: 53.78 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/3.481, allocations: 0 / 0.5073 GB, free: 53.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/3.481, allocations: 0 / 0.5073 GB, free: 53.78 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.678e-05/3.481, allocations: 75.28 kB / 0.5073 GB, free: 53.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.2e-07/3.481, allocations: 0 / 0.5073 GB, free: 53.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01346/3.494, allocations: 2.154 MB / 0.5094 GB, free: 51.56 MB / 394.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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.02457/3.519, allocations: 2.774 MB / 0.5122 GB, free: 48.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000137/3.519, allocations: 55.41 kB / 0.5122 GB, free: 48.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/3.519, allocations: 3.391 kB / 0.5122 GB, free: 48.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.968e-05/3.519, allocations: 63.33 kB / 0.5123 GB, free: 48.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/3.519, allocations: 0.6875 kB / 0.5123 GB, free: 48.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005222/3.525, allocations: 163.4 kB / 0.5124 GB, free: 48.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/3.525, allocations: 0.669 MB / 0.5131 GB, free: 47.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.395e-06/3.525, allocations: 4 kB / 0.5131 GB, free: 47.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/3.525, allocations: 11.56 kB / 0.5131 GB, free: 47.75 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/3.525, allocations: 0 / 0.5131 GB, free: 47.75 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4005/3.925, allocations: 125.6 MB / 0.6357 GB, free: 2.012 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003288/3.926, allocations: 183 kB / 0.6359 GB, free: 1.809 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 20.83/24.75, allocations: 0 / 0.6359 GB, free: 1.809 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Math.Random.TestDistributions_res.mat does not exist to compare? outputFormat=mat