Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_Random_TestDistributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.591/2.591, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.244e-05/5.255e-05, allocations: 7.234 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1514, allocations: 61.9 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5231/0.6746, allocations: 87.98 MB / 498.4 MB, free: 28 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.6749, allocations: 68.86 kB / 498.4 MB, free: 15.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044/2.719, allocations: 97.17 MB / 0.5816 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.344e-06/2.719, allocations: 0 / 0.5816 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.396e-06/2.719, allocations: 0 / 0.5816 GB, free: 14.67 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.005706/2.725, allocations: 436 kB / 0.5821 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/2.725, allocations: 8.031 kB / 0.5821 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.43e-05/2.725, allocations: 38.47 kB / 0.5821 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/2.725, allocations: 0 / 0.5821 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.783e-05/2.725, allocations: 167 kB / 0.5823 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/2.725, allocations: 4 kB / 0.5823 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/2.725, allocations: 0 / 0.5823 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/2.725, allocations: 33.69 kB / 0.5823 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/2.725, allocations: 0 / 0.5823 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/2.725, allocations: 0 / 0.5823 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/2.725, allocations: 0 / 0.5823 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.885e-05/2.725, allocations: 8 kB / 0.5823 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/2.725, allocations: 228.9 kB / 0.5825 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.184e-05/2.726, allocations: 34.53 kB / 0.5825 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/2.726, allocations: 8.922 kB / 0.5826 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/2.726, allocations: 0 / 0.5826 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.695e-05/2.726, allocations: 56.27 kB / 0.5826 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.923e-06/2.726, allocations: 4 kB / 0.5826 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0002237/2.726, allocations: 67.41 kB / 0.5827 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/2.726, allocations: 81.09 kB / 0.5828 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.875e-05/2.726, allocations: 85 kB / 0.5828 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/2.726, allocations: 25.7 kB / 0.5829 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/2.726, allocations: 84.08 kB / 0.5829 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/2.726, allocations: 3.984 kB / 0.5829 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/2.726, allocations: 0 / 0.5829 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001355/2.726, allocations: 330.8 kB / 0.5833 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/2.726, allocations: 0 / 0.5833 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.482e-05/2.726, allocations: 4 kB / 0.5833 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.946e-05/2.726, allocations: 29.64 kB / 0.5833 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/2.726, allocations: 0 / 0.5833 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001119/2.727, allocations: 71.3 kB / 0.5834 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.92e-05/2.727, allocations: 33.7 kB / 0.5834 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/2.727, allocations: 0 / 0.5834 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/2.727, allocations: 0 / 0.5834 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.038e-05/2.727, allocations: 4.094 kB / 0.5834 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/2.727, allocations: 7.984 kB / 0.5834 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.341e-05/2.727, allocations: 0 / 0.5834 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/2.727, 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.0001063/2.727, allocations: 137.2 kB / 0.5835 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/2.727, allocations: 4 kB / 0.5835 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.466e-05/2.727, allocations: 7.078 kB / 0.5835 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/2.727, allocations: 0 / 0.5835 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/2.727, allocations: 0 / 0.5835 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/2.727, allocations: 0 / 0.5835 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003493/2.727, allocations: 304.2 kB / 0.5838 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/2.727, allocations: 0 / 0.5838 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.838e-06/2.727, allocations: 4 kB / 0.5838 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/2.727, allocations: 0 / 0.5838 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/2.727, allocations: 0 / 0.5838 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/2.727, allocations: 3.984 kB / 0.5838 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.571e-05/2.727, allocations: 4 kB / 0.5838 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/2.728, allocations: 169.2 kB / 0.584 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/2.728, allocations: 85.09 kB / 0.5841 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/2.728, allocations: 0 / 0.5841 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.481e-05/2.728, allocations: 4 kB / 0.5841 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/2.728, allocations: 0 / 0.5841 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/2.728, allocations: 0 / 0.5841 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.442e-05/2.728, allocations: 75.28 kB / 0.5842 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.11e-07/2.728, allocations: 3.938 kB / 0.5842 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01376/2.742, allocations: 2.16 MB / 0.5863 GB, free: 9.527 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.02141/2.763, allocations: 2.876 MB / 0.5891 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001639/2.763, allocations: 67.39 kB / 0.5892 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/2.763, allocations: 0 / 0.5892 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.754e-05/2.763, allocations: 59.41 kB / 0.5892 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/2.764, allocations: 0 / 0.5892 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004729/2.768, allocations: 174.3 kB / 0.5894 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/2.769, allocations: 0.6731 MB / 0.59 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.939e-05/2.769, allocations: 8.125 kB / 0.59 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/2.769, allocations: 7.438 kB / 0.59 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of SimCode: time 1.563e-06/2.769, allocations: 0 / 0.59 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6846/3.453, allocations: 124.7 MB / 0.7118 GB, free: 84.53 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/3.454, allocations: 198 kB / 0.712 GB, free: 84.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.74/27.2, allocations: 0 / 0.712 GB, free: 84.3 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_res.mat does not exist to compare? outputFormat=mat