Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.174/2.174, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.771e-05/3.788e-05, allocations: 4 kB / 284.4 MB, free: 8.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 50.37 MB / 334.8 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4386/0.5463, allocations: 80.44 MB / 415.2 MB, free: 13.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.5466, allocations: 66.39 kB / 415.3 MB, free: 13.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02922/0.5758, allocations: 6.208 MB / 421.5 MB, free: 8.098 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5759, allocations: 0 / 421.5 MB, free: 8.098 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.212e-05/0.5759, allocations: 4 kB / 421.5 MB, free: 8.094 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.001063/0.577, allocations: 0.5335 MB / 422 MB, free: 7.535 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.577, allocations: 8.031 kB / 422 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.394e-05/0.5771, allocations: 55.48 kB / 422.1 MB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.385e-05/0.5772, allocations: 32.31 kB / 422.1 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000821/0.5781, allocations: 332.6 kB / 422.4 MB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.5781, allocations: 19.31 kB / 422.4 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/0.5782, allocations: 22.88 kB / 422.5 MB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.5795, allocations: 0.5516 MB / 423 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.5795, allocations: 0 / 423 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.5795, allocations: 11.62 kB / 423 MB, free: 6.617 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.5796, allocations: 11.94 kB / 423 MB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.5799, allocations: 121.9 kB / 423.2 MB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009208/0.5808, allocations: 0.5313 MB / 423.7 MB, free: 5.996 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008838/0.5818, allocations: 478.5 kB / 424.2 MB, free: 5.535 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004309/0.5822, allocations: 201.1 kB / 424.4 MB, free: 5.383 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008352/0.5831, allocations: 0.5891 MB / 424.9 MB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.5831, allocations: 38.17 kB / 425 MB, free: 4.625 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 4.218e-06/0.5831, allocations: 0 / 425 MB, free: 4.625 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.0008189/0.584, allocations: 297.1 kB / 425.3 MB, free: 4.395 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.5841, allocations: 180.4 kB / 425.5 MB, free: 4.191 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.5845, allocations: 203.5 kB / 425.7 MB, free: 4.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.5845, allocations: 32.77 kB / 425.7 MB, free: 3.984 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.5846, allocations: 189.2 kB / 425.9 MB, free: 3.824 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/0.5847, allocations: 33.47 kB / 425.9 MB, free: 3.801 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/0.5847, allocations: 7.25 kB / 425.9 MB, free: 3.801 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5849, allocations: 326.8 kB / 426.2 MB, free: 3.477 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.585, allocations: 57.86 kB / 426.3 MB, free: 3.434 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.5854, allocations: 321.3 kB / 426.6 MB, free: 3.016 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.5857, allocations: 119.4 kB / 426.7 MB, free: 2.922 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.5857, allocations: 0 / 426.7 MB, free: 2.922 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007649/0.5865, allocations: 336.5 kB / 427 MB, free: 2.637 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.5865, allocations: 8 kB / 427.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.5866, allocations: 12 kB / 427.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.877e-05/0.5866, allocations: 15.95 kB / 427.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005091/0.5871, allocations: 94.72 kB / 427.2 MB, free: 2.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.912e-05/0.5872, allocations: 23.86 kB / 427.2 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.5875, allocations: 34.06 kB / 427.2 MB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.5876, allocations: 23.31 kB / 427.3 MB, free: 2.441 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.0002007/0.5878, allocations: 154.1 kB / 427.4 MB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006663/0.5885, allocations: 260 kB / 427.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006931/0.5892, allocations: 285 kB / 427.9 MB, free: 1.887 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.5892, allocations: 4 kB / 427.9 MB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.5892, allocations: 7.953 kB / 427.9 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.5892, allocations: 3.984 kB / 427.9 MB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004847/0.5897, allocations: 291.4 kB / 428.2 MB, free: 1.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/0.5898, allocations: 7.734 kB / 428.2 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005822/0.5904, allocations: 87.83 kB / 428.3 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.5904, allocations: 4 kB / 428.3 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.5904, allocations: 6.625 kB / 428.3 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/0.5904, allocations: 4 kB / 428.3 MB, free: 1.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.5904, allocations: 0 / 428.3 MB, free: 1.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008039/0.5913, allocations: 0.5077 MB / 428.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.5914, allocations: 115.6 kB / 429 MB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.295e-05/0.5915, allocations: 13.69 kB / 429 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.5918, allocations: 26.61 kB / 429 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.5919, allocations: 4 kB / 429 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/0.5919, allocations: 8 kB / 429 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002274/0.5922, allocations: 164.4 kB / 429.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5922, allocations: 0 / 429.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000709/0.5929, allocations: 57.61 kB / 429.2 MB, free: 0.6562 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.001679/0.5946, allocations: 1.409 MB / 430.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006534/0.5953, allocations: 236.7 kB / 430.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.5953, allocations: 0 / 430.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.632e-05/0.5954, allocations: 7.938 kB / 430.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.5965, allocations: 240.7 kB / 431.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.5987, allocations: 499.1 kB / 431.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.5991, allocations: 0.7907 MB / 432.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.5993, allocations: 95.47 kB / 432.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/0.5994, allocations: 0 / 432.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.466/3.065, allocations: 4.659 MB / 437.1 MB, free: 9.055 MB / 362.7 MB