Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.568/2.568, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.24e-05/3.236e-05, allocations: 4 kB / 299.5 MB, free: 6.355 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3687, allocations: 54.86 MB / 354.3 MB, free: 36 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.537, allocations: 80.92 MB / 435.3 MB, free: 15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.5373, allocations: 63.97 kB / 435.3 MB, free: 14.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763/2.3, allocations: 48.4 MB / 483.7 MB, free: 115.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/2.3, allocations: 0.5625 kB / 483.7 MB, free: 115.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.575e-06/2.3, allocations: 0.5312 kB / 483.7 MB, free: 115.7 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.003013/2.303, allocations: 434.5 kB / 484.2 MB, free: 115.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.479e-05/2.303, allocations: 14.53 kB / 484.2 MB, free: 115.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/2.303, allocations: 8.141 kB / 484.2 MB, free: 115.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.873e-05/2.303, allocations: 163.9 kB / 484.3 MB, free: 115.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/2.303, allocations: 0.5 kB / 484.3 MB, free: 115.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/2.303, allocations: 1.188 kB / 484.3 MB, free: 115.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.743e-05/2.303, allocations: 0.5312 kB / 484.3 MB, free: 115.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.016e-05/2.303, allocations: 32.56 kB / 484.4 MB, free: 115.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/2.303, allocations: 1.562 kB / 484.4 MB, free: 115.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/2.303, allocations: 1.703 kB / 484.4 MB, free: 115.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/2.303, allocations: 4.469 kB / 484.4 MB, free: 115.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.983e-05/2.304, allocations: 124.7 kB / 484.5 MB, free: 114.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.981e-05/2.304, allocations: 22.33 kB / 484.5 MB, free: 114.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/2.304, allocations: 9.656 kB / 484.5 MB, free: 114.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.719e-06/2.304, allocations: 0.625 kB / 484.5 MB, free: 114.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/2.304, allocations: 60.92 kB / 484.6 MB, free: 114.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/2.304, allocations: 0.5625 kB / 484.6 MB, free: 114.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001931/2.304, allocations: 37.77 kB / 484.6 MB, free: 114.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/2.304, allocations: 78.58 kB / 484.7 MB, free: 114.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.414e-05/2.304, allocations: 92.84 kB / 484.8 MB, free: 114.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/2.304, allocations: 25.7 kB / 484.8 MB, free: 114.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.577e-05/2.304, allocations: 80.77 kB / 484.9 MB, free: 114.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/2.304, allocations: 3.953 kB / 484.9 MB, free: 114.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-06/2.304, allocations: 0 / 484.9 MB, free: 114.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.095e-05/2.304, allocations: 316 kB / 485.2 MB, free: 114.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-06/2.304, allocations: 0.5938 kB / 485.2 MB, free: 114.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.345e-06/2.304, allocations: 5.172 kB / 485.2 MB, free: 114.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.938e-05/2.304, allocations: 4.984 kB / 485.2 MB, free: 114.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/2.304, allocations: 1.531 kB / 485.2 MB, free: 114.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.44e-05/2.304, allocations: 33.8 kB / 485.3 MB, free: 114.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/2.304, allocations: 35.08 kB / 485.3 MB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/2.304, allocations: 0.7031 kB / 485.3 MB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/2.304, allocations: 0.5625 kB / 485.3 MB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-06/2.304, allocations: 0.5625 kB / 485.3 MB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/2.304, allocations: 4.828 kB / 485.3 MB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/2.305, allocations: 4.156 kB / 485.3 MB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/2.305, allocations: 1.219 kB / 485.3 MB, free: 114.1 MB / 410.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 7.041e-05/2.305, allocations: 136.1 kB / 485.4 MB, free: 114 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.392e-05/2.305, allocations: 36.92 kB / 485.5 MB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/2.305, allocations: 1.094 kB / 485.5 MB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.647e-05/2.305, allocations: 10.77 kB / 485.5 MB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/2.305, allocations: 4.641 kB / 485.5 MB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/2.305, allocations: 0.5312 kB / 485.5 MB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/2.305, allocations: 0.5 kB / 485.5 MB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.223e-05/2.305, allocations: 129.1 kB / 485.6 MB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/2.305, allocations: 3.156 kB / 485.6 MB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.613e-06/2.305, allocations: 1.125 kB / 485.6 MB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/2.305, allocations: 0.6562 kB / 485.6 MB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/2.305, allocations: 2.641 kB / 485.6 MB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/2.305, allocations: 1.234 kB / 485.6 MB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/2.305, allocations: 6.625 kB / 485.6 MB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/2.305, allocations: 63.78 kB / 485.7 MB, free: 113.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/2.305, allocations: 78.39 kB / 485.8 MB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/2.305, allocations: 1.031 kB / 485.8 MB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.306e-05/2.305, allocations: 1.766 kB / 485.8 MB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/2.305, allocations: 3.938 kB / 485.8 MB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/2.305, allocations: 1.766 kB / 485.8 MB, free: 113.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.632e-05/2.305, allocations: 77.97 kB / 485.9 MB, free: 113.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.8e-07/2.305, allocations: 0.5312 kB / 485.9 MB, free: 113.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007693/2.313, allocations: 1.31 MB / 487.2 MB, free: 113.5 MB / 410.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.01132/2.324, allocations: 1.718 MB / 488.9 MB, free: 112.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001352/2.324, allocations: 65.03 kB / 488.9 MB, free: 112.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/2.325, allocations: 0 / 488.9 MB, free: 112.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.577e-05/2.325, allocations: 54.31 kB / 489 MB, free: 112.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/2.325, allocations: 1.969 kB / 489 MB, free: 112.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/2.327, allocations: 157.8 kB / 489.2 MB, free: 112.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/2.328, allocations: 0.6747 MB / 489.8 MB, free: 111.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.245e-06/2.328, allocations: 0 / 489.8 MB, free: 111.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.661e-05/2.328, allocations: 10.34 kB / 489.8 MB, free: 111.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/2.328, allocations: 0 / 489.8 MB, free: 111.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2134/2.541, allocations: 69.18 MB / 0.5459 GB, free: 48.33 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/2.541, allocations: 159.1 kB / 0.5461 GB, free: 48.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.491/12.03, allocations: 3.938 kB / 0.5461 GB, free: 48.13 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial_res.mat does not exist to compare? outputFormat=mat