Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomIntegers,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_Random_TestRandomIntegers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.607/2.607, allocations: 270 MB / 283.6 MB, free: 1.895 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.523e-05/3.525e-05, allocations: 0 / 348.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3959, allocations: 61.88 MB / 410.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1656/0.5616, allocations: 85.83 MB / 496.2 MB, free: 4.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.5619, allocations: 59.97 kB / 496.3 MB, free: 4.621 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01695/0.5789, allocations: 3.323 MB / 499.6 MB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5789, allocations: 0 / 499.6 MB, free: 1.293 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.5789, allocations: 0 / 499.6 MB, free: 1.293 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.0005438/0.5795, allocations: 392 kB / 500 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.904e-05/0.5796, allocations: 8.031 kB / 500 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.089e-05/0.5796, allocations: 34.56 kB / 0.4883 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.19e-05/0.5797, allocations: 4 kB / 0.4883 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.58, allocations: 190.9 kB / 0.4885 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.5801, allocations: 8 kB / 0.4885 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.5801, allocations: 11.95 kB / 0.4885 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.5804, allocations: 85.62 kB / 0.4886 GB, free: 480 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.5804, allocations: 0 / 0.4886 GB, free: 480 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.5804, allocations: 8 kB / 0.4886 GB, free: 472 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.5805, allocations: 3.938 kB / 0.4886 GB, free: 468 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.964e-05/0.5806, allocations: 19.98 kB / 0.4886 GB, free: 448 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.5808, allocations: 165.6 kB / 0.4888 GB, free: 232 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.581, allocations: 54.5 kB / 0.4888 GB, free: 168 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.941e-05/0.5811, allocations: 24.86 kB / 0.4888 GB, free: 140 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.5811, allocations: 4.188 kB / 0.4888 GB, free: 136 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003648/0.5815, allocations: 131.3 kB / 0.489 GB, free: 15.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 3.166e-06/0.5815, allocations: 4 kB / 0.489 GB, free: 15.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003715/0.5819, allocations: 113.4 kB / 0.4891 GB, free: 15.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.582, allocations: 51.41 kB / 0.4891 GB, free: 15.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.135e-05/0.5821, allocations: 92.98 kB / 0.4892 GB, free: 15.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.5821, allocations: 33.7 kB / 0.4892 GB, free: 15.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.5822, allocations: 81.33 kB / 0.4893 GB, free: 15.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.5822, allocations: 23.7 kB / 0.4893 GB, free: 15.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.5822, allocations: 4 kB / 0.4894 GB, free: 15.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.5824, allocations: 314.8 kB / 0.4897 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.49e-05/0.5825, allocations: 31.92 kB / 0.4897 GB, free: 15.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.5826, allocations: 72.55 kB / 0.4898 GB, free: 15.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.5827, allocations: 61.69 kB / 0.4898 GB, free: 15.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5828, allocations: 3.938 kB / 0.4898 GB, free: 15.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003462/0.5831, allocations: 147.2 kB / 0.49 GB, free: 14.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/0.5832, allocations: 37.64 kB / 0.49 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.5832, allocations: 4.219 kB / 0.49 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.5832, allocations: 4 kB / 0.49 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.5834, allocations: 19.94 kB / 0.49 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.5834, allocations: 3.984 kB / 0.49 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.5836, allocations: 11.91 kB / 0.49 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.5836, allocations: 8 kB / 0.49 GB, free: 14.8 MB / 426.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.0002149/0.5838, allocations: 116.9 kB / 0.4902 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.5839, allocations: 11.91 kB / 0.4902 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.262e-05/0.584, allocations: 16.03 kB / 0.4902 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.584, allocations: 4 kB / 0.4902 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.584, allocations: 0 / 0.4902 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.584, allocations: 0 / 0.4902 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.5842, allocations: 173.6 kB / 0.4903 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5843, allocations: 4 kB / 0.4904 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.619e-05/0.5843, allocations: 4.062 kB / 0.4904 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.5844, allocations: 4 kB / 0.4904 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.5844, allocations: 7.922 kB / 0.4904 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.5844, allocations: 3.953 kB / 0.4904 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.5844, allocations: 0 / 0.4904 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.5848, allocations: 137.1 kB / 0.4905 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.5848, allocations: 85.02 kB / 0.4906 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.5849, allocations: 8 kB / 0.4906 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.5852, allocations: 19.97 kB / 0.4906 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.5852, allocations: 11.95 kB / 0.4906 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.5853, allocations: 11.98 kB / 0.4906 GB, free: 14.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.927e-05/0.5853, allocations: 79.28 kB / 0.4907 GB, free: 14.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5853, allocations: 0 / 0.4907 GB, free: 14.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004722/0.5858, allocations: 59.92 kB / 0.4908 GB, free: 13.95 MB / 426.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.001185/0.587, allocations: 0.7692 MB / 0.4915 GB, free: 13.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.5874, allocations: 123.6 kB / 0.4916 GB, free: 13.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5874, allocations: 0 / 0.4916 GB, free: 13.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.688e-05/0.5875, allocations: 35.92 kB / 0.4917 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.5878, allocations: 8.328 kB / 0.4917 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.5894, allocations: 158.5 kB / 0.4918 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.5899, allocations: 0.6926 MB / 0.4925 GB, free: 12.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.558e-05/0.59, allocations: 20.72 kB / 0.4925 GB, free: 12.08 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.497e-05/0.59, allocations: 15.44 kB / 0.4925 GB, free: 12.06 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.59, allocations: 3.938 kB / 0.4925 GB, free: 12.06 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.6139, allocations: 2.872 MB / 0.4953 GB, free: 9.258 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002716/0.6142, allocations: 202.8 kB / 0.4955 GB, free: 9.027 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.579/3.193, allocations: 0 / 0.4955 GB, free: 9.027 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomIntegers_res.mat does not exist to compare? outputFormat=mat