Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestRealSampler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.279/2.279, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.442e-05/4.455e-05, allocations: 11.98 kB / 284.4 MB, free: 8.102 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1198, allocations: 50.36 MB / 334.8 MB, free: 5.645 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4642/0.5841, allocations: 78.72 MB / 413.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.5843, allocations: 65.91 kB / 413.6 MB, free: 15.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01414/0.5985, allocations: 3.135 MB / 416.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5985, allocations: 0 / 416.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.5986, allocations: 4 kB / 416.7 MB, free: 12.53 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.000655/0.5992, allocations: 421.6 kB / 417.1 MB, free: 12.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.5993, allocations: 12.03 kB / 417.1 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.774e-05/0.5994, allocations: 48.05 kB / 417.2 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.5994, allocations: 15.81 kB / 417.2 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.5998, allocations: 228.9 kB / 417.4 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.5998, allocations: 11.44 kB / 417.4 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.5999, allocations: 14.25 kB / 417.5 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007891/0.6007, allocations: 325.5 kB / 417.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.6007, allocations: 4 kB / 417.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.6007, allocations: 3.312 kB / 417.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.6008, allocations: 4 kB / 417.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000258/0.601, allocations: 84.7 kB / 417.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000874/0.6019, allocations: 471.5 kB / 418.3 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005658/0.6025, allocations: 219.7 kB / 418.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/0.6028, allocations: 114.8 kB / 418.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.6028, allocations: 4 kB / 418.7 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.6029, allocations: 50 kB / 418.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 2.795e-06/0.6029, allocations: 0 / 418.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005425/0.6034, allocations: 180.3 kB / 418.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.6036, allocations: 139.9 kB / 419 MB, free: 10.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.6038, allocations: 133.9 kB / 419.1 MB, free: 10.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.6038, allocations: 33.17 kB / 419.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.6039, allocations: 109.7 kB / 419.3 MB, free: 9.938 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.6039, allocations: 17.95 kB / 419.3 MB, free: 9.926 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.604, allocations: 0 / 419.3 MB, free: 9.926 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6041, allocations: 324.4 kB / 419.6 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.835e-05/0.6042, allocations: 37.11 kB / 419.7 MB, free: 9.578 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.6044, allocations: 133.1 kB / 419.8 MB, free: 9.406 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.6045, allocations: 62.02 kB / 419.8 MB, free: 9.355 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.6046, allocations: 0 / 419.8 MB, free: 9.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004033/0.605, allocations: 177.9 kB / 420 MB, free: 9.195 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.605, allocations: 10.5 kB / 420 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.605, allocations: 7.984 kB / 420 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/0.6051, allocations: 7.953 kB / 420 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.6053, allocations: 39.92 kB / 420.1 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.6054, allocations: 4 kB / 420.1 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.6056, allocations: 19.3 kB / 420.1 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.6056, allocations: 12 kB / 420.1 MB, free: 9.102 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.000138/0.6057, allocations: 126.8 kB / 420.2 MB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003762/0.6061, allocations: 159 kB / 420.4 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.836e-05/0.6062, allocations: 25.17 kB / 420.4 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.6062, allocations: 7.953 kB / 420.4 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.6062, allocations: 0 / 420.4 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.6063, allocations: 0 / 420.4 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003692/0.6066, allocations: 213.8 kB / 420.6 MB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.6067, allocations: 3.938 kB / 420.6 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.607, allocations: 42.95 kB / 420.7 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.607, allocations: 0 / 420.7 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.607, allocations: 7.984 kB / 420.7 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.607, allocations: 0 / 420.7 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.607, allocations: 7.891 kB / 420.7 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005043/0.6076, allocations: 405.5 kB / 421.1 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.6076, allocations: 92.92 kB / 421.2 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.6077, allocations: 0 / 421.2 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.6079, allocations: 15.8 kB / 421.2 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.608, allocations: 3.938 kB / 421.2 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.608, allocations: 8 kB / 421.2 MB, free: 7.996 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.6081, allocations: 119.1 kB / 421.3 MB, free: 7.891 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6081, allocations: 0 / 421.3 MB, free: 7.891 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004746/0.6086, allocations: 23.12 kB / 421.4 MB, free: 7.871 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.0009337/0.6096, allocations: 1.14 MB / 422.5 MB, free: 6.727 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003633/0.6099, allocations: 122 kB / 422.6 MB, free: 6.629 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.61, allocations: 0 / 422.6 MB, free: 6.629 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.86e-05/0.61, allocations: 11.81 kB / 422.6 MB, free: 6.621 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000605/0.6106, allocations: 107.6 kB / 422.7 MB, free: 6.539 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.6117, allocations: 320 kB / 423 MB, free: 6.219 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.6122, allocations: 0.7474 MB / 423.8 MB, free: 5.449 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.6123, allocations: 13.2 kB / 423.8 MB, free: 5.434 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.734e-05/0.6124, allocations: 42.3 kB / 423.8 MB, free: 5.414 MB / 346.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6124, allocations: 0 / 423.8 MB, free: 5.414 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.6359, allocations: 2.736 MB / 426.6 MB, free: 2.734 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002917/0.6363, allocations: 172.9 kB / 426.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/3.051, allocations: 4 kB / 426.8 MB, free: 2.5 MB / 346.7 MB