Running command: "" <> buildModelFMU(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Math_Random_Examples_GenerateRandomNumbers",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.351/2.351, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.128e-05/3.127e-05, allocations: 3.281 kB / 249.8 MB, free: 5.23 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4897/0.5992, allocations: 70.46 MB / 364.8 MB, free: 7.215 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.5996, allocations: 63.94 kB / 364.8 MB, free: 7.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01587/0.6155, allocations: 2.973 MB / 367.8 MB, free: 22.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6155, allocations: 0 / 367.8 MB, free: 22.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.6155, allocations: 0 / 367.8 MB, free: 22.76 MB / 314.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.0009055/0.6165, allocations: 0.555 MB / 368.3 MB, free: 22.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.533e-05/0.6166, allocations: 11.16 kB / 368.4 MB, free: 22.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003711/0.617, allocations: 22.14 kB / 368.4 MB, free: 22.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.6172, allocations: 177.5 kB / 368.5 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.6173, allocations: 7.75 kB / 368.6 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.6173, allocations: 1.375 kB / 368.6 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004312/0.6178, allocations: 138 kB / 368.7 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000799/0.6186, allocations: 278.7 kB / 369 MB, free: 22.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.6187, allocations: 0 / 369 MB, free: 22.01 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.6187, allocations: 3 kB / 369 MB, free: 22.01 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.6188, allocations: 0 / 369 MB, free: 22.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.6191, allocations: 182.8 kB / 369.1 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007703/0.6199, allocations: 489.4 kB / 369.6 MB, free: 21.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007226/0.6207, allocations: 475.7 kB / 370.1 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.6207, allocations: 3.938 kB / 370.1 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009353/0.6217, allocations: 476.1 kB / 370.6 MB, free: 21.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 5.481e-06/0.6217, allocations: 0 / 370.6 MB, free: 21.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.001594/0.6234, allocations: 403.3 kB / 371 MB, free: 21.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.6235, allocations: 156.7 kB / 371.1 MB, free: 21.35 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.6237, allocations: 98.16 kB / 371.2 MB, free: 21.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.6237, allocations: 25.7 kB / 371.2 MB, free: 21.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.6238, allocations: 87.42 kB / 371.3 MB, free: 21.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.624, allocations: 81.59 kB / 371.4 MB, free: 21.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/0.624, allocations: 7.969 kB / 371.4 MB, free: 21.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.6242, allocations: 326.8 kB / 371.7 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.6244, allocations: 76.45 kB / 371.8 MB, free: 20.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.6247, allocations: 105.9 kB / 371.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004406/0.6251, allocations: 106.2 kB / 372 MB, free: 20.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.6252, allocations: 0 / 372 MB, free: 20.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008883/0.6261, allocations: 249.2 kB / 372.2 MB, free: 20.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002476/0.6264, allocations: 113.2 kB / 372.4 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.6264, allocations: 4.094 kB / 372.4 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.6264, allocations: 5.359 kB / 372.4 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.815e-06/0.6265, allocations: 0 / 372.4 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.6265, allocations: 1.344 kB / 372.4 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.6267, allocations: 22.19 kB / 372.4 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.847e-05/0.6268, allocations: 7.812 kB / 372.4 MB, free: 20.62 MB / 314.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,r64,r128,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 (2): * Single equations (assignments): 0 * 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.0006325/0.6275, allocations: 274.2 kB / 372.7 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002076/0.6296, allocations: 0.5387 MB / 373.2 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.6298, allocations: 26.81 kB / 373.2 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.038e-05/0.6298, allocations: 8.875 kB / 373.2 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.6298, allocations: 0.875 kB / 373.2 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.6299, allocations: 3.906 kB / 373.2 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.6299, allocations: 0 / 373.2 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.6304, allocations: 214.1 kB / 373.4 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.6304, allocations: 0 / 373.4 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-06/0.6305, allocations: 3.953 kB / 373.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.6305, allocations: 0.75 kB / 373.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.6306, allocations: 28.19 kB / 373.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.6306, allocations: 3.938 kB / 373.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.6307, allocations: 0 / 373.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.633, allocations: 0.5962 MB / 374.1 MB, free: 20.08 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.6332, allocations: 95.53 kB / 374.2 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004022/0.6336, allocations: 76.17 kB / 374.2 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.6338, allocations: 7.844 kB / 374.3 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.634, allocations: 10.09 kB / 374.3 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.6341, allocations: 28.28 kB / 374.3 MB, free: 19.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000102/0.6342, allocations: 82.91 kB / 374.4 MB, free: 19.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.6343, allocations: 0 / 374.4 MB, free: 19.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001142/0.6354, allocations: 107.7 kB / 374.5 MB, free: 19.88 MB / 314.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 ($whenCondition2,r64,r128,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: 46 (iImpure,rImpure,$whenCondition1,r1024,r128,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * 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.00493/0.6404, allocations: 1.68 MB / 376.2 MB, free: 19.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003747/0.6442, allocations: 2.083 MB / 378.2 MB, free: 18.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/0.6443, allocations: 0 / 378.2 MB, free: 18.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003665/0.648, allocations: 2.173 MB / 380.4 MB, free: 18.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.6485, allocations: 11.56 kB / 380.4 MB, free: 18.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.6502, allocations: 385.6 kB / 380.8 MB, free: 18.69 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00055/0.6509, allocations: 0.726 MB / 381.5 MB, free: 17.99 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.832e-05/0.6509, allocations: 0 / 381.5 MB, free: 17.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.289e-05/0.6511, allocations: 30.44 kB / 381.6 MB, free: 17.99 MB / 314.7 MB Notification: Performance of SimCode: time 2.154e-06/0.6511, allocations: 0 / 381.6 MB, free: 17.99 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06109/0.7122, allocations: 4.624 MB / 386.2 MB, free: 16.93 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002932/0.7125, allocations: 193.3 kB / 386.4 MB, free: 16.72 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.099/3.811, allocations: 0 / 386.4 MB, free: 16.72 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat does not exist to compare? outputFormat=mat