Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_Random_TestDistributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.328/2.328, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.191e-05/4.204e-05, allocations: 4 kB / 305 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.395, allocations: 54.85 MB / 359.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.5456, allocations: 82.06 MB / 441.9 MB, free: 14.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.5459, allocations: 68.56 kB / 442 MB, free: 14.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924/2.47, allocations: 81.77 MB / 0.5115 GB, free: 12.86 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.541e-06/2.47, allocations: 3.984 kB / 0.5115 GB, free: 12.86 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/2.47, allocations: 0 / 0.5115 GB, free: 12.86 MB / 458.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.007076/2.477, allocations: 444.4 kB / 0.5119 GB, free: 12.37 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.06e-05/2.477, allocations: 12.03 kB / 0.5119 GB, free: 12.36 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.546e-05/2.477, allocations: 30.56 kB / 0.5119 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/2.477, allocations: 4 kB / 0.5119 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/2.477, allocations: 159.1 kB / 0.5121 GB, free: 12.12 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/2.477, allocations: 0 / 0.5121 GB, free: 12.12 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/2.477, allocations: 0 / 0.5121 GB, free: 12.12 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/2.477, allocations: 41.64 kB / 0.5121 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/2.477, allocations: 0 / 0.5121 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/2.477, allocations: 0 / 0.5121 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/2.478, allocations: 3.938 kB / 0.5121 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.482e-05/2.478, allocations: 11.94 kB / 0.5122 GB, free: 12.06 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/2.478, allocations: 231.2 kB / 0.5124 GB, free: 11.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.465e-05/2.478, allocations: 18.61 kB / 0.5124 GB, free: 11.76 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/2.478, allocations: 16.88 kB / 0.5124 GB, free: 11.74 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/2.478, allocations: 0 / 0.5124 GB, free: 11.74 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.756e-05/2.478, allocations: 68.2 kB / 0.5125 GB, free: 11.66 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 2.555e-06/2.478, allocations: 0 / 0.5125 GB, free: 11.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002725/2.479, allocations: 63.39 kB / 0.5125 GB, free: 11.58 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.381e-05/2.479, allocations: 77.11 kB / 0.5126 GB, free: 11.49 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.564e-05/2.479, allocations: 89 kB / 0.5127 GB, free: 11.39 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/2.479, allocations: 25.7 kB / 0.5127 GB, free: 11.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/2.479, allocations: 88.12 kB / 0.5128 GB, free: 11.27 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/2.479, allocations: 3.906 kB / 0.5128 GB, free: 11.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/2.479, allocations: 4.031 kB / 0.5128 GB, free: 11.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/2.479, allocations: 310.8 kB / 0.5131 GB, free: 10.95 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/2.479, allocations: 4 kB / 0.5131 GB, free: 10.95 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.493e-05/2.479, allocations: 0 / 0.5131 GB, free: 10.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.403e-05/2.479, allocations: 33.69 kB / 0.5131 GB, free: 10.91 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/2.479, allocations: 0 / 0.5131 GB, free: 10.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001786/2.48, allocations: 67.34 kB / 0.5132 GB, free: 10.83 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.774e-05/2.48, allocations: 39.38 kB / 0.5132 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/2.48, allocations: 4.094 kB / 0.5132 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/2.48, allocations: 3.984 kB / 0.5133 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.052e-05/2.48, allocations: 0 / 0.5133 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/2.48, allocations: 0 / 0.5133 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.234e-05/2.48, allocations: 5.391 kB / 0.5133 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/2.48, allocations: 4 kB / 0.5133 GB, free: 10.77 MB / 458.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: 2 (result,$outputAlias_result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * 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 0.0001273/2.48, allocations: 131.4 kB / 0.5134 GB, free: 10.63 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/2.48, allocations: 0.8125 kB / 0.5134 GB, free: 10.63 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/2.48, allocations: 11.03 kB / 0.5134 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/2.48, allocations: 4 kB / 0.5134 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/2.48, allocations: 4 kB / 0.5134 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/2.48, allocations: 0 / 0.5134 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/2.481, allocations: 292.3 kB / 0.5137 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/2.481, allocations: 7.984 kB / 0.5137 GB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.475e-05/2.481, allocations: 4 kB / 0.5137 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.341e-06/2.481, allocations: 7.891 kB / 0.5137 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/2.481, allocations: 0 / 0.5137 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/2.481, allocations: 0 / 0.5137 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/2.481, allocations: 0 / 0.5137 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/2.481, allocations: 169.8 kB / 0.5139 GB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/2.481, allocations: 77.11 kB / 0.5139 GB, free: 9.965 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/2.481, allocations: 3.953 kB / 0.5139 GB, free: 9.961 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.086e-05/2.481, allocations: 3.938 kB / 0.5139 GB, free: 9.957 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/2.481, allocations: 4 kB / 0.5139 GB, free: 9.953 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/2.481, allocations: 0 / 0.5139 GB, free: 9.953 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.91e-05/2.481, allocations: 76.31 kB / 0.514 GB, free: 9.879 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.81e-07/2.481, allocations: 4.031 kB / 0.514 GB, free: 9.875 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01892/2.5, allocations: 2.16 MB / 0.5161 GB, free: 7.715 MB / 458.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 (result,$outputAlias_result) * Number of discrete states: 1 ($outputAlias_result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.02471/2.525, allocations: 2.863 MB / 0.5189 GB, free: 4.824 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001581/2.525, allocations: 59.41 kB / 0.519 GB, free: 4.754 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/2.525, allocations: 0 / 0.519 GB, free: 4.754 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.838e-05/2.525, allocations: 59.41 kB / 0.519 GB, free: 4.684 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/2.525, allocations: 12.69 kB / 0.5191 GB, free: 4.676 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004772/2.53, allocations: 175.8 kB / 0.5192 GB, free: 4.469 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/2.531, allocations: 0.677 MB / 0.5199 GB, free: 3.766 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.341e-05/2.531, allocations: 0 / 0.5199 GB, free: 3.766 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/2.531, allocations: 11.44 kB / 0.5199 GB, free: 3.754 MB / 458.7 MB Notification: Performance of SimCode: time 1.282e-06/2.531, allocations: 0 / 0.5199 GB, free: 3.754 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6266/3.157, allocations: 124.5 MB / 0.6415 GB, free: 43.31 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/3.158, allocations: 209.4 kB / 0.6417 GB, free: 43.07 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.99/24.15, allocations: 0 / 0.6417 GB, free: 43.07 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions_res.mat does not exist to compare? outputFormat=mat