Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_Step2b",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.285/2.285, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.583e-05/3.592e-05, allocations: 4 kB / 284.4 MB, free: 8.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 50.37 MB / 334.8 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4373/0.5464, allocations: 79.25 MB / 414 MB, free: 14.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.5467, allocations: 63.66 kB / 414.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02772/0.5745, allocations: 5.444 MB / 419.5 MB, free: 9.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5745, allocations: 0 / 419.5 MB, free: 9.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.5746, allocations: 4 kB / 419.5 MB, free: 9.961 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008335/0.5754, allocations: 421 kB / 419.9 MB, free: 9.512 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.5755, allocations: 8.031 kB / 419.9 MB, free: 9.504 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.488e-05/0.5756, allocations: 45.25 kB / 420 MB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.5756, allocations: 11.91 kB / 420 MB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.576, allocations: 210.2 kB / 420.2 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/0.576, allocations: 15.38 kB / 420.2 MB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.5761, allocations: 4 kB / 420.2 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000815/0.5769, allocations: 348.9 kB / 420.6 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.5769, allocations: 3.984 kB / 420.6 MB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.577, allocations: 0 / 420.6 MB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/0.577, allocations: 15.31 kB / 420.6 MB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.5773, allocations: 91.48 kB / 420.7 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.5778, allocations: 313 kB / 421 MB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.5783, allocations: 175.6 kB / 421.2 MB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.5785, allocations: 109.3 kB / 421.3 MB, free: 8.273 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.5786, allocations: 4 kB / 421.3 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.5786, allocations: 41.81 kB / 421.3 MB, free: 8.223 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 2.514e-06/0.5786, allocations: 0 / 421.3 MB, free: 8.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005346/0.5792, allocations: 167.7 kB / 421.5 MB, free: 8.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.987e-05/0.5793, allocations: 96.88 kB / 421.6 MB, free: 7.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.5794, allocations: 112.6 kB / 421.7 MB, free: 7.871 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.5795, allocations: 37.48 kB / 421.7 MB, free: 7.832 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.816e-05/0.5796, allocations: 158.8 kB / 421.9 MB, free: 7.676 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.5796, allocations: 19.84 kB / 421.9 MB, free: 7.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/0.5796, allocations: 3.938 kB / 421.9 MB, free: 7.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.5798, allocations: 326.5 kB / 422.2 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.655e-05/0.5799, allocations: 38.67 kB / 422.2 MB, free: 7.309 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.5801, allocations: 149.9 kB / 422.4 MB, free: 7.121 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.5803, allocations: 68.03 kB / 422.5 MB, free: 7.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5803, allocations: 0 / 422.5 MB, free: 7.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004316/0.5807, allocations: 189.4 kB / 422.6 MB, free: 6.906 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.5808, allocations: 10.81 kB / 422.7 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.5808, allocations: 4 kB / 422.7 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/0.5808, allocations: 8 kB / 422.7 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.5811, allocations: 39.92 kB / 422.7 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.5811, allocations: 7.938 kB / 422.7 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.5813, allocations: 16.22 kB / 422.7 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.5813, allocations: 19.94 kB / 422.7 MB, free: 6.812 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (FIR1.FIRbyCoefficients1.first,$CLKPRE.FIR1.FIRbyCoefficients1.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.00013/0.5815, allocations: 128.3 kB / 422.9 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003984/0.5819, allocations: 159.2 kB / 423 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.83e-05/0.5819, allocations: 22.11 kB / 423 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.14e-05/0.582, allocations: 7.812 kB / 423.1 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.582, allocations: 3.938 kB / 423.1 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.582, allocations: 0 / 423.1 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.5823, allocations: 208.6 kB / 423.3 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5823, allocations: 0 / 423.3 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.5826, allocations: 35.92 kB / 423.3 MB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.5826, allocations: 0 / 423.3 MB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.5826, allocations: 3.25 kB / 423.3 MB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.5826, allocations: 4 kB / 423.3 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5826, allocations: 0 / 423.3 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004922/0.5831, allocations: 291.7 kB / 423.6 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.711e-05/0.5832, allocations: 96.91 kB / 423.7 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.5833, allocations: 11.25 kB / 423.7 MB, free: 5.875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.5834, allocations: 11.3 kB / 423.7 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.5835, allocations: 4 kB / 423.7 MB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.5835, allocations: 4 kB / 423.7 MB, free: 5.859 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.773e-05/0.5836, allocations: 102 kB / 423.8 MB, free: 5.766 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5836, allocations: 0 / 423.8 MB, free: 5.766 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006144/0.5843, allocations: 66.56 kB / 423.9 MB, free: 5.707 MB / 346.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 (FIR1.FIRbyCoefficients1.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 1 * 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.001514/0.5858, allocations: 1.069 MB / 424.9 MB, free: 4.699 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003942/0.5862, allocations: 135.7 kB / 425.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5862, allocations: 0 / 425.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.17e-05/0.5863, allocations: 4 kB / 425.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/0.5869, allocations: 115.2 kB / 425.2 MB, free: 4.516 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.5883, allocations: 352.7 kB / 425.5 MB, free: 4.172 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.5887, allocations: 0.7354 MB / 426.3 MB, free: 3.414 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.294e-05/0.5888, allocations: 35.67 kB / 426.3 MB, free: 3.395 MB / 346.7 MB Notification: Performance of SimCode: time 3.286e-06/0.5889, allocations: 0 / 426.3 MB, free: 3.395 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.586/3.175, allocations: 2.844 MB / 429.2 MB, free: 0.5703 MB / 346.7 MB