Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.515/2.515, allocations: 235.2 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.591e-05/2.583e-05, allocations: 4 kB / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3725, allocations: 54.85 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1549/0.5274, allocations: 79.75 MB / 434.2 MB, free: 15.35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.5277, allocations: 59.97 kB / 434.3 MB, free: 15.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02093/0.5487, allocations: 5.006 MB / 439.3 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5487, allocations: 4 kB / 439.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.5488, allocations: 0 / 439.3 MB, free: 10.27 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006564/0.5494, allocations: 478.9 kB / 439.7 MB, free: 9.762 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.5495, allocations: 8.031 kB / 439.7 MB, free: 9.754 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.368e-05/0.5496, allocations: 27.77 kB / 439.8 MB, free: 9.727 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.5497, allocations: 174.9 kB / 439.9 MB, free: 9.516 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.5497, allocations: 4 kB / 439.9 MB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.5498, allocations: 12 kB / 440 MB, free: 9.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001877/0.55, allocations: 92.41 kB / 440 MB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.5502, allocations: 132.2 kB / 440.2 MB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.5502, allocations: 0 / 440.2 MB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.5502, allocations: 3.984 kB / 440.2 MB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.5503, allocations: 3.953 kB / 440.2 MB, free: 9.266 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.5505, allocations: 162.4 kB / 440.3 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.5507, allocations: 167 kB / 440.5 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.551, allocations: 153.7 kB / 440.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-06/0.551, allocations: 0 / 440.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002669/0.5513, allocations: 158 kB / 440.8 MB, free: 8.582 MB / 378.7 MB Notification: Performance of pre-optimization done (n=54): time 4.659e-06/0.5513, allocations: 0 / 440.8 MB, free: 8.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.001464/0.5527, allocations: 0.5793 MB / 441.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.5529, allocations: 111.8 kB / 441.5 MB, free: 7.871 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.377e-05/0.553, allocations: 108.8 kB / 441.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.5531, allocations: 53.67 kB / 441.7 MB, free: 7.699 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.5531, allocations: 85.45 kB / 441.7 MB, free: 7.613 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.5533, allocations: 134.5 kB / 441.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.5534, allocations: 0 / 441.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.5536, allocations: 346.8 kB / 442.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/0.554, allocations: 158.5 kB / 442.4 MB, free: 6.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007745/0.5548, allocations: 0.5063 MB / 442.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006359/0.5555, allocations: 244.2 kB / 443.1 MB, free: 6.066 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.5555, allocations: 4 kB / 443.1 MB, free: 6.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001661/0.5572, allocations: 0.6219 MB / 443.7 MB, free: 5.434 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.5572, allocations: 12.91 kB / 443.7 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.5572, allocations: 12 kB / 443.8 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.604e-05/0.5573, allocations: 20 kB / 443.8 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/0.558, allocations: 123.7 kB / 443.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.672e-05/0.5581, allocations: 23.92 kB / 443.9 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.5584, allocations: 51.28 kB / 444 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.519e-05/0.5585, allocations: 40 kB / 444 MB, free: 5.156 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 107 ($PRE.state33[33],state33[33],$PRE.state33[32],state33[32],$PRE.state33[31],state33[31],$PRE.state33[30],state33[30],$PRE.state33[29],state33[29],$PRE.state33[28],state33[28],$PRE.state33[27],state33[27],$PRE.state33[26],state33[26],$PRE.state33[25],state33[25],$PRE.state33[24],state33[24],$PRE.state33[23],state33[23],$PRE.state33[22],state33[22],$PRE.state33[21],state33[21],$PRE.state33[20],state33[20],$PRE.state33[19],state33[19],$PRE.state33[18],state33[18],$PRE.state33[17],state33[17],$PRE.state33[16],state33[16],$PRE.state33[15],state33[15],$PRE.state33[14],state33[14],$PRE.state33[13],state33[13],$PRE.state33[12],state33[12],$PRE.state33[11],state33[11],$PRE.state33[10],state33[10],$PRE.state33[9],state33[9],$PRE.state33[8],state33[8],$PRE.state33[7],state33[7],$PRE.state33[6],state33[6],$PRE.state33[5],state33[5],$PRE.state33[4],state33[4],$PRE.state33[3],state33[3],$PRE.state33[2],state33[2],$PRE.state33[1],state33[1],$PRE.state4c[4],state4c[4],$PRE.state4c[3],state4c[3],$PRE.state4c[2],state4c[2],$PRE.state4c[1],state4c[1],$PRE.state4b[4],state4b[4],$PRE.state4b[3],state4b[3],$PRE.state4b[2],state4b[2],$PRE.state4b[1],state4b[1],$PRE.state4a[4],state4a[4],$PRE.state4a[3],state4a[3],$PRE.state4a[2],state4a[2],$PRE.state4a[1],state4a[1],$PRE.state2[2],state2[2],$PRE.state2[1],state2[1],$PRE.r33,r33,$PRE.r4c,r4c,$PRE.r4b,r4b,$PRE.r4a,r4a,$PRE.r2,r2,$PRE.result,result,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * 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.0003092/0.5588, allocations: 208.5 kB / 444.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00139/0.5602, allocations: 0.5715 MB / 444.8 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.5603, allocations: 7.812 kB / 444.8 MB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.5603, allocations: 9.969 kB / 444.8 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.5603, allocations: 3.984 kB / 444.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5603, allocations: 0 / 444.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.5604, allocations: 0 / 444.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.5605, allocations: 158.3 kB / 445 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.5605, allocations: 0 / 445 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.573e-06/0.5606, allocations: 0 / 445 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.5606, allocations: 0 / 445 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.5606, allocations: 7.984 kB / 445 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5606, allocations: 0 / 445 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.5606, allocations: 0 / 445 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.562, allocations: 0.607 MB / 445.6 MB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.5621, allocations: 100.8 kB / 445.7 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.5622, allocations: 8.031 kB / 445.7 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.452e-05/0.5622, allocations: 7.938 kB / 445.7 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.5622, allocations: 0 / 445.7 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.5622, allocations: 0 / 445.7 MB, free: 3.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.111e-05/0.5623, allocations: 79.28 kB / 445.8 MB, free: 3.312 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5623, allocations: 0 / 445.8 MB, free: 3.312 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008358/0.5631, allocations: 91.92 kB / 445.9 MB, free: 3.223 MB / 378.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: 54 ($whenCondition1,result,r2,r4a,r4b,r4c,r33,state2[1],state2[2],state4a[1],state4a[2],state4a[3],state4a[4],state4b[1],state4b[2],state4b[3],state4b[4],state4c[1],state4c[2],state4c[3],state4c[4],state33[1],state33[2],state33[3],state33[4],state33[5],state33[6],state33[7],state33[8],state33[9],state33[10],state33[11],state33[12],state33[13],state33[14],state33[15],state33[16],state33[17],state33[18],state33[19],state33[20],state33[21],state33[22],state33[23],state33[24],state33[25],state33[26],state33[27],state33[28],state33[29],state33[30],state33[31],state33[32],state33[33]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002894/0.566, allocations: 1.508 MB / 447.4 MB, free: 1.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.5671, allocations: 425.3 kB / 447.8 MB, free: 1.312 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5672, allocations: 4.438 kB / 447.8 MB, free: 1.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.5674, allocations: 156.4 kB / 447.9 MB, free: 1.156 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.5676, allocations: 8.062 kB / 447.9 MB, free: 1.148 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.5689, allocations: 483.8 kB / 448.4 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.5694, allocations: 0.7377 MB / 449.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.5695, allocations: 43.36 kB / 449.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.5697, allocations: 51.42 kB / 449.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5697, allocations: 0 / 449.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05118/0.6209, allocations: 4.693 MB / 453.9 MB, free: 11.08 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003166/0.6213, allocations: 179 kB / 454.1 MB, free: 10.88 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.802/3.423, allocations: 4 kB / 454.1 MB, free: 10.88 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Math.Random.TestRandomNumbers_res.mat does not exist to compare? outputFormat=mat