Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestDistributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.514/2.514, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.457e-05/4.447e-05, allocations: 4 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1407, allocations: 61.89 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5277/0.6685, allocations: 87.99 MB / 498.3 MB, free: 20 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/0.6689, allocations: 72.03 kB / 498.4 MB, free: 15.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.059/2.728, allocations: 97.17 MB / 0.5816 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.294e-06/2.728, allocations: 0 / 0.5816 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.362e-06/2.728, allocations: 0 / 0.5816 GB, free: 14.66 MB / 0.4948 GB 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.005458/2.733, allocations: 435.9 kB / 0.582 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/2.733, allocations: 8.031 kB / 0.582 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.907e-05/2.733, allocations: 42.47 kB / 0.5821 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/2.733, allocations: 0 / 0.5821 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/2.734, allocations: 163 kB / 0.5822 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/2.734, allocations: 0 / 0.5822 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/2.734, allocations: 0 / 0.5822 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/2.734, allocations: 33.69 kB / 0.5823 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/2.734, allocations: 3.938 kB / 0.5823 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/2.734, allocations: 4 kB / 0.5823 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/2.734, allocations: 0 / 0.5823 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.502e-05/2.734, allocations: 4 kB / 0.5823 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002621/2.734, allocations: 232.9 kB / 0.5825 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.593e-05/2.734, allocations: 22.61 kB / 0.5825 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/2.734, allocations: 8.922 kB / 0.5825 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/2.734, allocations: 0 / 0.5825 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.516e-05/2.734, allocations: 60.27 kB / 0.5826 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/2.734, allocations: 7.938 kB / 0.5826 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0002044/2.734, allocations: 67.39 kB / 0.5827 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/2.735, allocations: 77.11 kB / 0.5827 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.379e-05/2.735, allocations: 85 kB / 0.5828 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/2.735, allocations: 33.64 kB / 0.5829 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/2.735, allocations: 80.14 kB / 0.5829 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/2.735, allocations: 3.938 kB / 0.5829 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/2.735, allocations: 0 / 0.5829 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001324/2.735, allocations: 322.8 kB / 0.5832 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/2.735, allocations: 4 kB / 0.5832 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.01e-05/2.735, allocations: 0 / 0.5832 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.932e-05/2.735, allocations: 29.7 kB / 0.5833 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/2.735, allocations: 0 / 0.5833 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001061/2.735, allocations: 71.23 kB / 0.5833 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.017e-05/2.735, allocations: 37.7 kB / 0.5834 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/2.735, allocations: 0 / 0.5834 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/2.735, allocations: 96 / 0.5834 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.762e-05/2.735, allocations: 4 kB / 0.5834 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/2.735, allocations: 0 / 0.5834 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.107e-05/2.735, allocations: 0 / 0.5834 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/2.735, allocations: 0 / 0.5834 GB, free: 12.59 MB / 0.4948 GB 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.0001046/2.735, allocations: 146.6 kB / 0.5835 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/2.735, allocations: 0 / 0.5835 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/2.736, allocations: 7.078 kB / 0.5835 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/2.736, allocations: 4 kB / 0.5835 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/2.736, allocations: 0 / 0.5835 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/2.736, allocations: 4 kB / 0.5835 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/2.736, allocations: 292.3 kB / 0.5838 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/2.736, allocations: 0 / 0.5838 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.022e-06/2.736, allocations: 3.938 kB / 0.5838 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/2.736, allocations: 7.984 kB / 0.5838 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/2.736, allocations: 0 / 0.5838 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/2.736, allocations: 0 / 0.5838 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/2.736, allocations: 4 kB / 0.5838 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/2.736, allocations: 169.2 kB / 0.584 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/2.736, allocations: 81.09 kB / 0.5841 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/2.736, allocations: 4 kB / 0.5841 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.955e-05/2.736, allocations: 0 / 0.5841 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/2.736, allocations: 0 / 0.5841 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/2.736, allocations: 4 kB / 0.5841 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.247e-05/2.736, allocations: 79.22 kB / 0.5842 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.11e-07/2.736, allocations: 0 / 0.5842 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0143/2.751, allocations: 2.164 MB / 0.5863 GB, free: 9.52 MB / 0.4948 GB 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.023/2.774, allocations: 2.879 MB / 0.5891 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001642/2.774, allocations: 63.41 kB / 0.5891 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/2.774, allocations: 3.938 kB / 0.5891 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.057e-05/2.774, allocations: 59.34 kB / 0.5892 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/2.774, allocations: 4 kB / 0.5892 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005072/2.779, allocations: 162.4 kB / 0.5894 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/2.78, allocations: 0.6811 MB / 0.59 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.568e-05/2.78, allocations: 0 / 0.59 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/2.78, allocations: 11.44 kB / 0.59 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of SimCode: time 1.342e-06/2.78, allocations: 0 / 0.59 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7653/3.545, allocations: 124.7 MB / 0.7118 GB, free: 84.24 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/3.545, allocations: 194 kB / 0.712 GB, free: 84.01 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.99/28.53, allocations: 0 / 0.712 GB, free: 84.01 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_res.mat does not exist to compare? outputFormat=mat