Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Math_Random_TestSpecial",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.581/2.581, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.765e-05/2.778e-05, allocations: 4 kB / 299.6 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4054, allocations: 54.87 MB / 354.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1585/0.564, allocations: 80.92 MB / 435.4 MB, free: 1.359 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.5643, allocations: 67.97 kB / 435.4 MB, free: 1.293 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.712/2.277, allocations: 48.41 MB / 483.8 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.414e-06/2.277, allocations: 0 / 483.8 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/2.277, allocations: 0 / 483.8 MB, free: 0.8281 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.003856/2.281, allocations: 428 kB / 484.3 MB, free: 368 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/2.281, allocations: 16.03 kB / 484.3 MB, free: 352 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.038e-05/2.281, allocations: 7.938 kB / 484.3 MB, free: 344 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/2.281, allocations: 159.1 kB / 484.4 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/2.281, allocations: 0 / 484.4 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/2.281, allocations: 0 / 484.4 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.246e-05/2.281, allocations: 7.938 kB / 484.4 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.318e-05/2.281, allocations: 29.7 kB / 484.5 MB, free: 100 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/2.281, allocations: 0 / 484.5 MB, free: 100 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/2.281, allocations: 3.938 kB / 484.5 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/2.281, allocations: 3.953 kB / 484.5 MB, free: 92 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/2.281, allocations: 134.2 kB / 484.6 MB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.154e-05/2.281, allocations: 15.11 kB / 484.6 MB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/2.281, allocations: 4.859 kB / 484.6 MB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/2.281, allocations: 0 / 484.6 MB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.619e-05/2.282, allocations: 68.3 kB / 484.7 MB, free: 15.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 2.244e-06/2.282, allocations: 0 / 484.7 MB, free: 15.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002252/2.282, allocations: 33.73 kB / 484.7 MB, free: 15.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/2.282, allocations: 81.11 kB / 484.8 MB, free: 15.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.353e-05/2.282, allocations: 88.98 kB / 484.9 MB, free: 15.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/2.282, allocations: 29.7 kB / 484.9 MB, free: 15.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/2.282, allocations: 80.14 kB / 485 MB, free: 15.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/2.282, allocations: 0 / 485 MB, free: 15.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-06/2.282, allocations: 0 / 485 MB, free: 15.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/2.282, allocations: 318.7 kB / 485.3 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.168e-05/2.282, allocations: 0 / 485.3 MB, free: 15.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.133e-05/2.282, allocations: 8 kB / 485.3 MB, free: 15.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.732e-05/2.282, allocations: 0 / 485.3 MB, free: 15.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/2.282, allocations: 0 / 485.3 MB, free: 15.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001402/2.283, allocations: 41.64 kB / 485.4 MB, free: 15.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.203e-05/2.283, allocations: 33.69 kB / 485.4 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/2.283, allocations: 0 / 485.4 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/2.283, allocations: 0 / 485.4 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.184e-06/2.283, allocations: 0 / 485.4 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/2.283, allocations: 0 / 485.4 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.199e-05/2.283, allocations: 4.094 kB / 485.4 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/2.283, allocations: 4 kB / 485.4 MB, free: 15.04 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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.000134/2.283, allocations: 130.6 kB / 485.5 MB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000131/2.283, allocations: 41.69 kB / 485.6 MB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/2.283, allocations: 0 / 485.6 MB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.532e-05/2.283, allocations: 7.703 kB / 485.6 MB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/2.283, allocations: 0 / 485.6 MB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/2.283, allocations: 0 / 485.6 MB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/2.283, allocations: 3.984 kB / 485.6 MB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/2.283, allocations: 130.2 kB / 485.7 MB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/2.283, allocations: 4 kB / 485.7 MB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-06/2.283, allocations: 3.984 kB / 485.7 MB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/2.283, allocations: 0 / 485.7 MB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/2.283, allocations: 7.938 kB / 485.7 MB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/2.284, allocations: 0 / 485.7 MB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/2.284, allocations: 0 / 485.7 MB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/2.284, allocations: 65.03 kB / 485.8 MB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/2.284, allocations: 85.12 kB / 485.9 MB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/2.284, allocations: 0 / 485.9 MB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.977e-05/2.284, allocations: 0 / 485.9 MB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/2.284, allocations: 4 kB / 485.9 MB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/2.284, allocations: 4 kB / 485.9 MB, free: 14.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.684e-05/2.284, allocations: 79.28 kB / 486 MB, free: 14.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.31e-07/2.284, allocations: 0 / 486 MB, free: 14.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01138/2.295, allocations: 1.316 MB / 487.3 MB, free: 13.08 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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.01729/2.313, allocations: 1.703 MB / 489 MB, free: 11.35 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000167/2.313, allocations: 63.41 kB / 489 MB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/2.313, allocations: 0 / 489 MB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.755e-05/2.313, allocations: 55.34 kB / 489.1 MB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/2.313, allocations: 8 kB / 489.1 MB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/2.317, allocations: 163.5 kB / 489.3 MB, free: 11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/2.317, allocations: 0.673 MB / 489.9 MB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.656e-06/2.317, allocations: 0 / 489.9 MB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/2.317, allocations: 11.44 kB / 489.9 MB, free: 10.29 MB / 426.7 MB Notification: Performance of SimCode: time 1.163e-06/2.317, allocations: 0 / 489.9 MB, free: 10.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5389/2.856, allocations: 69.17 MB / 0.546 GB, free: 76.84 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002111/2.856, allocations: 170.6 kB / 0.5462 GB, free: 76.65 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.886/11.74, allocations: 0 / 0.5462 GB, free: 76.65 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Math.Random.TestSpecial_res.mat does not exist to compare? outputFormat=mat