Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestRandomRealSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.151/2.151, allocations: 237.8 MB / 250.4 MB, free: 8.621 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.122e-05, allocations: 0 / 306.7 MB, free: 10.86 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 53.27 MB / 360 MB, free: 5.504 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.423/0.5349, allocations: 81.37 MB / 441.3 MB, free: 9.254 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.5352, allocations: 76.52 kB / 441.4 MB, free: 9.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007054/0.5422, allocations: 1.669 MB / 443.1 MB, free: 7.535 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.108e-06/0.5423, allocations: 3.984 kB / 443.1 MB, free: 7.531 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.5423, allocations: 4 kB / 443.1 MB, free: 7.527 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004255/0.5428, allocations: 411.9 kB / 443.5 MB, free: 7.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.5428, allocations: 12.03 kB / 443.5 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.665e-05/0.5429, allocations: 30.56 kB / 443.5 MB, free: 7.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.5429, allocations: 11.91 kB / 443.5 MB, free: 7.008 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.5432, allocations: 191 kB / 443.7 MB, free: 6.781 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.5433, allocations: 11.98 kB / 443.7 MB, free: 6.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.5433, allocations: 8 kB / 443.7 MB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/0.5437, allocations: 156.8 kB / 443.9 MB, free: 6.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5438, allocations: 0 / 443.9 MB, free: 6.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.5438, allocations: 4 kB / 443.9 MB, free: 6.586 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.5438, allocations: 8 kB / 443.9 MB, free: 6.578 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.733e-05/0.5439, allocations: 27.98 kB / 443.9 MB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.5444, allocations: 285.6 kB / 444.2 MB, free: 6.219 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.5447, allocations: 158.4 kB / 444.4 MB, free: 6.027 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.959e-05/0.5448, allocations: 38.52 kB / 444.4 MB, free: 5.984 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.5449, allocations: 85.14 kB / 444.5 MB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.545, allocations: 38.5 kB / 444.5 MB, free: 5.836 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 2.414e-06/0.545, allocations: 0 / 444.5 MB, free: 5.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003511/0.5453, allocations: 145 kB / 444.7 MB, free: 5.676 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.724e-05/0.5454, allocations: 132.5 kB / 444.8 MB, free: 5.516 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.5456, allocations: 123.5 kB / 444.9 MB, free: 5.391 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.5456, allocations: 25.7 kB / 444.9 MB, free: 5.359 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.5457, allocations: 91.98 kB / 445 MB, free: 5.266 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.5457, allocations: 15.89 kB / 445.1 MB, free: 5.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-06/0.5457, allocations: 3.938 kB / 445.1 MB, free: 5.246 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.5459, allocations: 319.8 kB / 445.4 MB, free: 4.926 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.362e-05/0.5459, allocations: 12 kB / 445.4 MB, free: 4.914 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.976e-05/0.546, allocations: 65.98 kB / 445.4 MB, free: 4.828 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.328e-05/0.5461, allocations: 75.34 kB / 445.5 MB, free: 4.742 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.5462, allocations: 0 / 445.5 MB, free: 4.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002846/0.5465, allocations: 156.9 kB / 445.7 MB, free: 4.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.087e-05/0.5465, allocations: 59.41 kB / 445.7 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.5465, allocations: 0 / 445.7 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.5466, allocations: 4 kB / 445.7 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.118e-05/0.5467, allocations: 15.92 kB / 445.7 MB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.5467, allocations: 4 kB / 445.8 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.515e-05/0.5468, allocations: 8 kB / 445.8 MB, free: 4.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.5468, allocations: 4 kB / 445.8 MB, free: 4.465 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (synchronizeRealtime.initialized) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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.0001261/0.5469, allocations: 168.7 kB / 445.9 MB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.5471, allocations: 73.52 kB / 446 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.524e-05/0.5472, allocations: 12.08 kB / 446 MB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5472, allocations: 3.938 kB / 446 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5472, allocations: 4 kB / 446 MB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5472, allocations: 0 / 446 MB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.5475, allocations: 177.6 kB / 446.2 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.5475, allocations: 4.078 kB / 446.2 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.447e-05/0.5476, allocations: 12 kB / 446.2 MB, free: 3.949 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.5476, allocations: 3.984 kB / 446.2 MB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.5476, allocations: 4 kB / 446.2 MB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.5476, allocations: 4 kB / 446.2 MB, free: 3.938 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.5476, allocations: 0 / 446.2 MB, free: 3.938 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.548, allocations: 269.4 kB / 446.5 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.5481, allocations: 85.02 kB / 446.6 MB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.5481, allocations: 0 / 446.6 MB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.196e-05/0.5482, allocations: 15.94 kB / 446.6 MB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.5483, allocations: 7.922 kB / 446.6 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.5483, allocations: 4 kB / 446.6 MB, free: 3.508 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.133e-05/0.5484, allocations: 91.28 kB / 446.7 MB, free: 3.418 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5484, allocations: 0 / 446.7 MB, free: 3.418 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003681/0.5488, allocations: 27.98 kB / 446.7 MB, free: 3.391 MB / 362.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: 1 (synchronizeRealtime.initialized) * Number of discrete states: 1 (synchronizeRealtime.initialized) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.001212/0.55, allocations: 1.022 MB / 447.7 MB, free: 2.379 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003055/0.5503, allocations: 170.7 kB / 447.9 MB, free: 2.188 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5503, allocations: 4 kB / 447.9 MB, free: 2.184 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.5504, allocations: 119.2 kB / 448 MB, free: 2.043 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.5507, allocations: 36.16 kB / 448.1 MB, free: 2.012 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.5526, allocations: 392.4 kB / 448.4 MB, free: 1.586 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.5529, allocations: 0.6965 MB / 449.1 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.686e-05/0.553, allocations: 11.94 kB / 449.1 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.5531, allocations: 23.44 kB / 449.2 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of SimCode: time 1.353e-06/0.5531, allocations: 0 / 449.2 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.5813, allocations: 2.228 MB / 451.4 MB, free: 14.69 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003805/0.5817, allocations: 238.3 kB / 451.6 MB, free: 14.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/2.744, allocations: 4 kB / 451.6 MB, free: 14.45 MB / 378.7 MB