Running command: "" <> buildModelFMU(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_trunk_Modelica_Math_Random_Examples_GenerateRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.149/2.149, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.138e-05/5.128e-05, allocations: 6.031 kB / 292.7 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1594, allocations: 50.41 MB / 343.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.465/0.6245, allocations: 76.55 MB / 419.7 MB, free: 1.293 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.6248, allocations: 62.91 kB / 419.8 MB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01298/0.6378, allocations: 2.975 MB / 422.7 MB, free: 14.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6378, allocations: 0 / 422.7 MB, free: 14.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.6379, allocations: 0 / 422.7 MB, free: 14.68 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006591/0.6385, allocations: 0.5528 MB / 423.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.6386, allocations: 12.03 kB / 423.3 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/0.6387, allocations: 65.69 kB / 423.4 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.6389, allocations: 24.69 kB / 423.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.6391, allocations: 182.9 kB / 423.6 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.6391, allocations: 7.75 kB / 423.6 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.6391, allocations: 4 kB / 423.6 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005146/0.6397, allocations: 277.5 kB / 423.9 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.6397, allocations: 0 / 423.9 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.6397, allocations: 4 kB / 423.9 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.6397, allocations: 7.891 kB / 423.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.64, allocations: 145.8 kB / 424 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.6405, allocations: 395.9 kB / 424.4 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005417/0.641, allocations: 0.4976 MB / 424.9 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004895/0.6415, allocations: 478 kB / 425.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.6416, allocations: 4 kB / 425.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006421/0.6422, allocations: 490.2 kB / 425.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 2.034e-06/0.6423, allocations: 0 / 425.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.0009625/0.6432, allocations: 0.5207 MB / 426.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.6434, allocations: 167.9 kB / 426.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.325e-05/0.6435, allocations: 92.56 kB / 426.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.6435, allocations: 33.73 kB / 426.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.6436, allocations: 84.3 kB / 426.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.6437, allocations: 96.98 kB / 426.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/0.6437, allocations: 4 kB / 426.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6439, allocations: 325.3 kB / 427.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.644, allocations: 89.59 kB / 427.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.6442, allocations: 107.6 kB / 427.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.6445, allocations: 216 kB / 427.6 MB, free: 10.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6445, allocations: 0 / 427.6 MB, free: 10.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005449/0.6451, allocations: 360.7 kB / 427.9 MB, free: 10.26 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.6452, allocations: 109.6 kB / 428 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.6452, allocations: 0 / 428 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.6452, allocations: 3.953 kB / 428 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.047e-05/0.6453, allocations: 11.94 kB / 428 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.6454, allocations: 0 / 428 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.6455, allocations: 31.12 kB / 428.1 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.6455, allocations: 8 kB / 428.1 MB, free: 10.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,$outputAlias_r64,$outputAlias_r128,$outputAlias_r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * 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.000404/0.6459, allocations: 274.9 kB / 428.3 MB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-05/0.646, allocations: 24.09 kB / 428.4 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/0.6461, allocations: 13.27 kB / 428.4 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.6461, allocations: 15.94 kB / 428.4 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.6461, allocations: 0 / 428.4 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6461, allocations: 3.938 kB / 428.4 MB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.6482, allocations: 1.437 MB / 429.8 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.6482, allocations: 0 / 429.8 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.6483, allocations: 4 kB / 429.8 MB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.6483, allocations: 4 kB / 429.8 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.598e-05/0.6483, allocations: 27.31 kB / 429.9 MB, free: 8.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.6484, allocations: 0 / 429.9 MB, free: 8.453 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6484, allocations: 4 kB / 429.9 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.6504, allocations: 1.313 MB / 431.2 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.206e-05/0.6505, allocations: 96.81 kB / 431.3 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/0.6507, allocations: 71.91 kB / 431.3 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.6509, allocations: 8.125 kB / 431.3 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.134e-05/0.6509, allocations: 27.47 kB / 431.4 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.769e-05/0.651, allocations: 31.3 kB / 431.4 MB, free: 7.066 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.402e-05/0.6511, allocations: 83.22 kB / 431.5 MB, free: 6.988 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6511, allocations: 0 / 431.5 MB, free: 6.988 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006392/0.6518, allocations: 103.9 kB / 431.6 MB, free: 6.887 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition1,rImpure,iImpure,$whenCondition2,$outputAlias_r64,$outputAlias_r128,$outputAlias_r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33]) * Number of discrete states: 46 ($outputAlias_r1024,$outputAlias_r128,$outputAlias_r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2,iImpure,rImpure,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * 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.003574/0.6553, allocations: 2.416 MB / 434 MB, free: 4.754 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002526/0.6579, allocations: 2.134 MB / 436.1 MB, free: 3.656 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6579, allocations: 0 / 436.1 MB, free: 3.656 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00216/0.6601, allocations: 2.185 MB / 438.3 MB, free: 2.645 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.6604, allocations: 22.03 kB / 438.3 MB, free: 2.629 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.6615, allocations: 395.7 kB / 438.7 MB, free: 2.219 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.6619, allocations: 0.7323 MB / 439.5 MB, free: 1.457 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.938e-05/0.6619, allocations: 0 / 439.5 MB, free: 1.457 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.325e-05/0.662, allocations: 39.36 kB / 439.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.662, allocations: 0 / 439.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.6914, allocations: 5.016 MB / 444.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003162/0.6918, allocations: 203.7 kB / 444.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.72/3.412, allocations: 0 / 444.7 MB, free: 12.25 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat does not exist to compare? outputFormat=mat