Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomIntegers,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomIntegers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.526/2.526, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.83e-05/3.834e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.169, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5088/0.6779, allocations: 85.82 MB / 496.2 MB, free: 2.129 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.6782, allocations: 59.97 kB / 496.2 MB, free: 2.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01624/0.6945, allocations: 3.33 MB / 499.6 MB, free: 14.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6945, allocations: 0 / 499.6 MB, free: 14.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.6946, allocations: 0 / 499.6 MB, free: 14.75 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005011/0.6951, allocations: 396 kB / 500 MB, free: 14.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.6951, allocations: 8.031 kB / 500 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.374e-05/0.6952, allocations: 42.5 kB / 0.4883 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.6953, allocations: 4 kB / 0.4883 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.6955, allocations: 182.9 kB / 0.4885 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.6956, allocations: 4 kB / 0.4885 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.6956, allocations: 11.95 kB / 0.4885 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.6959, allocations: 85.64 kB / 0.4886 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.6959, allocations: 0 / 0.4886 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.6959, allocations: 0 / 0.4886 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.6959, allocations: 4 kB / 0.4886 GB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.386e-05/0.696, allocations: 23.97 kB / 0.4886 GB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.6963, allocations: 173.6 kB / 0.4888 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.6964, allocations: 50.56 kB / 0.4888 GB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.752e-05/0.6965, allocations: 24.86 kB / 0.4888 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.6966, allocations: 3.953 kB / 0.4888 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003277/0.6969, allocations: 131.2 kB / 0.489 GB, free: 13.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.074e-06/0.6969, allocations: 4 kB / 0.489 GB, free: 13.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.000336/0.6973, allocations: 97.58 kB / 0.4891 GB, free: 13.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.6973, allocations: 63.33 kB / 0.4891 GB, free: 13.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.15e-05/0.6974, allocations: 93 kB / 0.4892 GB, free: 13.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.6975, allocations: 33.64 kB / 0.4892 GB, free: 13.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.6975, allocations: 80.33 kB / 0.4893 GB, free: 13.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.6976, allocations: 31.92 kB / 0.4893 GB, free: 13.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/0.6976, allocations: 0 / 0.4893 GB, free: 13.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.6977, allocations: 323.8 kB / 0.4897 GB, free: 12.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-05/0.6978, allocations: 19.98 kB / 0.4897 GB, free: 12.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.698, allocations: 71.56 kB / 0.4897 GB, free: 12.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.6981, allocations: 61.69 kB / 0.4898 GB, free: 12.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.6981, allocations: 0 / 0.4898 GB, free: 12.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003236/0.6984, allocations: 151.2 kB / 0.4899 GB, free: 12.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/0.6985, allocations: 41.66 kB / 0.49 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.6985, allocations: 224 / 0.49 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.6986, allocations: 8 kB / 0.49 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.6987, allocations: 15.98 kB / 0.49 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.6987, allocations: 4 kB / 0.49 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.362e-05/0.6988, allocations: 11.84 kB / 0.49 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.6989, allocations: 11.94 kB / 0.49 GB, free: 12.25 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: y:DISCRETE(fixed = false ) type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (id,$PRE.cnt[3],cnt[3],$PRE.cnt[2],cnt[2],$PRE.cnt[1],cnt[1],$PRE.y,y,$whenCondition2,$whenCondition1,$PRE.samples,samples) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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.0001556/0.699, allocations: 116.9 kB / 0.4901 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.6991, allocations: 11.89 kB / 0.4902 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.6991, allocations: 16.05 kB / 0.4902 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.6992, allocations: 4.188 kB / 0.4902 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.6992, allocations: 4.062 kB / 0.4902 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6992, allocations: 3.984 kB / 0.4902 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.6994, allocations: 165.6 kB / 0.4903 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.6994, allocations: 0 / 0.4903 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.6995, allocations: 4 kB / 0.4903 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.6995, allocations: 7.938 kB / 0.4904 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.6995, allocations: 7.984 kB / 0.4904 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.6995, allocations: 4.047 kB / 0.4904 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6995, allocations: 3.938 kB / 0.4904 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.6998, allocations: 129.1 kB / 0.4905 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.6999, allocations: 88.95 kB / 0.4906 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.6999, allocations: 3.984 kB / 0.4906 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/0.7002, allocations: 23.98 kB / 0.4906 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.7003, allocations: 15.94 kB / 0.4906 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.7003, allocations: 4 kB / 0.4906 GB, free: 11.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.27e-05/0.7004, allocations: 75.28 kB / 0.4907 GB, free: 11.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7004, allocations: 4 kB / 0.4907 GB, free: 11.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004495/0.7008, allocations: 59.92 kB / 0.4908 GB, free: 11.41 MB / 410.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: 7 ($whenCondition2,$whenCondition1,y,cnt[1],cnt[2],cnt[3],samples) * Number of discrete states: 4 (cnt[1],cnt[2],cnt[3],samples) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.7019, allocations: 0.7678 MB / 0.4915 GB, free: 10.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.7022, allocations: 127.4 kB / 0.4916 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.7022, allocations: 4 kB / 0.4916 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.083e-05/0.7023, allocations: 28.17 kB / 0.4917 GB, free: 10.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.7025, allocations: 12.08 kB / 0.4917 GB, free: 10.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006701/0.7032, allocations: 170.2 kB / 0.4918 GB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.7035, allocations: 0.6848 MB / 0.4925 GB, free: 9.547 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.887e-05/0.7036, allocations: 20.97 kB / 0.4925 GB, free: 9.523 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.7036, allocations: 15.42 kB / 0.4925 GB, free: 9.508 MB / 410.7 MB Notification: Performance of SimCode: time 9.51e-07/0.7036, allocations: 0 / 0.4925 GB, free: 9.508 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.7262, allocations: 2.873 MB / 0.4953 GB, free: 6.703 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002654/0.7265, allocations: 199.3 kB / 0.4955 GB, free: 6.473 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.724/3.451, allocations: 0 / 0.4955 GB, free: 6.473 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomIntegers_res.mat does not exist to compare? outputFormat=mat