Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.223/2.223, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.881e-05/3.896e-05, allocations: 4 kB / 284.4 MB, free: 8.109 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1129, allocations: 50.37 MB / 334.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.49/0.603, allocations: 80.37 MB / 415.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.6033, allocations: 59.72 kB / 415.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02905/0.6323, allocations: 6.206 MB / 421.4 MB, free: 8.598 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.6324, allocations: 0 / 421.4 MB, free: 8.598 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.885e-05/0.6324, allocations: 4 kB / 421.4 MB, free: 8.594 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001045/0.6335, allocations: 0.5351 MB / 422 MB, free: 8.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.6335, allocations: 8.031 kB / 422 MB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.538e-05/0.6336, allocations: 58.41 kB / 422 MB, free: 7.973 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.179e-05/0.6338, allocations: 32.31 kB / 422.1 MB, free: 7.941 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008044/0.6346, allocations: 331.5 kB / 422.4 MB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.6346, allocations: 18.88 kB / 422.4 MB, free: 7.602 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.756e-05/0.6347, allocations: 22.81 kB / 422.4 MB, free: 7.586 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.636, allocations: 0.5532 MB / 423 MB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.636, allocations: 3.938 kB / 423 MB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.636, allocations: 11.75 kB / 423 MB, free: 7.109 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.6361, allocations: 8 kB / 423 MB, free: 7.102 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003423/0.6364, allocations: 111 kB / 423.1 MB, free: 7.023 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000904/0.6373, allocations: 0.5403 MB / 423.7 MB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009071/0.6383, allocations: 478.5 kB / 424.1 MB, free: 6.031 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004389/0.6387, allocations: 198 kB / 424.3 MB, free: 5.883 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008459/0.6396, allocations: 0.5926 MB / 424.9 MB, free: 5.164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.6396, allocations: 37.8 kB / 424.9 MB, free: 5.121 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 3.016e-06/0.6396, allocations: 4 kB / 424.9 MB, free: 5.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007797/0.6404, allocations: 288.5 kB / 425.2 MB, free: 4.895 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001723/0.6406, allocations: 180.1 kB / 425.4 MB, free: 4.691 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.6409, allocations: 198.5 kB / 425.6 MB, free: 4.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/0.641, allocations: 36.08 kB / 425.6 MB, free: 4.488 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.6411, allocations: 136.9 kB / 425.8 MB, free: 4.383 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.6411, allocations: 33.91 kB / 425.8 MB, free: 4.359 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/0.6412, allocations: 7.062 kB / 425.8 MB, free: 4.355 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.6413, allocations: 340.8 kB / 426.1 MB, free: 4.027 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.6415, allocations: 56.11 kB / 426.2 MB, free: 3.984 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.6419, allocations: 320.4 kB / 426.5 MB, free: 3.566 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.6422, allocations: 122.2 kB / 426.6 MB, free: 3.473 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.6422, allocations: 0 / 426.6 MB, free: 3.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007673/0.643, allocations: 347.7 kB / 427 MB, free: 3.176 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.643, allocations: 8 kB / 427 MB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.643, allocations: 11.98 kB / 427 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.514e-05/0.6431, allocations: 19.95 kB / 427 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.6436, allocations: 87.16 kB / 427.1 MB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-05/0.6436, allocations: 27.8 kB / 427.1 MB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.6439, allocations: 31.38 kB / 427.1 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.644, allocations: 27.12 kB / 427.2 MB, free: 2.977 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001655/0.6441, allocations: 156.1 kB / 427.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006697/0.6448, allocations: 261.3 kB / 427.6 MB, free: 2.629 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007047/0.6456, allocations: 282 kB / 427.9 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.6456, allocations: 4 kB / 427.9 MB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.6456, allocations: 7.953 kB / 427.9 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.6456, allocations: 7.984 kB / 427.9 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004785/0.6461, allocations: 298.4 kB / 428.2 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.6461, allocations: 0 / 428.2 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005788/0.6467, allocations: 91.62 kB / 428.3 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.6467, allocations: 0 / 428.3 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.6468, allocations: 7.125 kB / 428.3 MB, free: 2.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.6468, allocations: 4 kB / 428.3 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6468, allocations: 0 / 428.3 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007875/0.6476, allocations: 0.5051 MB / 428.8 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.6477, allocations: 119.7 kB / 428.9 MB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.884e-05/0.6478, allocations: 15.17 kB / 428.9 MB, free: 1.398 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.6482, allocations: 22.98 kB / 428.9 MB, free: 1.379 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.6482, allocations: 7.938 kB / 428.9 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/0.6483, allocations: 11.38 kB / 428.9 MB, free: 1.363 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002703/0.6485, allocations: 161.8 kB / 429.1 MB, free: 1.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6486, allocations: 0 / 429.1 MB, free: 1.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006583/0.6492, allocations: 57.94 kB / 429.2 MB, free: 1.188 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001675/0.6509, allocations: 1.407 MB / 430.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006302/0.6516, allocations: 229.9 kB / 430.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6516, allocations: 0 / 430.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.107e-05/0.6516, allocations: 15.25 kB / 430.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.6527, allocations: 235.2 kB / 431 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.6547, allocations: 472.9 kB / 431.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.6552, allocations: 0.7877 MB / 432.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.6554, allocations: 30.97 kB / 432.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.6555, allocations: 92.53 kB / 432.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6556, allocations: 4 kB / 432.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03425/0.6898, allocations: 5.921 MB / 438.3 MB, free: 8.336 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002922/0.6902, allocations: 170.2 kB / 438.5 MB, free: 8.109 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/3.177, allocations: 4 kB / 438.5 MB, free: 8.105 MB / 362.7 MB